Linuxѧϰ±Ê¼ÇÒ»
ÃüÁîÐÐ
1.init 0 ¹Ø»ú
£¨0-¹Ø»ú 1-µ¥Óû§ 2-¶àÓû§ÎÞNFS 3-¶àÓû§×´Ì¬ÓÐNFS 4-ϵͳδʹÓã¬Áô¸øÓû§ 5-X11¿ØÖÆ̨
6-ϵͳÕý³£¹Ø±Õ²¢ÖØÐÂÆô¶¯£©
2.chkconfig --list smartd £¨²é¿´smartd·þÎñ״̬£©
runlevel £¨Ä¿Ç°ÏµÍ³´¦ÓÚÄĸö״̬£©
chkconfig --level 2345 smartd off
£¨ÏµÍ³ÖеÄsmartd·þÎñ״̬ÐÞ¸ÄΪoff£©
3.more /etc/inittab £¨²é¿´Îı¾Îļþ£©
clear ÇåÆÁ
Enter »»ÐÐ
¿Õ¸ñ »»ÆÁ
q ÍƳö
cp /etc/inittab /tmp/inittab.bck ½«Ô´Îļþ±¸·Ýµ½tmpĿ¼ÏÂ
cd /tmp/ ½øÈëµ½tmpĿ¼ÏÂ
ls ²é¿´Ä¿Â¼ÏµÄÎļþ
4. vi /etc/inittab ½øÈëÎļþ
µã»÷С¼üÅÌÉÏi¼ü½øÈëÐÞ¸Ä״̬
°´ESCÍƳö״̬
°´£º¼üÊäÈëwq ´æÅ̲¢Í˳ö
Èç¹û¸ÄÂÒÁË£¬¿ÉÒÔESC È»ºó£ºqÖ±½ÓÍ˳ö¡£
¸ÄÍêÅäÖÃÎļþºóϵͳÐèÒªÖØÆô²ÅÄÜÉúЧ
5.useradd usera Ìí¼ÓÓû§
passwd usera ¼ÓÈëÃÜÂë
more /etc/passwd ´æ·ÅÕË»§ºÍÃÜÂëµÄ
6. logout exit Ctrl+d ¶¼ÄÜ×¢ÏúÓû§
´´½¨Óû§ºó±ØÐë¼ÓÈëÃÜÂë²ÅÄܵǽ
7.Alt+F1~Alt+F2 ¿ÉÒÔ¿ªÆô¶à¸ö´°¿Ú
#ϵͳ¹ÜÀíÔ± ~ ±íʾÔÚÖ÷Ŀ¼
$ÆÕͨÓû§ pwd ¿ÉÒÔ¿´¼ûÖ÷Ŀ¼
8.ÔÚ3µÄÃüÁîÐÐÀ´ÖÐ startx £¨µ÷Óô°¿Úģʽ£©
ÔÚ´°¿Úģʽ°´×¡Ctrl+Alt+F2¾ÍÄÜÇл»µ½ÆäËüÓû§
Alt+F7ÄÜÖ±½ÓÇлش°¿Úģʽ
×¢ÏúÄÜ×¢Ïú´°¿Úģʽ
Ïà¹ØÎĵµ£º
ICW2 ÓÃÓÚÉèÖÃоƬËͳöµÄÖжϺŵĸß5λ¡£Ê²Ã´Òâ˼ÄØ£¬¾ÍÊÇ˵´ÓÖжϿØÖÆÆ÷·¢³öµÄÖжÏÐźŵĸß5λ¾ÍÊÇÔÚICW2ÀïÉèÖõġ£
ÔÚlinux 0.11Àïϵͳ°ÑÖ÷ƬµÄICW2ÉèÖÃΪ0x20£¬¾Í±íʾÖжÏÇëÇóIR0~IR7ÖжϺŵķ¶Î§ÊÇ0x20~0x27(8259AоƬ²úÉúµÄIRQºÅ±ØÐëÊÇÁ¬ÐøµÄ£¬ËùÒÔÒ²Ö»ÐèÒªÉèÖÃÆðʼºÅ¾ÍokÁË£¡) ......
kernel.shmall = 268435456
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_keepalive_time = 1200
net.ipv4.ip_local_port_range = 1024 65000
net.ipv4.tcp_max_tw_buckets = 5000
net.ipv4.tcp_max_tw_buckets = 5000
net.ip ......
Îĵµ´´½¨ÈÕÆÚ£º2010-02-19
001 // P174: 2.±à³ÌÌâ (9)½«Êý×éaÖÐÏàͬԪËØÖ»±£ÁôµÚÒ»¸ö£¬ÆäÓàɾ³ý¡£
002
003 // The beginning of C program: test06-09.c.
004
005  ......
¹¹½¨»ù±¾µÄǶÈëʽLinux¸ùÎļþϵͳ
¹¹½¨»ù±¾µÄǶÈëʽLinux¸ùÎļþϵͳ
£¨1£©´´½¨¸ùÎļþϵͳµÄ»ù±¾Ä¿Â¼½á¹¹¡£
ÎÒ°ÑÕâ¸ö¹ý³Ì×ö³ÉÁËshell½Å±¾(ÎļþÃûΪmkroot) £¬ºÜ·½±ã£¡
#! /bin/sh
echo "creatint rootfs dir......"
mkdir rootfs
&n ......
1.ÐèÒªÁ½¸öÎļþ£¬httpdºÍsubversion. httpdÊÇweb·þÎñÆ÷£¬ÓÃÀ´Í¨¹ýweb·ÃÎÊsubversion£¬httpd¿ÉÒÔÔÚapache¹Ù·½ÍøÕ¾ÉÏÏÂÔص½
2.н¨Ò»¸öÓû§£ºsvnroot
×îºÃ²»ÒªÈÃrootÓû§²ÎÓëµ½svnµÄȨÏÞ¹ÜÀíºÍÈÕ³£µÄÔËÐкÍά»¤¹¤×÷ÖÐÀ´£¬µ«ÊÇÏÂÃæµÄһЩ°²×°ºÍÅäÖòÙ×÷»¹ÊÇ ÐèÒªrootÓû§À´Íê³ÉµÄ£¬ÒòΪÓÐЩ²Ù×÷Ö»ÓÐroot²ÅÄÜ×ö¡£È¨Ï ......