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

Linux¿ªÆôSSH

#pacman -S openssh #°²×°openssh
°²×°Íê³ÉºóÔÚ/etc/rc.confµÄ×îµ×²¿DAEMONSºóÌí¼ÓsshdÈÃϵͳÆô¶¯Ê±×Ô¶¯Æô¶¯openssh
DAEMONS=(syslog-ng network netfs crond sshd)
Ò²¿ÉÊÖ¶¯Æô¶¯openssl,Ö´ÐÐ
#/etc/inin.d/sshd start
ĬÈÏÇé¿öÏÂÆäËüµçÄÔÊDz»ÄÜͨ¹ýsshÀ´·ÃÎÊarchlinuxµÄ,ÐèÒªÐÞ¸ÄÁ½¸öÎļþÀ´ÊµÏÖ:
/etc/hosts.deny   #ĬÈϾܾøËùÓÐÁ¬½Ó
/etc/hosts.allow #ĬÈÏûÓÐÈκÎÔÊÐíÁ¬½Ó,ÐèÒªÊÖ¶¯Ìí¼Ó,Àý:
#vi /etc/hosts.allow
sshd:192.168.1.100:ALLOW #ÔÊÐí192.168.1.100µÄµçÄÔʹÓÃsshÀ´·ÃÎÊÕą̂µçÄÔ.
×îºóÖØÆôopenssh
#/etc/inin.d/sshd restart
×îºóopensshĬÈÏÒ²ÊDz»ÔÊÐírootÕÊ»§Ö±½ÓµÇ¼µÄ,ÐèÒªÐÞ¸Ä/etc/ssh/sshd_configÎļþ
½«PermitRootLogin yesÇ°µÄ#ºÅÈ¥µô¾Í¿ÉÒÔÁË. //Õâ¸ö»¹Ã»ÊµÏÖ¹ý¡£


Ïà¹ØÎĵµ£º

[ת]Àí½âLinuxµÄÐÔÄÜ

ÏîÄ¿Öг£Óöµ½ÐèÒª¶ÔÄ¿Ç°ÔËÐеÄϵͳ½øÐÐЧÂÊ·ÖÎö£¬»òÅöµ½¿Í»§×ÉѯÈçºÎÓÅ»¯ÏµÍ³µÄЧÂÊÎÊÌâ¡£¸ü¶àµÄÇé¿öÊÇ£¬ÔÚϵͳ³öÏÖÎÊÌâµÄʱºò£¬ÐèÒª·ÖÎöÔ­Òò£¬¶¨Î»ÏµÍ³¹ÊÕÏ»òÆ¿¾±£¬µ±È»£¬×îºÃÊÇ¿ÉÒÔÒ»²¢½â¾ö¹ÊÕÏ¡£µ«Êµ¼ÊÉÏ£¬²Ù×÷ϵͳÓÅ»¯ÊÇÒ»¸ö·Ç³£¸´ÔÓµÄÎÊÌ⣬¿öÇÒlinuxÓÐ×Ô¼ºÒ»Ì×ÓбðÓÚÆäËû²Ù×÷ϵͳ¹ÜÀíµÄ»úÖÆ£¬ÓÉ´Ë»áÒýÆðºÜ¶à²»±ØÒªµÄÎ ......

linuxѧϰ±Ê¼ÇÖ®£¨ÈëÃÅlinuxÎļþϵͳ£©

bin£º¸ÃĿ¼´æ·Å×î³£ÓõĻù±¾ÃüÁ±ÈÈ翽±´ÃüÁîcp¡¢±à¼­ÃüÁîvi¡¢É¾³ýÃüÁîrmµÈ¡£
boot:¸ÃĿ¼°üº¬ÁËϵͳÆô¶¯ÐèÒªµÄÅäÖÃÎļþ¡¢Äںˣ¨vmliuxz£©ºÍϵͳ¾µÏñ(initrd….img)µÈ¡£
dev£º¸ÃĿ¼Ï´æ·ÅµÄÊÇLinuxÖÐʹÓûòδʹÓõÄÍⲿÉ豸Îļþ£¨fd´ú±íÈíÅÌ£¬hd´ú±íÓ²Å̵ȣ©£¬Ê¹ÓÃÕâЩÉ豸Îļþ¿ÉÒÔÓòÙ×÷ÎļþµÄ·½Ê½²Ù×÷É豸¡£ ......

linuxÏÂÃæ ´ÅÅ̹ÜÀí ѧϰÐĵÃ

´ÅÅÌÓëĿ¼µÄÈÝÁ¿
ÔÚÎÄ×Ö½Ó¿Úµ×ϲ鿴ĿǰµÄ´ÅÅÌ×î´óÈÝÐíÈÝÁ¿¡¢ÒѾ­Ê¹ÓõôµÄÈÝÁ¿¡¢ Ä¿Ç°ËùÔÚĿ¼µÄÒÑʹ
ÓÃÈÝÁ¿
Ö¸Áî df [-ahikHTm] [Ŀ¼»òÎļþÃû]
-a  £ºÁгöËùÓеÄÎļþϵͳ£¬°üÀ¨ÏµÍ³ÌØÓÐµÄ /proc µÈÎļþϵͳ£»
-k  £ºÒÔ KBytes µÄÈÝÁ¿ÏÔʾ¸÷Îļþϵͳ£»
-m  £ºÒÔ MBytes µÄÈÝÁ¿ÏÔʾ¸÷Îļþϵͳ£» ......

linuxÏÂapache+php°²×°³£¼ûÎÊÌâ

1¡¢Apache
¡¡¡¡ÔÚÈçÏÂÒ³ÃæÏÂÔØapacheµÄfor Linux µÄÔ´Âë°ü
¡¡¡¡http://www.apache.org/dist/httpd/;
¡¡¡¡´æÖÁ/home/xxĿ¼£¬xxÊÇ×Ô½¨Îļþ¼Ð£¬ÎÒ½¨ÁËÒ»¸öwjµÄÎļþ¼Ð¡£
¡¡¡¡ÃüÁîÁÐ±í£º
¡¡¡¡
cd /home/wj
¡¡¡¡tar -zxvf httpd-2.0.54.tar.gz
¡¡¡¡mv httpd-2.0.54 apache
¡¡¡¡cd apache
¡¡¡¡./configure --prefix=/u ......

linux×÷Òµ¹ÜÀí£¨ctrl+z,fg,jobs,killµÈ£©

×÷Òµ¹ÜÀí
1.½«“µ±Ç°”×÷Òµ·Åµ½ºǫ́“ÔÝÍ£”£ºctrl+z
2.¹Û²ìµ±Ç°ºǫ́×÷ҵ״̬£ºjobs
²ÎÊý£º
-l ³ýÁËÁгö×÷ÒµºÅÖ®ÍâͬʱÁгöPID  
-r£ºÁгö½öÔÚºǫ́ÔËÐУ¨run£©µÄ×÷Òµ
-s£º½öÁгöÔÝÍ£µÄ×÷Òµ
3.½«ºǫ́×÷ÒµÄõ½Ç°Ì¨´¦Àí£ºfg
fg %jobnumber (%¿ÉÓпÉÎÞ)
4.ÈÃ×÷ÒµÔÚºǫ́ÔËÐУºbg
ctrl ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ