Linuxѧϰ±Ê¼Ç
Ô¶³ÌµÇÈ룺ssh che@192.168.1.111
1.Ìí¼ÓÓû§£ºuseradd cheyanbing
2.ÐÞ¸ÄÃÜÂ룺passwd cheyanbing
3.mkdir /cd /cd .. /cd -/
4.»Øµ½Óû§Ö÷Ŀ¼£ºcd / cd ~
5.cd /home/he
6.mkdir -p www/pro
Ô¶³Ì¿½±´
scp che@192.168.1.111:/home/che/test
che@192.168.1.133:/home/che/
½«testÎļþ¿¼µ½/home/che/ÏÂ
ȨÏÞ
r¶Á 4
wд 2
xÖ´ÐÐ(¼´¿ÉÒÔ´ò¿ª) 1
£Ã»È¨ÏÞ(Ö»ÄÜ¿´)
£»òd£üÓµÓÐÕß(ȨÏÞ)£üͬ×é(ȨÏÞ)£üÆäËû(ȨÏÞ)
chmod rwxr-xw-x test.txt
chmod o+r test.txt
chmod u+w test.txt
chmod g+r test.txt
chmod 755 test.txt
chmod -R 755 test //½«testĿ¼ÏÂËùÓÐÎļþȨÏÞ¸ÄΪ755
chown steven:steven test.txt //¸Ä±äÓµÓÐÕߺÍ×é
chgrp //µ¥´¿¸Ä×é
Îļþ²Ù×÷
¸´ÖÆÎļþ cp
cp t1 t2
cp t1 fv/
cp -R fv1 fv2
¼ôÌùÎļþ
mv t1 t2 //Ï൱ÓÚ¸ÄÃû
mv t1 fv/
mv fv1 fv2/
ɾ³ýÎļþ
rm t1
rm -r fv
rm -rf fv1
´´½¨Îļþ
touch t1
vi t1
ftpÃüÁî
ftp ipµØÖ·
lftp ipµØÖ· (ÓÃÀ´ÄäÃûµÇ¼)
½âѹËõ
³£¼ûµÄÓÐgzip(.tar.gz)/bzip(.tar.bz2)
a.ÓÃgzip¸ñʽѹËõ tar cvzf [ѹËõºóÎļþÃû] £Û±»Ñ¹ËõµÄÎļþÁбí£Ý
b.ÓÃgzipºÏÊʽâѹËõ tar xvzf [ѹËõµÄÎļþÃû]
c.ÓÃbzip¸ñʽѹËõ tar cvjf [ѹËõºóÎļþÃû] £Û±»Ñ¹ËõµÄÎļþÁбí£Ý
d.ÓÃbzipºÏÊʽâѹËõ tar xvjf [ѹËõµÄÎļþÃû]
1.Èí¼þ°²×°·½·¨(Ò»°ãÕë¶Ôredhat ºÍcentos)
1.1»ùÓÚrpmµÄÈí¼þ°²×°·½·¨(redhat package manager)
Ö»ÄÜrootÓû§°²×°
rpm -ivh
gftp-2.0.18.3.2.2.i386.rpm //°²×°
rpm -qa
//²éѯ°²×°ËùÓÐrpmÈí¼þ°ü
rpm -qa | grep gftp
//Ó¦ÓùܵÀ²éÕÒº¬ÓÐgftpµÄ×Ö·û´®,µÃµ½µÄ¾ÍÊÇrpmÈí¼þµÄÈí¼þÃû
rpm -e
gftp-2.0.18-3.2.2//жÔØÈí¼þ°ü£¨gftp-2.0.18-3.2.2 ´ú±íÈí¼þÃû£©
1.2»ùÓÚÔ´ÂëµÄ°²×°·½·¨
ÏȽâѹѹËõ°ü
1.configure
./configure
--enable-gui
--prefix=/opt/mplay1.0(configureÒ»¶¨ÊÇ¿ÉÖ´ÐÐÎļþ,ºóÃæÊÇ°²×°Â·¾¶£¬¿ÉÓÃls -l²é¿´)
ÖÐ;¿ÉÄÜÐèÒª°²×°ºÜ¶àÆäËûµÄ°²×°°ü
2.make
3.make install
1.3ÂÌÉ«Èí¼þ
.binÊÇ¿ÉÖ´ÐÐÎļþ£¬µ«ÓÐʱûÓÐxȨÏÞ£
Ïà¹ØÎĵµ£º
Èí¼þ°²×°ÃüÁî
1. tar
tar ÃüÁîµÄ»ù±¾Ó÷¨Îª£º
tar [Ñ¡Ïî] ÎļþÃû
³£ÓõÄÑ¡Ïî°üÀ¨
-c ´´½¨Ò»¸öеĵµ°¸Îļþ
-t ²é¿´µµ°¸ÎļþµÄÄÚÈÝ
-x ·Ö½âµµ°¸ÎļþµÄÄÚÈÝ
-f Ö¸¶¨µµ°¸ÎļþµÄÃû³Æ
-v ÏÔʾ¹ý³ÌÐÅÏ¢
-z ²ÉÓÃѹËõ·½Ê½
¾ÙÀý
1 tar -czf oracle.tar.gz /u01/app/oracle /etc/oratab /home/oracl ......
Èç½ñ£¬ÖÐСѧÀïÃ漸ºõÈ«ÊÇXPѧÉú£¬±Ä±ÄÌøÌø£¬Linux£¨¼·£©½øѧУ¼¸ºõÎÞÃÅ¡£ÄÇô£¬ÎÒÃǸÃÔõô°ìÄØ£¿ÄÜ·ñ²»ÆƶøÁ¢£¿
×òÌìÉÏÎ磬ÎÒÈ¥±±¾©ÊÐÓйز¿ÃżûһλÀÏÅóÓÑ£¬Ïë̸̸Õâ¸öÎÊÌâ¡£µ±Ç°£¬ÔÚÎÒ¹úÖÐСѧ£¬Linux²»Èë½Ìѧ´ó¸Ù£¬µ«ÊÇ£¬×÷Ϊ¿ÎÍâ»î¶¯ÄÚÈÝ»¹ÊÇ¿ÉÒԵġ£Linux½ ......
×òÌìÔÚ±àдһ¸ö³ÌÐòµÄʱºò·¢ÏÖÐèÒªÁ´½ÓµÄ¾²Ì¬¿â¶¼È·¶¨´æÔÚ£¬Ö¸¶¨µÄ·¾¶Ò²Ã»ÓÐÎÊÌ⣬µ«ÊDZàÒë×ÜÊdzöÏÖÁ´½ÓÎÊÌ⣬ÕÒ²»µ½ÊµÏÖ£¬²Å·¢ÏÖÔÀ´Èç¹ûͬʱÁ´½Ó¶à¸ö¾²Ì¬¿â£¬²¢ÇÒÈç¹ûÕâЩ¾²Ì¬¿âÖ®¼ä´æÔÚÏ໥ÒÀÀµ¹ØϵµÄ»°£¬ÐèÒª°´Ò»¶¨µÄ˳Ðò½øÐÐÁ´½Ó£¬ÀýÈ磺Èç¹ûlibb.aÒÀÀµliba.a£¬ÄÇô±àÒë²ÎÊýÓ¦¸Ãд³ÉÕâÑù£º -lb -la ......
Ç°ÑÔ£ºÎÒ¾õµÃÎÒµÄÎÄÕÂÏà¶ÔÀ´Ëµ¶¼ÊDZȽÏdzÏԵġ£Ò»Ð©³õѧÕß¿ÉÒÔ¿´¿´£¬¶ÔÓÚ¸ßÊÖÀ´Ëµ£¬Èç¹ûÄãÃDz»ÁßØÄʱ¼äµÄ»°£¬Ï£ÍûÒ²ÄÜ°ïÎÒ¿´¿´£¬Ö¸µãÒ»ÏÂÆäÖеĴíÎó¡£ÕâÒ²ÊÇÎÒµ½ÕâÀïÀ´ºÍ´ó¼Ò½»Á÷µÄÄ¿µÄ¡£
ÔĶÁLinuxÄÚºËÆô¶¯´úÂëµÄÖ±½Ó¶¯Á¦ÊÇÎÒÏë±àдRTL8019ASµÄÍø¿¨Çý¶¯³ÌÐò£¨2.4.18ÄÚºËÖ»Ö§³ÖÁËCS8900A£©¡£¼ÈȻҪдÇý¶¯£¬ÎÒ¾ÍÏëÖªµÀËüÊÇÔ ......