Ô¶³ÌÁ¬½ÓLinux £¨UbuntuÅäÖÃSSH·þÎñ£© ¶Ë¿Ú22
°²×°OpenSSH
UbuntuȱʡûÓа²×°SSH Server£¬Ê¹ÓÃÒÔÏÂÃüÁî°²×°£º
sudo apt-get install openssh-server openssh-client
²»¹ýUbuntuȱʡÒѾ°²×°ÁËssh client¡£
ÅäÖÃÍê³ÉºóÖØÆð£º
sudo /etc/init.d/ssh restart
windows ¿Í»§¶ËÓÃputtyÁ¬½ÓÃüÁîshellģʽ
Ïà¹ØÎĵµ£º
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
¸ù¾Ý¹úÍâýÌ屨µÀ£¬½üÈÕ£¬³¯ÏÊ£¨
North
Korea
£©ÍƳöÒ»¿î×ÔÖ÷Æ·ÅÆ
Linux
·¢Ðа棬´Ë¾ÙÓкÎÒâÒ壿
£¨±±£©³¯ÏÊÊÇÒ»¸öºÜÌØ±ðµÄ¹ú¶È£¬¹ú ......
LinuxÅäÖÃjava¿ª·¢Æ½Ì¨
Ò»¡¢°²×°jdk
1.ÏÂÔØ°²×°jdk
£¨1£©¡¢Ê×ÏÈ£¬ÔÚhttp://java.sun.com
ÕÒµ½ÒªÏÂÔØµÄjdk£¬ÏÂÔØ×Ô¼ºÐèÒªµÄjdk°æ±¾¡£ÎÒÕâÀïʹÓõÄÊÇjdk6£¬µÃµ½µÄÊÇÒ»¸öÃûΪjdk-6u6-linux-i586-rpm.binµÄÎļþ¡£´ËÎļþµ±Ç°Îª²»¿ÉÔËÐеÄshell script¡£
£¨2£©¡¢¸ü¸ÄȨÏÞ£¬ÌáÈ¡jdk°²×°Îļþ£º
´ò¿ªÖÕ¶ËÔËÐ ......
ÔÎĵØÖ·
À¶É«±íʾĿ¼£»
ÂÌÉ«±íʾ¿ÉÖ´ÐÐÎļþ£»
ºìÉ«±íʾѹËõÎļþ£»
dzÀ¶É«±íʾÁ´½ÓÎļþ£»
»ÒÉ«±íʾÆäËüÎļþ£»
ºìÉ«ÉÁ˸±íʾÁ´½ÓµÄÎļþÓÐÎÊÌâÁË£»
»ÆÉ«ÊÇÉ豸Îļþ£¬°üÀ¨block, char, fifo¡£
ÓÃdircolors
-p¿´µ½È±Ê¡µÄÑÕÉ«ÉèÖ㬰üÀ¨¸÷ÖÖÑÕÉ«ºÍ“´ÖÌ唣¬Ï»®Ïߣ¬ÉÁ˸µÈ¶¨Òå¡£ ......
´ÅÅÌÓëĿ¼µÄÈÝÁ¿
ÔÚÎÄ×Ö½Ó¿Úµ×ϲ鿴ĿǰµÄ´ÅÅÌ×î´óÈÝÐíÈÝÁ¿¡¢ÒѾʹÓõôµÄÈÝÁ¿¡¢ ĿǰËùÔÚĿ¼µÄÒÑʹ
ÓÃÈÝÁ¿
Ö¸Áî df [-ahikHTm] [Ŀ¼»òÎļþÃû]
-a £ºÁгöËùÓеÄÎļþϵͳ£¬°üÀ¨ÏµÍ³ÌØÓÐµÄ /proc µÈÎļþϵͳ£»
-k £ºÒÔ KBytes µÄÈÝÁ¿ÏÔʾ¸÷Îļþϵͳ£»
-m £ºÒÔ MBytes µÄÈÝÁ¿ÏÔʾ¸÷Îļþϵͳ£»
......
ps -ef|grep tomcat ²é¿´ÕýÔÚÆô¶¯µÄÏß³Ì
cd .. ÍË»ØÉÏÒ»¼«
ls Áгöµ±Ç°Ä¿Â¼µÄÎļþ
kill -9 [Ï̺߳Å] ¹Ø±ÕÏß³Ì
su - root µÇ½Õ˺Å
ÔĶÁ(0)| ÆÀÂÛ(14)| ·ÖÏí(0) ½ÏÐÂһƪ:ת£º´øËÑË÷·ÖÒ³µÄgird ½Ï¾Éһƪ:·è×Ó ÆÀÂÛ| ÔÞ
ÖÜ˧ 2010-01-26 18:23
su - root µÇ½Õ˺Å
ÖÜ˧ 2010-01-26 19:53
......