位置: 编程技术 - 正文
推荐整理分享Solaris 10.0 cvs的安装方法,希望有所帮助,仅作参考,欢迎阅读内容。
文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!
先下载安装cvs,baidu一下Solaris cvs。然后:#vi /etc/servicescvspserver /tcp #cvs server tcp port# # #vi /etc/inetd.confcvspserver stream tcp nowait root /usr/local/cvs/bin/cvs cvs --allow-root=/export/home/cvs pserver# inetconv -i /etc/inetd.confinetconv: 通知: /1 的服务清单已生成为 /var/svc/manifest/network/rpc/_1-rpc_ticotsord.xml,跳过inetconv: 通知: cvspserver 的服务清单已生成为 /var/svc/manifest/network/cvspserver-tcp.xml,跳过# ls -la /var/svc/manifest/network/cvspserver-tcp.xml -rw-r--r-- 1 root root 6月 9日 : /var/svc/manifest/network/cvspserver-tcp.xml# rm /var/svc/manifest/network/cvspserver-tcp.xml # ls -la /var/svc/manifest/network/cvspserver-tcp.xml /var/svc/manifest/network/cvspserver-tcp.xml: 无此文件或目录# inetconv -i /etc/inetd.confinetconv: 通知: /1 的服务清单已生成为 /var/svc/manifest/network/rpc/_1-rpc_ticotsord.xml,跳过cvspserver -> /var/svc/manifest/network/cvspserver-tcp.xml正在导入 cvspserver-tcp.xml...完成# ls -la /var/svc/manifest/network/cvspserver-tcp.xml -rw-r--r-- 1 root root 6月 9日 : /var/svc/manifest/network/cvspserver-tcp.xml# svcs restart svc:/network/inetd:defaultsvcs: 模式 'restart' 与所有实例都不匹配STATE STIME FMRIonline 6月_ svc:/network/inetd:default# cd /var/svc# lslog manifest profile# cd manifest/# lsapplication device milestone network platform site system# cd network/# lsapocd.xml http-apache2.xml nfs ssh.xmlcde-spc.xml inetd-upgrade.xml nis sslchargen.xml inetd.xml ntp.xml stdiscover.xmlcomsat.xml ipfilter.xml pfil.xml stlisten.xmlcvspserver-tcp.xml ipmievd.xml rarp.xml swat.xmldaytime.xml iscsi_initiator.xml rexec.xml talk.xmldhcp-server.xml ldap routing telnet.xmldiscard.xml login.xml rpc time.xmldns network-initial.xml samba.xml tname.xmlecho.xml network-loopback.xml security uucp.xmlfinger.xml network-physical.xml shell.xml winbind.xmlforwarding.xml network-routing-setup.xml slp.xml wins.xmlftp.xml network-service.xml smtp-sendmail.xml# vi /var/svc/profile/inetd_services.xml<?xml version='1.0'?><!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'><!-- Copyright Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. ident "@(#)inetd_upgrade.xml 1.1 // SMI" Service profile to enable inetd services following upgrade. No services are listed because the inetd-upgrade service takes care of any required enables on upgrade. NOTE: Service profiles delivered by this package are not editable, and their contents will be overwritten by package or patch operations, including operating system upgrade. Make customizations in a distinct file.--><service_bundle type='profile' name='default'></service_bundle><service name='network/cvspserver-tcp' version='1' type='service'> <instance name='default' enabled='true'/></service># ls -la /export/home/cvs总数 drwxrwxr-x 2 cvsadmin cvsadmin 6月 7日 : .drwxr-xr-x 6 root root 6月 7日 : ..-rw------- 1 cvsadmin cvsadmin 6月 7日 : .bash_history-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : .profile-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : local.cshrc-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : local.login-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : local.profile# # # # svccfg import /var/svc/manifest/network/cvspserver-tcp.xml# svccfg disable svc:/network/cvspserver/tcp:defaultsvccfg: 未知命令 "disable"。# svccfg enable svc:/network/cvspserver/tcp:default svccfg: 未知命令 "enable"。# svcadm enable svc:/network/cvspserver/tcp:default # # # netstat -an | grep cvx# netstat -an | grep cvs# # # # inetadm | grep cvsenabled online svc:/network/cvspserver/tcp:default# # # telnet localhost Trying .0.0.1...Connected to localhost.Escape character is '^]'.eh;cvs [pserver aborted]: bad auth protocol start: eh;Connection to localhost closed by foreign host.# # su - cvsadminSun Microsystems Inc. SunOS 5. Generic January -bash-3.$ -bash-3.$ cvs inin-bash: cvs: command not found-bash-3.$ cvs init-bash: cvs: command not found-bash-3.$ cd /usr/local/cvs/bin/-bash-3.$ lscvs cvsbug rcs2log-bash-3.$ ./cvs initcvs init: No CVSROOT specified! Please use the `-d' optioncvs [init aborted]: or set the CVSROOT environment variable.-bash-3.$ ./cvs Usage: cvs [cvs-options] command [command-options-and-arguments] where cvs-options are -q, -n, etc. (specify --help-options for a list of options) where command is add, admin, etc. (specify --help-commands for a list of commands or --help-synonyms for a list of command synonyms) where command-options-and-arguments depend on the specific command (specify -H followed by a command name for command-specific help) Specify --help to receive this messageThe Concurrent Versions System (CVS) is a tool for version control.For CVS updates and additional information, see the CVS home page at or the CVSNT home page at ./cvs -d /export/home/cvs init-bash-3.$ ls /export/home/cvs/CVSROOT local.cshrc local.login local.profile-bash-3.$ ls /export/home/cvs/CVSROOT/Emptydir config loginfo notify,v posttag preproxy,v val-tagscheckoutlist config,v loginfo,v postadmin posttag,v rcsinfo verifymsgcheckoutlist,v cvswrappers modules postadmin,v postwatch rcsinfo,v verifymsg,vcommitinfo cvswrappers,v modules,v postproxy postwatch,v taginfocommitinfo,v history notify postproxy,v preproxy taginfo,v-bash-3.$ ./cvs -d :pserver:cvsadmin@localhost:/export/home/cvs/CVSROOT/ loginLogging in to :pserver:cvsadmin@localhost:/export/home/cvs/CVSROOTCVS password: cvs [login aborted]: unrecognized auth response from localhost: cvs [pserver aborted]: /export/home/cvs/CVSROOT: no such repository-bash-3.$ ./cvs -d :pserver:cvsadmin@localhost:/export/home/cvs/CVSROOT/ loginLogging in to :pserver:cvsadmin@localhost:/export/home/cvs/CVSROOTCVS password: cvs [login aborted]: unrecognized auth response from localhost: cvs [pserver aborted]: /export/home/cvs/CVSROOT: no such repository-bash-3.$ exitlogout# # # # # passwd cvsadmin新口令: 请重新输入新口令: passwd:cvsadmin 的口令已成功更改# su - cvsadminSun Microsystems Inc. SunOS 5. Generic January -bash-3.$ ./cvs -d :pserver:cvsadmin@localhost:/export/home/cvs/CVSROOT/ login-bash: ./cvs: 无此文件或目录-bash-3.$ cd /usr/local/cvs/bin/-bash-3.$ lscvs cvsbug rcs2log-bash-3.$ ./cvs -d :pserver:cvsadmin@localhost:/export/home/cvs/CVSROOT/ loginLogging in to :pserver:cvsadmin@localhost:/export/home/cvs/CVSROOTCVS password: cvs [login aborted]: unrecognized auth response from localhost: cvs [pserver aborted]: /export/home/cvs/CVSROOT: no such repository-bash-3.$ clear-bash-3.$ more /var/svc/profile/inetd_services.xml<?xml version='1.0'?><!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'><!-- Copyright Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. ident "@(#)inetd_upgrade.xml 1.1 // SMI" Service profile to enable inetd services following upgrade. No services are listed because the inetd-upgrade service takes care of any required enables on upgrade. NOTE: Service profiles delivered by this package are not editable, and their contents will be overwritten by package or patch operations, including operating system upgrade. Make customizations in a distinct file.--><service_bundle type='profile' name='default'></service_bundle><service name='network/cvspserver-tcp' version='1' type='service'> <instance name='default' enabled='true'/></service>-bash-3.$ ./cvsUsage: cvs [cvs-options] command [command-options-and-arguments] where cvs-options are -q, -n, etc. (specify --help-options for a list of options) where command is add, admin, etc. (specify --help-commands for a list of commands or --help-synonyms for a list of command synonyms) where command-options-and-arguments depend on the specific command (specify -H followed by a command name for command-specific help) Specify --help to receive this messageThe Concurrent Versions System (CVS) is a tool for version control.For CVS updates and additional information, see the CVS home page at or the CVSNT home page at -bash-3.$ -bash-3.$ -bash-3.$ exitlogout# pwd/var/svc/manifest/network# more /etc/shadowroot:Onl9TThtB/duY:::::::daemon:NP:::::::bin:NP:::::::sys:NP:::::::adm:NP:::::::lp:NP:::::::uucp:NP:::::::nuucp:NP:::::::smmsp:NP:::::::listen:*LK*:::::::gdm:*LK*:::::::webservd:*LK*:::::::postgres:NP:::::::svctag:*LK*:::::::nobody:*LK*:::::::noaccess:*LK*:::::::nobody4:*LK*:::::::mysql:*LK*:::::::cvsadmin:O0QcwHtwGHAO2:::::::# echo "cvsadmin:O0QcwHtwGHAO2" > /export/home/cvs/CVSROOT/passwd# cvs -d :pserver:cvsadmin@localhost:/export/home/cvs loginbash: cvs: command not found# cd /usr/local/cvs/bin/# cvs -d :pserver:cvsadmin@localhost:/export/home/cvs loginbash: cvs: command not found# ./cvs -d :pserver:cvsadmin@localhost:/export/home/cvs loginLogging in to :pserver:cvsadmin@localhost:/export/home/cvsCVS password: cvs login: warning: failed to open /export/home/guo/.cvspass for reading: No such file or directory# exitexit# exit$ exitLast login: Mon Jun 9 :: from ..1.Sun Microsystems Inc. SunOS 5. Generic January -bash-3.$ su root口令: # bash# cd /usr/local/cvs/bin# lscvs cvsbug rcs2log# ./cvs -d :pserver:cvsadmin@localhost:/export/home/cvs loginLogging in to :pserver:cvsadmin@localhost:/export/home/cvsCVS password: cvs login: warning: failed to open /export/home/cvs/.cvspass for reading: No such file or directory# ./cvs -d :pserver:cvsadmin@localhost:/export/home/cvs/CVSROOT loginLogging in to :pserver:cvsadmin@localhost:/export/home/cvs/CVSROOTCVS password: cvs [login aborted]: unrecognized auth response from localhost: cvs [pserver aborted]: /export/home/cvs/CVSROOT: no such repository# exitexit# exit-bash-3.$ -bash-3.$ -bash-3.$ lsCVSROOT local.cshrc local.login local.profile-bash-3.$ pwd/export/home/cvs-bash-3.$ ls -la总数 drwxrwxr-x 3 cvsadmin cvsadmin 6月 9日 : .drwxr-xr-x 6 root root 6月 7日 : ..-rw------- 1 cvsadmin cvsadmin 6月 9日 : .bash_history-rw------- 1 root root 6月 9日 : .cvspass-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : .profiledrwxrwxr-x 3 cvsadmin cvsadmin 6月 9日 : CVSROOT-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : local.cshrc-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : local.login-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : local.profile-bash-3.$ cd CVSROOT/-bash-3.$ ls -la总数 drwxrwxr-x 3 cvsadmin cvsadmin 6月 9日 : .-rw-rw-r-- 1 cvsadmin cvsadmin 6月 9日 : .#checkoutlist-rw-rw-r-- 1 cvsadmin cvsadmin 6月 9日 : .#commitinfo-rw-rw-r-- 1 cvsadmin cvsadmin 6月 9日 : .#config-rw-rw-r-- 1 cvsadmin cvsadmin 6月 9日 : .#cvswrappers-rw-rw-r-- 1 cvsadmin cvsadmin 6月 9日 : .#loginfo-rw-rw-r-- 1 cvsadmin cvsadmin 6月 9日 : .#modules-rw-rw-r-- 1 cvsadmin cvsadmin 6月 9日 : .#notify-rw-rw-r-- 1 cvsadmin cvsadmin 6月 9日 : .#postadmin-rw-rw-r-- 1 cvsadmin cvsadmin 6月 9日 : .#postproxy-rw-rw-r-- 1 cvsadmin cvsadmin 6月 9日 : .#posttag-rw-rw-r-- 1 cvsadmin cvsadmin 6月 9日 : .#postwatch-rw-rw-r-- 1 cvsadmin cvsadmin 6月 9日 : .#preproxy-rw-rw-r-- 1 cvsadmin cvsadmin 6月 9日 : .#rcsinfo-rw-rw-r-- 1 cvsadmin cvsadmin 6月 9日 : .#taginfo-rw-rw-r-- 1 cvsadmin cvsadmin 6月 9日 : .#verifymsgdrwxrwxr-x 3 cvsadmin cvsadmin 6月 9日 : ..drwxrwxr-x 2 cvsadmin cvsadmin 6月 9日 : Emptydir-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : checkoutlist-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : checkoutlist,v-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : commitinfo-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : commitinfo,v-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : config-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : config,v-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : cvswrappers-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : cvswrappers,v-rw-rw-rw- 1 cvsadmin cvsadmin 0 6月 9日 : history-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : loginfo-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : loginfo,v-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : modules-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : modules,v-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : notify-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : notify,v-rw-r--r-- 1 root root 6月 9日 : passwd-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : postadmin-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : postadmin,v-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : postproxy-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : postproxy,v-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : posttag-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : posttag,v-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : postwatch-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : postwatch,v-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : preproxy-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : preproxy,v-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : rcsinfo-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : rcsinfo,v-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : taginfo-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : taginfo,v-rw-rw-rw- 1 cvsadmin cvsadmin 0 6月 9日 : val-tags-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : verifymsg-r--r--r-- 1 cvsadmin cvsadmin 6月 9日 : verifymsg,v-bash-3.$ pwd/export/home/cvs/CVSROOT-bash-3.$ cd ..-bash-3.$ lsCVSROOT local.cshrc local.login local.profile-bash-3.$ mkdir project-bash-3.$ lsCVSROOT local.cshrc local.login local.profile project-bash-3.$ ls -la总数 drwxrwxr-x 4 cvsadmin cvsadmin 6月 9日 : .drwxr-xr-x 6 root root 6月 7日 : ..-rw------- 1 cvsadmin cvsadmin 6月 9日 : .bash_history-rw------- 1 root root 6月 9日 : .cvspass-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : .profiledrwxrwxr-x 3 cvsadmin cvsadmin 6月 9日 : CVSROOT-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : local.cshrc-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : local.login-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : local.profiledrwxr-xr-x 2 cvsadmin cvsadmin 6月 9日 : project-bash-3.$ /usr/local/cvs/bin/cvs -d/usr/local/cvs/bin/cvs: option requires an argument -- dUsage: cvs [cvs-options] command [command-options-and-arguments] where cvs-options are -q, -n, etc. (specify --help-options for a list of options) where command is add, admin, etc. (specify --help-commands for a list of commands or --help-synonyms for a list of command synonyms) where command-options-and-arguments depend on the specific command (specify -H followed by a command name for command-specific help) Specify --help to receive this messageThe Concurrent Versions System (CVS) is a tool for version control.For CVS updates and additional information, see the CVS home page at or the CVSNT home page at /usr/local/cvs/bin/cvs -d /export/home/cvs/ import -m "log msg" project www.guoyiyang.com startcvs [import aborted]: tag `www.guoyiyang.com' must not contain the characters `$,.:;@'-bash-3.$ /usr/local/cvs/bin/cvs -d /export/home/cvs/ import -m "log msg" project test startcvs [import aborted]: attempt to import the repository-bash-3.$ /usr/local/cvs/bin/cvs -d :pserver:cvsadmin@localhost:/export/home/cvs loginLogging in to :pserver:cvsadmin@localhost:/export/home/cvsCVS password: cvs login: warning: failed to open /export/home/cvs/.cvspass for reading: Permission deniedcvs [login aborted]: could not open /export/home/cvs/.cvspass for writing: Permission denied-bash-3.$ pwd/export/home/cvs-bash-3.$ ls -la总数 drwxrwxr-x 4 cvsadmin cvsadmin 6月 9日 : .drwxr-xr-x 6 root root 6月 7日 : ..-rw------- 1 cvsadmin cvsadmin 6月 9日 : .bash_history-rw------- 1 root root 6月 9日 : .cvspass-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : .profiledrwxrwxr-x 3 cvsadmin cvsadmin 6月 9日 : CVSROOT-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : local.cshrc-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : local.login-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : local.profiledrwxr-xr-x 2 cvsadmin cvsadmin 6月 9日 : project-bash-3.$ chgrp cvsadmin .cvspasschgrp: .cvspass: 不是所有者-bash-3.$ su root口令: # pwpw: 没找到# pwd/export/home/cvs# bash# lsCVSROOT local.cshrc local.login local.profile project# ls -la总数 drwxrwxr-x 4 cvsadmin cvsadmin 6月 9日 : .drwxr-xr-x 6 root root 6月 7日 : ..-rw------- 1 cvsadmin cvsadmin 6月 9日 : .bash_history-rw------- 1 root root 6月 9日 : .cvspass-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : .profiledrwxrwxr-x 3 cvsadmin cvsadmin 6月 9日 : CVSROOT-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : local.cshrc-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : local.login-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : local.profiledrwxr-xr-x 2 cvsadmin cvsadmin 6月 9日 : project# chgrp cvsadmin .cvspass # chown cvsadmin .cvspass # ls -la总数 drwxrwxr-x 4 cvsadmin cvsadmin 6月 9日 : .drwxr-xr-x 6 root root 6月 7日 : ..-rw------- 1 cvsadmin cvsadmin 6月 9日 : .bash_history-rw------- 1 cvsadmin cvsadmin 6月 9日 : .cvspass-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : .profiledrwxrwxr-x 3 cvsadmin cvsadmin 6月 9日 : CVSROOT-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : local.cshrc-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : local.login-rw-r--r-- 1 cvsadmin cvsadmin 6月 7日 : local.profiledrwxr-xr-x 2 cvsadmin cvsadmin 6月 9日 : project# exitexit# exit-bash-3.$ -bash-3.$ -bash-3.$ -bash-3.$ /usr/local/cvs/bin/cvs -d :pserver:cvsadmin@localhost:/export/home/cvs loginLogging in to :pserver:cvsadmin@localhost:/export/home/cvsCVS password: -bash-3.$
Solaris 下安装CVS Sever
Solaris Openssh安装和配置 SSH(SecureShell)最初由芬兰的一家公司开发,但由于受版权和加密算法的限制,很多人转而使用免费的替代软件OpenSSH。SSH是由客户端和服务端的软件组
solaris 下安装java+tomcat 1.Java安装:把安装文件j2re-1_4_2_-solaris-i.sh上传到目录/export/home下面。以下内容基于Solaris实现,如在Solaris8上安装,需提前安装8_Recommended.zipSolaris
修改solaris的默认语言 安装solaris时用了中文版,用ssh连接中文会出现乱码情况,所以修改solaris默认语言为英文模式#chmodu+w/etc/default/init#vi/etc/default/init$catinit##Copyright,-
友情链接: 武汉网站建设