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

LinuxϵĻ·¾³±äÁ¿

 
ÎÒÃÇÔÚLinuxÏ°²×°ÏµÍ³Èí¼þµÄʱºò,¾­³£Óöµ½Ò»Ð©ÏµÍ³»·¾³±äÁ¿ÅäÖõÄÎÊÌ⡣ʲôÊÇ»·¾³±äÁ¿£¿ÈçºÎ¶¨ÖÆ»·¾³±äÁ¿£¿ÎÒ½«ÔÚÏÂÃæ×öһЩ½éÉÜ¡£
Ò»¡¢ ʲôÊÇ»·¾³±äÁ¿£¿
LinuxÊÇÒ»¸ö¶àÓû§µÄ²Ù×÷ϵͳ¡£¶àÓû§Òâζ×Åÿ¸öÓû§µÇ¼ϵͳºó£¬¶¼ÓÐ×Ô¼º×¨ÓõÄÔËÐл·¾³¡£¶øÕâ¸ö»·¾³ÊÇÓÉÒ»×é±äÁ¿Ëù¶¨Òå, Õâ×é±äÁ¿±»³ÆΪ»·¾³±äÁ¿¡£Óû§¿ÉÒÔ¶Ô×Ô¼ºµÄ»·¾³±äÁ¿½øÐÐÐÞ¸ÄÒÔ´ïµ½¶Ô»·¾³µÄÒªÇó¡£
¶þ¡¢¶¨ÖÆ»·¾³±äÁ¿ 
»·¾³±äÁ¿ÊǺÍShell½ôÃÜ Ïà¹ØµÄ£¬ËüÊÇͨ¹ýShellÃüÁîÀ´ÉèÖõġ£»·¾³±äÁ¿ÓÖ¿ÉÒÔ±»ËùÓе±Ç°Óû§ËùÔËÐеijÌÐòËùʹÓ᣶ÔÓÚbashÀ´Ëµ£¬¿ÉÒÔͨ¹ý±äÁ¿ÃûÀ´·ÃÎÊÏàÓ¦µÄ»·¾³±äÁ¿¡£
Ï Ãæͨ¹ý¼¸¸öʵÀýÀ´ËµÃ÷
1.ÏÔʾ»·¾³±äÁ¿HOME 
$ echo $HOME
/home/admin
2. ÉèÖÃÒ»¸öеĻ·¾³±äÁ¿NAME
$ export NAME="RaidCheng"
$ echo $NAME
RaidCheng
3. ʹÓÃenvÃüÁîÏÔʾËùÓеĻ·¾³±äÁ¿ 
$ env
HOSTNAME=test
TERM=vt100
SHELL=/bin/bash
HISTSIZE=1000
SSH_CLIENT=202.xxx.xxx.xxx 53694 22
CATALINA_BASE=/usr/local/jakarta-tomcat
SSH_TTY=/dev/pts/0
ANT_HOME=/usr/local/ant
JAVA_OPTS=-server
USER=admin
...
4. ʹÓÃsetÃüÁîÏÔʾËùÓб¾µØ¶¨ÒåµÄShell±äÁ¿ 
$ set
BASH=/bin/bash
BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" [5]="i386-redhat-linux-gnu")
BASH_VERSION='2.05b.0(1)-release'
CATALINA_BASE=/usr/local/jakarta-tomcat
CATALINA_HOME=/usr/local/jakarta-tomcat
...
5. ʹÓÃunsetÃüÁîÀ´Çå³ý»·¾³±äÁ¿ 
$ export NAME="RaidCheng"
$ echo $NAME
RaidCheng
$ unset NAME
$ echo $NAME
6. ʹÓÃreadonlyÃüÁîÉèÖÃÖ»¶Á±äÁ¿ 
$ export NAME="RaidCheng"
$ readonly NAME
$ unset NAME
-bash: unset: NAME: cannot unset: readonly variable
$ NAME="New" # »á·¢ÏÖ´ËÒ²±äÁ¿²»Äܱ»ÐÞ¸Ä
-bash: TEST: readonly variable
Èý¡¢ ³£¼ûµÄ»·¾³±äÁ¿ 
PATH¡¡¡¡¡¡¡¡¡¡¡¡¾ö¶¨ÁËshell½«µ½ÄÄЩĿ¼ÖÐÑ°ÕÒÃüÁî»ò³ÌÐò
HOME¡¡¡¡¡¡¡¡¡¡¡¡µ±Ç°Óû§Ö÷Ŀ¼
HISTSIZE ¡¡¡¡¡¡¡¡ÀúÊ·¼Ç¼Êý
LOGNAME ¡¡¡¡¡¡¡¡µ±Ç°Óû§µÄµÇ¼Ãû 
HOSTNAME¡¡¡¡¡¡¡¡Ö¸Ö÷»úµÄÃû³Æ
SHELL ¡¡¡¡¡¡¡¡¡¡Ç° Óû§ShellÀàÐÍ 
LANGUGE ¡¡¡¡¡¡¡¡ÓïÑÔÏà¹ØµÄ»·¾³±äÁ¿£¬¶àÓïÑÔ¿ÉÒÔÐ޸Ĵ˻·¾³±äÁ¿
MAIL¡¡¡¡¡¡¡¡¡¡¡¡µ±Ç°Óû§µÄÓʼþ´æ·ÅÄ


Ïà¹ØÎĵµ£º

Linux SCSI ×ÓϵͳÆÊÎö

Small Computer Systems Interface (SCSI)
ÊÇÒ»×é±ê×¼¼¯£¬Ëü¶¨ÒåÁËÓë´óÁ¿É豸£¨Ö÷ÒªÊÇÓë´æ´¢Ïà¹ØµÄÉ豸£©Í¨ÐÅËùÐèµÄ½Ó¿ÚºÍЭÒé¡£ Linux® ÌṩÁËÒ»ÖÖ SCSI ×Óϵͳ
£¬ÓÃÓÚÓëÕâЩÉ豸ͨÐÅ¡£Linux
ÊÇ·Ö²ã¼Ü¹¹µÄÒ»¸öºÜºÃµÄÀý×Ó£¬Ëü½«¸ß²ãµÄÇý¶¯
Æ÷£¨±ÈÈç´ÅÅÌÇý¶¯Æ÷»ò¹âÇý£©Á¬½Óµ½ÎïÀí½Ó¿Ú£¬±ÈÈç
Fibre Channel » ......

linuxµÄ¼òµ¥ÍøÂçÅäÖÃ

1¡¢RootµÇ¼
2¡¢²éip:ifcongfig
3¡¢ÐÞ¸ÄÍøÂçÉèÖÃ
vi /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=VirtualBox
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.2
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
4¡¢Ìí¼ÓÐÂÓû§º ......

linux×Ô¶¯Æô¶¯ÊسÌÉèÖÃ

aep1000
Ö§³Ö¿ìËÙ¼ÓÃÜ´¦Àí¿¨ÒÔ¼ÓËÙ°²È«Ì×½Ó×ֲ㣨SSL£©¼ÓÃÜ£¬ÔÚ±¾ÊéÖв»ÓÃÓÚ½¨Á¢¼¯Èº¡£
anacron
ÓëcronºÍatÀàËÆ£¬¶¼ÊÇÔÚÌض¨Ê±¼ä¡¢ÉõÖÁÔÚϵͳûÓÐÁ¬ÐøÔËÐÐʱÆô¶¯ÃüÁîµÄ£¬ÔÚRed HatÉÏ£¬/etc/anacrontabÎļþÁгöÁËÿÌìÖ´ÐеÄcron×÷ÒµµÄÑ­»·³£¹æÈÕÖ¾£¬Èç¹ûÄã½ûÓÃÁËËü£¬Ä㽫²»ÄÜÔÙÖ´ÐÐÈÕ־ѭ»·£¬ÄãµÄϵͳ´ÅÅÌ×îºó½«±»ÌîÂú£¬Ô ......

LINUXÐÞ¸ÄROOTÃÜÂë·½·¨ »ÆÃöÓñ

>1£®      »úÆ÷Æô¶¯ºó£¬ÔÚµ½À¶É«ÆÁÄ»µÄ½çÃæµÄʱºò£¬°´ÉÏϼüÑ¡Ôñ¡£
>2£®      ÔÚÑ¡ÔñµÄʱºòÑ¡ÔñºóÃæ´øÓÐELSMPµÄÕâÒ»ÐУ¬°´E¼ü£¬Ç§Íò²»Òª°´»Ø³µ
>3£®      È»ºóÔÚÑ¡Ôñ´øÓÐkernel¿ªÍ·µÄÕâÒ»ÐУ¬°´E¼ü£¬²»Òª°´»Ø³µ¡£
>4£® &n ......

LINUX°²×°Íø¿¨Çý¶¯Ê±ÌáʾÕÒ²»µ½.autoconf.h

ÔÚfc8µÄdom0ÉÏ°²×°e1000eÍø¿¨Çý¶¯
#make
#Linux kernel source not configured: missing autoconf.h
½â¾ö·½·¨£º
ÔÚ±àÒëxenʱδʹÓÃmake config
´Ëʱ¿ÉÒÔÕÒµ½Ô´Â룬ÆäÖаüº¬.configÎļþ£¬ÔËÐÐmake oldconfig¼´¿ÉÉú³Éautoconf.h
´Ó¶ø¿ÉÒԳɹ¦±àÒë°²×°Äںˡ£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ