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
Ïà¹ØÎĵµ£º
ÀýÒ»£º·¢ËÍ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 ......
1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......
¡¡¡¡×òÌìÒѾ½«Ubuntu 9.10µÄ°²×°¹ý³ÌдÁËÒ»±é£¬µ±È»½ö½ö×°ºÃϵͳ»¹ÊÇʲô¶¼×ö²»ÁË¡£½ñÌìÖ÷ÒªÍƼöÏÂÎÒÕâЩÌìÓõÄÈí¼þºÍдһЩ¼òµ¥µÄ½Å±¾Ê¹ÏµÍ³¸üÒ×ÓÚʹÓá£
¡¡¡¡UbuntuÊÇÒ»¸öºÜÒÀÀµÍøÂçµÄLinux·¢Ðа汾£¬°²×°Îļþ½ö½ö700M£¬³ýÁË»ù±¾µÄϵͳÐèÒªµÄ²¿·Ö¼¸ºõ¶¼ÐèҪͨ¹ýÍøÂç½øÐиüС£Ê×ÏÈÎÒÃÇÐèÒªÅäÖà UbuntuµÄÈí¼þÔ´£¬Ä¬È쵀 ......