Linux ÉèÖû·¾³±äÁ¿Ð¡½á
Linux ÉèÖû·¾³±äÁ¿Ð¡½á
תÔØ×Ô£ºhttp://www.roboticfan.com/blog/user_2005/104/archives/2009/2009617176.shtml
1¡¢×ܽᱳ¾°
ÔÚlinuxϵͳÏ£¬Èç¹ûÄãÏÂÔز¢°²×°ÁËÓ¦ÓóÌÐò£¬ºÜÓпÉÄÜÔÚ¼üÈëËüµÄÃû³Æʱ³öÏÖ“command not found”µÄÌáʾÄÚÈÝ¡£Èç¹ûÿ´Î¶¼µ½°²×°Ä¿±êÎļþ¼ÐÄÚ£¬ÕÒµ½¿ÉÖ´ÐÐÎļþÀ´½øÐвÙ×÷¾ÍÌ«·±ËöÁË¡£ÕâÉæ¼°µ½»·¾³±äÁ¿PATHµÄÉèÖÃÎÊÌ⣬¶øPATHµÄÉèÖÃÒ²ÊÇÔÚlinux϶¨ÖÆ»·¾³±äÁ¿µÄÒ»¸ö×é³É²¿·Ö¡£±¾°¸Àý»ùÓÚRedHat AS4½²½â»·¾³±äÁ¿¶¨ÖƵÄÎÊÌâ¡£
2¡¢±äÁ¿¼ò½é
LinuxÊÇÒ»¸ö¶àÓû§µÄ²Ù×÷ϵͳ¡£Ã¿¸öÓû§µÇ¼ϵͳºó£¬¶¼»áÓÐÒ»¸öרÓõÄÔËÐл·¾³¡£Í¨³£Ã¿¸öÓû§Ä¬ÈϵĻ·¾³¶¼ÊÇÏàͬµÄ£¬Õâ¸öĬÈÏ»·¾³Êµ¼ÊÉϾÍÊÇÒ»×é»·¾³±äÁ¿µÄ¶¨Òå¡£Óû§¿ÉÒÔ¶Ô×Ô¼ºµÄÔËÐл·¾³½øÐж¨ÖÆ£¬Æä·½·¨¾ÍÊÇÐÞ¸ÄÏàÓ¦µÄϵͳ»·¾³±äÁ¿¡£
3¡¢¶¨ÖÆ»·¾³±äÁ¿
»·¾³±äÁ¿ÊǺÍShell½ôÃÜÏà¹ØµÄ£¬Óû§µÇ¼ϵͳºó¾ÍÆô¶¯ÁËÒ»¸öShell¡£¶ÔÓÚLinuxÀ´ËµÒ»°ãÊÇbash£¬µ«Ò²¿ÉÒÔÖØÐÂÉ趨»òÇл»µ½ÆäËüµÄShell£¨Ê¹ÓÃchshÃüÁ¡£
¸ù¾Ý·¢Ðа汾µÄÇé¿ö£¬bashÓÐÁ½¸ö»ù±¾µÄϵͳ¼¶ÅäÖÃÎļþ£º/etc/bashrcºÍ/etc/profile¡£ÕâЩÅäÖÃÎļþ°üº¬Á½×鲻ͬµÄ±äÁ¿£ºshell±äÁ¿ºÍ»·¾³±äÁ¿¡£Ç°ÕßÖ»ÊÇÔÚÌض¨µÄshellÖй̶¨£¨Èçbash£©£¬ºóÕßÔÚ²»Í¬shellÖй̶¨¡£ºÜÃ÷ÏÔ£¬shell±äÁ¿ÊǾֲ¿µÄ£¬¶ø»·¾³±äÁ¿ÊÇÈ«¾ÖµÄ¡£»·¾³±äÁ¿ÊÇͨ¹ýShellÃüÁîÀ´ÉèÖõģ¬ÉèÖúõĻ·¾³±äÁ¿ÓÖ¿ÉÒÔ±»ËùÓе±Ç°Óû§ËùÔËÐеijÌÐòËùʹÓ᣶ÔÓÚbashÕâ¸öShell³ÌÐòÀ´Ëµ£¬¿ÉÒÔͨ¹ý±äÁ¿ÃûÀ´·ÃÎÊÏàÓ¦µÄ»·¾³±äÁ¿£¬Í¨¹ýexportÀ´ÉèÖû·¾³±äÁ¿¡£
×¢£ºLinuxµÄ»·¾³±äÁ¿Ãû³ÆÒ»°ãʹÓôóд×Öĸ
4¡¢»·¾³±äÁ¿ÉèÖÃʵÀý
1.ʹÓÃÃüÁîechoÏÔʾ»·¾³±äÁ¿
±¾ÀýʹÓÃechoÏÔʾ³£¼ûµÄ±äÁ¿HOME
$ echo $HOME
/home/kevin
2.ÉèÖÃÒ»¸öеĻ·¾³±äÁ¿
$ export MYNAME=”my name is kevin”
$ echo $ MYNAME
my name is Kevin
3.ÐÞ¸ÄÒÑ´æÔڵĻ·¾³±äÁ¿
½ÓÉϸöʾÀý
$ MYNAME=”change name to jack”
$ echo $MYNAME
change name to jack
4.ʹÓÃenvÃüÁîÏÔʾËùÓеĻ·¾³±äÁ¿
$ env
HOSTNAME=localhost.localdomain
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
SSH_CLIENT=192.168.136.151 1740 22
QTDIR=/usr/lib/qt-3.1
SSH_TTY=/dev/pts/0
……
5.ʹÓÃsetÃüÁîÏÔʾËùÓб¾µØ¶¨ÒåµÄShell±äÁ¿
$ set
BASH=/bin/bash
BASH_ENV=/root/.bashrc
……
6.ʹÓÃunsetÃüÁîÀ´Çå³ý»
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
µ½¹ÙÍøÏÂÔØsamba,samba-3.4.5.tar.gz
½âѹËõ£¬ºó£¬½øÈësource3.
./autogen.sh
./configure
make
make install
Æô¶¯/usr/local/samba/sbin/smbd
´Ë´¦¿ÉÄÜ»áÌáʾ£¬
error while loading shared libraries: libtalloc.so.1
Ö´ÐÐ
LD_DEBUG=libs /usr/local/samba/sbin/smbd -D
¼ì²éÄÄЩlibÎÞ·¨ÕÒµ½£¬ÏàÓ¦µÄÓÃln&nbs ......
ʵÀý)
ÏÖÔÚÎÒÃÇÀ´ÌÖÂÛ±àдһ¸ö½Å±¾µÄÒ»°ã²½Öè¡£ÈκÎÓÅÐãµÄ½Å±¾¶¼Ó¦¸Ã¾ßÓаïÖúºÍÊäÈë²ÎÊý¡£²¢ÇÒдһ¸öα½Å±¾£¨framework.sh£©£¬¸Ã½Å±¾°üº¬ÁË´ó¶àÊý½Å±¾¶¼ÐèÒªµÄ¿ò¼Ü½á¹¹£¬ÊÇÒ»¸ö·Ç³£²»´íµÄÖ÷Òâ¡£Õâʱºò£¬ÔÚдһ¸öеĽű¾Ê±ÎÒÃÇÖ»ÐèÒªÖ´ÐÐÒ»ÏÂcopyÃüÁ
cp framework.sh myscript
È»ºóÔÙ²åÈë×Ô¼ºµÄº¯Êý¡£
ÈÃÎÒÃÇÔÙ¿´Á½ ......
The Linux Printing HOWTO http://www.resoo.org/docs/printing/printing-howto.txt
Grant Taylor <gtaylor+pht@picante.com>
v3.30, 19 November 1999
This is the Linux Printing HOWTO, a collection of information on how
to generate, preview, print and fax anything under Linux ......
Ò»¡¢Àí½âLinuxµÄµ¥Óû§¶àÈÎÎñ£¬¶àÓû§¶àÈÎÎñ¸ÅÄ
Linux ÊÇÒ»¸ö¶àÓû§¡¢¶àÈÎÎñµÄ²Ù×÷ϵͳ£»ÎÒÃÇÓ¦¸ÃÁ˽ⵥÓû§¶àÈÎÎñºÍ¶àÓû§¶àÈÎÎñµÄ¸ÅÄ
1¡¢Linux µÄµ¥Óû§¶àÈÎÎñ£»
µ¥Óû§¶àÈÎÎñ£»±ÈÈçÎÒÃÇÒÔbeinan µÇ¼ϵͳ£¬½øÈëϵͳºó£¬ÎÒÒª´ò¿ªgedit À´Ð´Îĵµ£¬µ«ÔÚдÎĵµµÄ¹ý³ÌÖУ¬ÎҸоõÉÙµãÒôÀÖ£¬ËùÒÔÓÖ´ò¿ªxmms
À´µãÒôÀÖ ......