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

UBUNTUÒ»¾ä»°¼¼ÇÉ LinuxÈëÃÅ£¨¸øÐÂÊÖ£©

²é¿´Èí¼þxxx°²×°ÄÚÈÝ
dpkg -L xxx
 
 
²éÕÒÈí¼þ
apt-cache search ÕýÔò±í´ïʽ
 
 
²éÕÒÎļþÊôÓÚÄĸö°ü
dpkg -S filename           apt-file search filename
 
 
²éѯÈí¼þxxxÒÀÀµÄÄЩ°ü
apt-cache depends xxx
 
²éѯÈí¼þxxx±»ÄÄЩ°üÒÀÀµ
apt-cache rdepends xxx
 
 
Ôö¼ÓÒ»¸ö¹âÅÌÔ´
sudo apt-cdrom add
 
ϵͳÉý¼¶
sudo apt-get update       sudo apt-get upgrade       sudo apt-get dist-upgrade
 
 
--------------------------------------------------------------------------------
±àÒëʱȱÉÙhÎļþµÄ×Ô¶¯´¦Àí
sudo auto-apt run ./configure
 
 
²é¿´°²×°Èí¼þʱÏÂÔØ°üµÄÁÙʱ´æ·ÅĿ¼
ls /var/cache/apt/archives
 
±¸·Ýµ±Ç°ÏµÍ³°²×°µÄËùÓаüµÄÁбí
dpkg --get-selections | grep -v  deinstall > ~/somefile
 
´ÓÉÏÃ汸·ÝµÄ°²×°°üµÄÁбíÎļþ»Ö¸´ËùÓаü
dpkg --set-selections < ~/somefilesudo dselect
ÇåÀí¾É°æ±¾µÄÈí¼þ»º´æ
sudo apt-get autoclean
 
ÇåÀíËùÓÐÈí¼þ»º´æ
sudo apt-get clean
ɾ³ýϵͳ²»ÔÙʹÓõĹÂÁ¢Èí¼þ
sudo apt-get autoremove
----------------------------------------------------------------------
²é¿´ÄÚºË
uname -a
 
²é¿´ubuntu°æ±¾
cat /etc/issue
 
²é¿´Äں˼ÓÔصÄÄ£¿é
lsmod
 
²é¿´PCIÉ豸
lspci
 
²é¿´Íø¿¨×´Ì¬
sudo ethtool eth0
 
²é¿´USB É豸
lausb
 
²é¿´cpuÐÅÏ¢
vat /proc/cpuinfo
 
²é¿´µ±Ç°Ó²¼þÐÅÏ¢
Lshw
 
--------------------------------------------------------------------------------
 
²é¿´Ó²Å̵ķÖÇø
sudo fdisk -l
 
²é¿´IDEÓ²ÅÌÐÅÏ¢
sudo hdparm -i /dev/hda
 
²é¿´sataÓ²ÅÌÐÅÏ¢
sudo hdparm -I /dev/sda
»ò sudo apt-get install blktool        sudo blktool dev/sda id
 
²é¿´Ó²ÅÌʤÓÚ¿Õ¼ä
df -hdf -H
 
²é¿´Ä¿Â¼Õ¼Óÿռä
du -hs  Ŀ¼Ãû
 
UÅÌÎÞ·¨Ð¶ÔØ
syncfuser -km /media/usbdisk
 
²é¿´µ±Ç°ÄÚ´æʹÓÃÇé¿ö
free -l
 
----


Ïà¹ØÎĵµ£º

LinuxϵͳԭÀí֪ʶ ½ø³ÌÇл»µÄ¸ÅÄî½éÉÜ

Ò»¡¢tast_struct½á¹¹
ËüÊÇÒ»¸öÊý¾Ý½á¹¹£¬¿ÉÒÔ˵£¬Ëü´ú±íÁËÒ»¸ö½ø³Ì¡£ËüÓкܶà×ֶΣ¬´óÌåÓÐһϼ¸ÖÖ£º
±êʶºÅ£º½ø³Ì±êʶ¡¢Óû§±êʶ¡¢×é±êʶ¡£
״̬£º LinuxµÄ½ø³ÌµÄËÄÖÖ»ù±¾×´Ì¬
µ÷¶ÈÐÅÏ¢£ºÓÅÏȼ¶¡¢Ê±¼äƬµÈ
½ø³ÌÁ´ÐÅÏ¢£º¸¸½ø³Ì¡¢×Ó½ø³ÌµÄÖ¸Õë
ÎļþÐÅÏ¢£º´ò¿ªÎļþ¡¢ÐéÄâÎļþϵͳ
ÉÏÏÂÎÄÐÅÏ¢£º½ø³ÌµÄÔËÐл·¾³ ......

linux Æô¶¯ sendmail ºÍ sm client ÂýµÄ½â¾ö°ì·¨

תÔØ×Ô£ºhttp://howieshen.blogbus.com/logs/33958295.html
Æô¶¯·þÎñÆ÷ʱ·¢ÏÖÍ£ÔÚ starting sendmail ºÍ starting
sm-client£¬µÈÁ˺þòſÉÒÔ½øÈ¥£¬¿ªÊ¼ÒÔΪÊÇÖ÷»úÉèÖõÄÎÊÌ⣬²é¿´ÁËһϷ¢ÏÖÎÒÉèÖôíÎó
·þÎñÆ÷£º
/etc/hosts:
192.168.1.119     server
192.168.1.123     ......

linuxϵÄyumÃüÁîÏê½â

yumÊǸÉʲôµÄ(תÔØ http://www.soft6.com/tech/16/166057.html)
¡¡¡¡Ê¹ÓÃredhat£¬fedoraµÄlinuxer¿Ï¶¨¶¼ÎªrpmÖøÃûµÄdependency
hell¶øÍ·ÌÛ(ÕâÒ²ÊÇËùÓлùÓÚrpm·¢Ðа涼ÓеÄÎÊÌâ)¡£foo is needed by bar£¬bar is needed by
foo¡£Òª×°Ð¶¸öÈí¼þ£¬»¹µÃÐÁÐÁ¿à¿àµØÊáÀíÇå³þËùÓÐÒÀÀµÐÔÎÊÌ⣬rpmµÄ¼¸¸öËÑË÷Õ¾µã³ÉÁËʱ³£¹â¹ËµÄ³¡Ë ......

Linuxϵͳ·þÎñÆ÷°²×°ºóµÄ°²È«ÅäÖ÷½·¨


°²×°Íê³ÉÒÔºó£¬Ó¦¸ÃÂíÉϲÉÈ¡ÄÄЩ´ëÊ©À´ÔöÇ¿·þÎñÆ÷µÄ°²È«ÐÔ¡£¶ÔÓÚÆäËûµÄLinux·¢²¼»òÕß°æ±¾£¬ÕâЩ·½·¨Ò²ÊÇÊÊÓõġ£
Ò»¡¢¹Ø±Õ²»±ØÒªµÄ·þÎñ
LinuxµÄ·þÎñ·ÖΪÁ½ÖÖ£¬Ò»ÖÖÊÇÓÉinetd³¬¼¶·þÎñÆ÷À´Æô¶¯µÄ£¬Èç:ftp¡¢telnetµÈ£»¶ÔÓÚÕâЩ·þÎñÀ´Ëµ£¬ÏµÍ³²¢²»×ÜÊÇÔËÐÐtelnetd¡¢ ftpdµÈ·þÎñ½ø³Ì£¬¶øÊÇÓÉinetd½ø³Ì¼àÌýÕâЩ·þÎñµÄ·þÎñ¶Ë¿Ú ......

linuxϵͳ½Å±¾µÄ³£¼ûÆô¶¯Ë³Ðò(FW)


ÓÉÓÚÏà¹Ø±äÁ¿¶¨Ò岻ͬ,
ËùÒÔÒÔÏÂÆô¶¯Ë³Ðò½ö¹©²Î¿¼
ÔÚRedhat
Redflag centos fc linuxϵͳÀïÃæ½Å±¾µÄÆô¶¯
ÏȺó£º
µÚÒ»²½£ºÍ¨¹ý/boot/vm½øÐÐ
Æô¶¯ vmlinuz
µÚ¶þ²½£ºinit /etc/inittab
µÚÈý²½£ºÆô¶¯ÏàÓ¦µÄ½Å±¾£¬²¢ÇÒ´ò¿ªÖÕ¶Ë
rc.sysinit
rc.d(Àï
ÃæµÄ½Å±¾£©
rc.local
µÚËIJ½£ºÆô¶¯loginµÇ¼½çÃæ login
µÚÎå² ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ