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

Red Hat Enterprise Linux ÏÂcvs·þÎñÆ÷µÄ°²×°ÓëÅäÖÃ

Red Hat Enterprise Linux ÏÂcvs·þÎñÆ÷µÄ°²×°ÓëÅäÖÃ



°²×°ÓëÅäÖÃ
Ê×ÏÈ°²×° cvs £¬Ò»°ã·þÎñÆ÷×Ô´øÁËcvs·þÎñ£¬°æ±¾ËæÒ⣬ûʲô²î±ð
[root@RHEL ~]#rpm –ivh cvs-1.11.22-5.el5.i386.rpm

È»ºó´´½¨Ò»¸öcvsÓû§×飬²¢´´½¨Ò»¸öcvsrootÓû§
[root@RHEL ~]#groupadd cvs
[root@RHEL ~]#useradd –g cvs cvsroot

ΪcvsrootÉèÖÃÃÜÂë
[root@RHEL ~]#passwd cvsroot

¸ü¸ÄcvsrootÖ÷Ŀ¼µÄÊôÐԺʹÓÊô¹Øϵ£¬ÒÔ±ãcvsÓû§×éÄÚ³ÉÔ±Äܹ»²é¿´²¢²Ù×÷¸ÃĿ¼ÏÂ
ÃæµÄÄÚÈÝ£º
[root@RHEL ~]# chown -R cvsroot.cvs /home/cvsroot
[root@RHEL ~]# chmod -R 775 /home/cvsroot/

½ÓÏÂÀ´¼ì²écvs·þÎñÊÇ·ñΪ×Ô¶¯¿ªÆô״̬
[root@RHEL ~]# cat /etc/services | grep cvspserver
cvspserver 2401/tcp # CVS client/server operations
cvspserver 2401/udp # CVS client/server operations

Èç¹ûÏÔʾÊÇÉÏÃæµÄÄÚÈÝ£¬ËµÃ÷·þÎñÒѾ­°üº¬cvs·þÎñ¡£
½ÓÏÂÀ´ÐÞ¸Äcvs·þÎñµÄÅäÖÃÎļþ
[root@RHEL ~]#vim /etc/xinetd.d/cvs

¼¸¸öÐèҪ˵Ã÷µÄµØ·½£º
1>°Ñdisable¸ÄΪno ,
2>server_argsÒ»ÏîÉ趨Ϊcvs·þÎñµÄÖ÷Ŀ¼£»
3>bind ºóÃæµÄÊÇcvs·þÎñ°ó¶¨µÄipµØÖ·¡£
ʾÀýÈçÏ£º
service cvspserver
{
disable = no
port = 2401
socket_type = stream
protocol = tcp
wait = no
user = root
passenv = PATH
server = /usr/bin/cvs
env = HOME=/var/cvs
server_args = -f --allow-root=/home/cvsroot/ pserver
bind = 192.168.18.3
}

ÐÞ¸ÄÍê³Éºó£¬±£´æÍ˳ö²¢ÖØÆô·þÎñ
[root@RHEL ~]#/etc/init.d/xinetd restart


½ÓÏÂÀ´Çл»µ½cvsrootÓû§Ï½øÐвÙ×÷
[root@RHEL ~]#su cvsroot

×¢²áCVSROOT»·¾³±äÁ¿£¬È»ºó³õʼ»¯cvs·þÎñ
[cvsroot@RHEL ~]$export CVSROOT=/home/cvsroot/
[cvsroot@RHEL ~]$cvs init

Õâʱºò»áÔÚÖ÷Ŀ¼ÏÂÉú³ÉCVSROOTÎļþ¼Ð£¬ÀïÃæ´æ·ÅµÄÊÇÅäÖÃÎļþ¡£ÎªÁ˱£Ö¤ÏµÍ³°²È«£¬×îºÃ½ûֹϵͳÓû§µÇ¼¡£ÐÞ¸ÄconfigÎļþ£º
[cvsroot@RHEL ~]$ vim /home/cvsroot/CVSROOT/config

°ÑÀïÃæµÄ¡°SystemAuth=yes¡±µÄ×¢ÊÍÈ¥µô£¬È»ºó¸ÄΪ¡°SystemAuth=no¡±
Óû§´´½¨Óë±à¼­
½ÓÏÂÀ´´´½¨Ê¹ÓÃcvs·þÎñµÄÓû§¡£Ê×ÏÈÒÔrootÉí·Ý´´½¨Ò»¸öcvspubÓû§£¬×÷Ϊcvs·þÎñÓÃ


Ïà¹ØÎĵµ£º

UNIX/linuxϵͳÏÂFTP×Ô¶¯ÉÏ´«Îļþ½Å±¾

·½·¨Ò»£º Expect ʵÏÖ½»»¥
UNIX ´°¿ÚÖÐ ÊäÈëÒÔÏÂÃüÁ
expect ftplinux.txt 10.0.15.22 ftplinux.txt
ftplinux.txt ÖÐÄÚÈÝÈçÏ£º
--¿ªÊ¼-----
spawn ftp [lindex $argv 0]
expect "Name(*):"
send "ftp\r"
expect "Password:*"
send "hell05a\r"
expect "ftp> ......

linuxÏ´´½¨oracleÓû§±í¿Õ¼ä

 ¾ÍÊÇÔÚÒÑÓеÄÊý¾Ý¿âʵÀýÉÏ´´½¨Ò»¸öеÄÕʺţ¬·ÃÎÊһЩеıí
 ²Ù×÷²½ÖèÈçÏ£º
 1¡¢µÇ¼linux£¬ÒÔoracleÓû§µÇ¼£¨Èç¹ûÊÇrootÓû§µÇ¼µÄ£¬µÇ¼ºóÓà su - oracleÃüÁîÇл»³ÉoracleÓû§£©
 2¡¢ÒÔsysdba·½Ê½À´´ò¿ªsqlplus£¬ÃüÁîÈçÏ£º sqlplus "/as sysdba"
 3¡¢²é¿´ÎÒÃdz£¹æ½«Óû§±í¿Õ¼ä·ÅÖÃλÖà ......

LinuxÖеÄÄÚ´æ·ÖÅäºÍÊÍ·ÅÖ®free_bootmem()º¯Êý·ÖÎö

  free_bootmem()Õâ¸öº¯ÊýÊÇϵͳÆô¶¯³õÆÚÄÚ´æÊͷŵĺËÐĺ¯Êý£¬ÎÒÃÇÀ´¿´¿´ËüµÄ´úÂë¡£
  void __init free_bootmem (unsigned long addr, unsigned long size)//addrÊÇÒªÊͷŵÄÎïÀíÆðʼµØÖ·£¬sizeÊÇÒªÊÍ·Å¿Õ¼äµÄ´óС¡£
 {
    free_bootmem_core(NODE_DATA(0)->bdata, addr, size);//Ö±½ ......

linux³£ÓÃÃüÁî

shellÓï·¨£¨ÎåÏ
1.ÃüÁî¸ñʽ
2.ͨÅä·û
3.Öض¨Ïò
4.¹ÜµÀ
5.shellÖеÄÒýÓÃ
6.×Ô¶¯²¹ÆëÃüÁîÐÐ
ϵͳ¹ÜÀíά»¤
ls
pwd
cd
date
passwd
su
clear
man
who
w
uname
uptime
last
dmesg
free
ps
top
Îļþ¹ÜÀí±à¼­
mkdir
more
cat
diff
grep
rm
touch
ln
file
cp
find
split
mv
ѹËõ½âѹ
zi ......

linuxµÄѧϰ¹æ»®

   °´ÒÔϲ½ÖèÀ´,ÏÈдÕâô¶àÀ´ÌáÐÑÏÂ×Ô¼º:
       1.ÊìϤlinuxµÄ»ù±¾»·¾³,ÊìϤlinuxµÄ»ù±¾ÃüÁî.
       2.ÊìϤlinuxµÄ½»²æ±àÒë»·¾³µÄµÄÅäÖÃ.
       3.¸´Ï°»ù±¾µÄCÓïÑÔ֪ʶ.
     &nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ