先下載安裝cvs,baidu一下Solaris 10 cvs。
然後:
#vi /etc/services
cvspserver 2401/tcp #cvs server tcp port
#
#
#vi /etc/inetd.conf
cvspserver stream tcp nowait root /usr/local/cvs/bin/cvs cvs --allow-root=/export/home/cvs pserver
# inetconv -i /etc/inetd.conf
inetconv: 通知: 100235/1 的服務清單已生成為 /var/svc/manifest/network/rpc/100235_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 2408 6月 9日 11:04 /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.conf
inetconv: 通知: 100235/1 的服務清單已生成為 /var/svc/manifest/network/rpc/100235_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 2351 6月 9日 11:30 /var/svc/manifest/network/cvspserver-tcp.xml
# svcs restart svc:/network/inetd:default
svcs: 模式 'restart' 與所有實例都不匹配
STATE STIME FMRI
online 6月_07 svc:/network/inetd:default
# cd /var/svc
# ls
log manifest profile
# cd manifest/
# ls
application device milestone network platform site system
# cd network/
# ls
apocd.xml http-apache2.xml nfs ssh.xml
cde-spc.xml inetd-upgrade.xml nis ssl
chargen.xml inetd.xml ntp.xml stdiscover.xml
comsat.xml ipfilter.xml pfil.xml stlisten.xml
cvspserver-tcp.xml ipmievd.xml rarp.xml swat.xml
daytime.xml iscsi_initiator.xml rexec.xml talk.xml
dhcp-server.xml ldap routing telnet.xml
discard.xml login.xml rpc time.xml
dns network-initial.xml samba.xml tname.xml
echo.xml network-loopback.xml security uucp.xml
finger.xml network-physical.xml shell.xml winbind.xml
forwarding.xml network-routing-setup.xml slp.xml wins.xml
ftp.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 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
ident "@(#)inetd_upgrade.xml 1.1 04/12/06 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&