Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxÏÂʹÓÃcvs

 
Ò»¡¢CVS·þÎñÆ÷µÄ°²×°
Ê×ÏÈÈ·ÈÏϵͳÖÐÊÇ·ñ°²×°CVS·þÎñ£º

     [root@localhost /]# rpm -qa|grep cvs
       cvs-1.11.17-7.RHEL4

Èç¹ûÃüÁîÊä³öÀàËÆÓÚÉÏÃæµÄÊä³öÔò˵Ã÷ϵͳÒѾ­°²×°ÓÐcvs£¬·ñÔò¾ÍÐèÒª´Ó°²×°¹âÅÌÖа²×°cvsµÄrpm°ü£¬»òÕßµ½
http://www.cvshome.org
ÏÂÔØ¡£
1¡¢½¨Á¢ CVSROOT
Ŀ¼£¬ÒòΪÕâÀïÉæ¼°µ½Óû§¶ÔCVSROOTÀïµÄÎļþ¶ÁдµÄȨÏÞÎÊÌ⣬ËùÒԱȽϼòµ¥µÄ·½·¨Êǽ¨Á¢Ò»¸ö×飬ȻºóÔÙ½¨Á¢Ò»¸öÊôÓÚ¸Ã×éµÄÕÊ»§£¬¶øÇÒÒÔºóÓжÁдȨÏÞµÄÓû§¶¼ÒªÊôÓÚ¸Ã×é¡£¼ÙÉèÎÒÃǽ¨Ò»¸ö×é½Ðcvs£¬Óû§ÃûÊÇcvsroot¡£½¨×éºÍÓû§µÄÃüÁîÈçÏÂ
#groupadd cvs
#useradd -g cvs -G cvs -d /home/cvsroot cvsroot
Éú³ÉµÄÓû§ËÞÖ÷Ŀ¼ÔÚ/home/cvsroot£¨¸ù¾Ý×Ô¼ºµÄϵͳµ÷Õû£©
2¡¢½¨Á¢CVS²Ö¿â£¬ÓÃcvsroot Óû§µÇ½£¬ÓÃÏÂÃæÃüÁ
$cvs -d /home/cvsroot init

3¡¢ÈÔÈ»ÊÇ cvsroot Óû§£¬ÐÞ¸Ä /home/cvsroot £¨CVSROOT£©µÄȨÏÞ£¬¸³Óëͬ×éÈËÓжÁдµÄȨÏÞ£º¡¡
$chmod 775 -R /home/cvsroot

4¡¢ÓÃrootµÇ¼£¬¼ÓÈëcvs·þÎñ

vi /etc/services
cvspserver 2401/tcp #pserver cvs service
cvspserver 2401/udp #pserver cvs service

´ó¶àÊýlinuxȱʡ¾ÍÓÐcvs·þÎñ£¬ËùÒÔ²»ÓüÓ

ÔÚxinetd.dĿ¼ÏÂÌí¼ÓÐèÒªÆô¶¯µÄ·þÎñ:

cd /etc/xinetd.d
vi cvspserver

service cvspserver
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root    

server = /usr/bin/cvs
server_args = -f --allow-root=/home/cvsroot pserver
log_on_failure += USERID
}

ÖØÐÂÆô¶¯inetd»òÕßxinetd:
/etc/rc.d/init.d/xinetd restart

Ò»°ãÕâÑù¾ÍOKÁË

¶þ¡¢¹ÜÀíCVS·þÎñÆ÷

·þÎñÆ÷OKÁË£¬ÏÖÔÚ¹ØÐĵľÍÊÇÈçºÎ¹ÜÀí·þÎñÆ÷

ÔÚ/home/cvsroot/CVSROOTĿ¼Ï»áÓÐÈý¸öÅäÖÃÎļþ:passwd,readers, writers,¿ÉÒÔͨ¹ýÕâÈý¸öÎļþÀ´ÅäÖÃCVS·þÎñÆ÷(×¢:ÕâÈý¸öÎļþÔÚȱʡ°²×°µÄʱºò¿ÉÄܲ»´æÔÚ,ÐèÒªÊÖ¶¯´´½¨)

passwd£ºcvs Óû§µÄÓû§ÁбíÎļþ£¬ËüµÄ¸ñʽÊÇ£º
{cvs Óû§Ãû}:[¼ÓÃܵĿÚÁî]:[µÈЧϵͳÓû§Ãû]
ÀýÈç: betty:fjkalfjieinfn/:cvsroot (ÆäÖÐÃÜÂëÊǼÓÃܺóµÄÃÜÎÄ)

readers£ºÓÐ cvs ¶ÁȨÏÞµÄÓû§ÁбíÎļþ¡£ÊÇÒ»¸öһάÁÐ±í¡£ÔÚÕâ¸öÎļþÖеÄÓû§¶Ô cvsÖ»ÓжÁȨÏÞ¡£
writers£ºÓÐ cvs дȨÏÞµÄÓû§µÄÁбíÎļþ¡£ºÍ reader


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

[תÌû]LinuxÇý¶¯¿ª·¢Ñ§Ï°µÄһЩ±ØÒª²½Öè

 1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......

[LinuxѧϰÈÕ¼Ç]UbuntuÍƼöÈí¼þÒÔ¼°¼òµ¥½Å±¾±àд

¡¡¡¡×òÌìÒѾ­½«Ubuntu 9.10µÄ°²×°¹ý³ÌдÁËÒ»±é£¬µ±È»½ö½ö×°ºÃϵͳ»¹ÊÇʲô¶¼×ö²»ÁË¡£½ñÌìÖ÷ÒªÍƼöÏÂÎÒÕâЩÌìÓõÄÈí¼þºÍдһЩ¼òµ¥µÄ½Å±¾Ê¹ÏµÍ³¸üÒ×ÓÚʹÓá£
¡¡¡¡UbuntuÊÇÒ»¸öºÜÒÀÀµÍøÂçµÄLinux·¢Ðа汾£¬°²×°Îļþ½ö½ö700M£¬³ýÁË»ù±¾µÄϵͳÐèÒªµÄ²¿·Ö¼¸ºõ¶¼ÐèҪͨ¹ýÍøÂç½øÐиüС£Ê×ÏÈÎÒÃÇÐèÒªÅäÖà UbuntuµÄÈí¼þÔ´£¬Ä¬È쵀 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ