ÐÞ¸ÄLinuxĬÈÏÆô¶¯¼¶±ð»òģʽ
ÔÚLinuxÖÐÓÐ7ÖÖÆô¶¯¼¶±ð£¬Ä¬ÈÏÊÇX-Window£¬ÏñÊÇWindowsµÄ´°¿Úģʽ£¬¶øLinuxµÄ²Ù×÷ºÍÅäÖÃÒ»°ãÎÒÃǶ¼²ÉÓÃÊäÈëÃüÁîµÄ·½Ê½À´Íê³É£¬ÏñDOS²Ù×÷ϵͳһÑù£¬ÈçºÎÈÃLinuxÒ»Æô¶¯¾Í½øÈëÕâÖÖģʽÄØ£¿
ÒÔ¹ÜÀíÔ±Éí·Ý½øÈëLinux£¬ÐÞ¸ÄÎļþ£º/etc/inittabÎļþ
ÕÒµ½¡°id:5:initdefault:¡±£¬ÆäÖеÄ5¾ÍÊÇX-Window£¬ÎªÄ¬ÈÏÔËÐ춱ð£¬Ò»°ãÎÒÃÇ°Ñ5¸ÄΪ3¼´¿É¡£
Ò»¹²ÓÐ7ÖÖÆô¶¯¼¶±ð£¬·Ö±ðΪ£º # 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this) ¸÷¸öÔËÐ춵ÄÏêϸ½âÊÍ£º
0 Ϊͣ»ú£¬»úÆ÷¹Ø±Õ¡£
1 Ϊµ¥Óû§Ä£Ê½£¬¾ÍÏñWin9xϵݲȫģʽÀàËÆ¡£
2 Ϊ¶àÓû§Ä£Ê½£¬µ«ÊÇûÓÐNFSÖ§³Ö¡£
3 ΪÍêÕûµÄ¶àÓû§Ä£Ê½£¬ÊDZê×¼µÄÔËÐм¶¡£
4 Ò»°ã²»Óã¬ÔÚһЩÌØÊâÇé¿öÏ¿ÉÒÔÓÃËüÀ´×öһЩÊÂÇé¡£ÀýÈçÔڱʼDZ¾µçÄԵĵç³ØÓþ¡Ê±£¬¿ÉÒÔÇл»µ½Õâ¸öģʽÀ´×öһЩÉèÖá£
5 ¾ÍÊÇX11£¬½øµ½X WindowϵͳÁË¡£
6 ΪÖØÆô£¬ÔËÐÐinit 6»úÆ÷¾Í»áÖØÆô¡£ 0ºÍ6Ò»°ã²»Óã»
ÔËÐÐstartx¿ÉÆô¶¯µ½¼¶±ð5¡£
Ïà¹ØÎĵµ£º
/bin ´æ·Å×î³£ÓõÄÃüÁî,ËùÓÐÓû§¶¼ÓÐÖ´ÐÐȨÏÞ
/boot ϵͳÒýµ¼Ä¿ ......
1. tr ÃüÁîµÄ¹¦ÄÜ
trÃüÃûÊǼò»¯Á˵ÄsedÃüÁî¡£ÆäÖ÷ÒªµÄ¹¦ÄÜ°üÀ¨£º
a. ÓÃÒ»¸ö×Ö·ûÀ´Ìæ»»ÁíÍâÒ»¸ö×Ö·û¡£
b. ɾ³ý×Ö·û´®ÖеÄÖ¸¶¨×Ó´®¡£
c. ºÏ²¢×Ö·û´®ÖÐÖظ´´®¡£
2. ³£¼ûµÄÃüÁî¸ñʽ£º
tr -c -d -s ["string1_to_translate_from"] ["string2_to_translate_to"] < input-file
-c ÓÃ×Ö·û´®1ÖÐ×Ö·û¼¯µÄ²¹¼¯Ìæ»»´Ë×Ö·û¼¯£¬ ......
Linux
ÄÚ´æ¹ÜÀí
ÕªÒª
£º±¾ÕÂÊ×ÏÈÒÔÓ¦ÓóÌÐò¿ª·¢ÕߵĽǶÈÉóÊÓ
Linux
µÄ½ø³ÌÄÚ´æ¹ÜÀí£¬ÔÚ´Ë»ù´¡ÉÏÖð²½ÉîÈëµ½ÄÚºËÖÐÌÖÂÛϵͳÎïÀíÄÚ´æ¹ÜÀíºÍÄÚºËÄÚ´æµÄʹÓ÷½·¨¡£Á¦Çó´ÓÍâµ½ÄÚ¡¢Ë®µ½Çþ³ÉµØÒýµ¼ÍøÓÑ·ÖÎö
Linux
µÄÄÚ´æ¹ÜÀíÓëʹÓá£ÔÚ±¾ÕÂ×îºó£¬ÎÒÃǸø³öÒ»¸öÄÚ´æÓ³ÉäµÄʵÀý£¬°ïÖúÍøÓÑÃÇÀí½â
ÄÚºËÄÚ´æ¹ÜÀíÓëÓû§ÄÚ´æ¹ÜÀíÖ ......
1.ÏÂÔØapacheÔ´Âë°ü,½øÈëÒ³Ãæhttp://httpd.apache.org/download.cgi,ÏÂÀ´ºó·ÅÈë/usr/local/srcĿ¼ÖÐ
2.½âѹ:
cd /usr/local/src
tar --zxvf httpd-2.2.15.tar.gz
3.cd httpd-2.2.15
./configure --prefix=/usr/local/src/apache2 \
--enable-so \
--enable-rewrite
make;make install
4.Æô¶¯·þÎñ service httpd s ......
1,ifconfigÃüÁî
ifconfig¿ÉÉèÖÃÍøÂçÉ豸µÄ״̬£¬»òÊÇÏÔʾĿǰµÄÉèÖá£
#ifconfig [ÍøÂçÉ豸] [down|up|-allmulti|-arp|-promisc] [add<µØÖ·>] [del<µØÖ·>] [<ÍøÂçÉ豸ÀàÐÍ> <Ó²¼þµØÖ·>] [io_addr] [irq ] [media<ÍøÂçý½éÀàÐÍ>] [mem_start<ÄÚ´æµØÖ·>]
[metric<ÊýÄ¿>] [mtu&l ......