linuxϰ²×°vncserver
1.ÔÚÏßÏÂÔØ£ºwget http://www.realvnc.com/dist/vnc-4.0-x86_linux.tar.gz
2.½âѹËõ£ºtar -zxvf vnc-4.0-x86_linux.tar.gz
¿ÉÒÔ¿´READMEÀïÄÚÈÝÀ´°²×°
3¡£½øÈëvncĿ¼Ï°²×°£º./vncinstall /usr/local/bin
4¡£mkdir -p /usr/local/vnc/classes
cp java/* /usr/local/vnc/classes
5¡£Æô¶¯vncserver
vncserver
Èç¹û´æÔÚ·À»ðǽ,»¹ÐèÒª¿ª·Å·À»ðǽ,È»ºó¾Í¿ÉÒÔͨ¹ýä¯ÀÀÆ÷ÔÚ5801¶Ë¿Ú·ÃÎÊvncserverÁË.
5¡£Èç¹ûÊäÈëvncserverʱÌáʾ
vncpasswd: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
´íÎó¡£
³öÏÖÕâ¸öÎÊÌâ
µÄÔÒòͨ³£ÊÇglibcµÄ°æ±¾¹ý¸ß£¬¿ÉÒÔʹÓÃÒ»¸ö·ûºÅÁ´½ÓÀ´½â¾ö£¬¾ßÌå²½ÖèÈçÏ£º
¡¡¡¡cd /usr/lib
¡¡¡¡ln -sf libstdc++.so.6 libstdc++-libc6.1-1.so.2
¡¡¡¡libstdc++.so.6ÊÇϵͳÖÐÒѾ´æÔڵĿâÎļþ£¬ÉÏÃæµÄÃüÁ»á½¨Á¢Ò»¸öÐÂ
Îļþlibstdc++-libc6.1-1.so.2£¬Õâ¸öÎļþÖ¸ÏòÒѾ´æÔÚµÄÄǸö¿âÎļþ¡£ÕâÖÖ·½·¨
Æäʵ¾ÍÆÛÆÒ»Ï³ÌÐò£¬Òò´ËÕâ¸ö·½·¨²»ÊÇ×ܵÄÓÐЧ£¬ÄãÓ¦µ±¾¡¿ÉÄÜʹÓúÍgcc°æ±¾Ïà
Æ¥ÅäµÄ²å¼þ¡£
Ïà¹ØÎĵµ£º
ǰһƪÎÄÕÂдµÄÔÚAPACHE°²×°MOD_PYTHONµÄ¾¹ý,Æäʵͦ¼òµ¥,¾ÍÊǰ汾²»¼æÈݵÄÎÊÌâ.Õâ´ÎÎÒ´ó¸Å˵ϲ¿ÊðDJANGOµÄ¹ý³Ì.
ÏÈÐÞ¸ÄAPACHEÅäÖÃÎļþ,ʹÆä¼ÓÔØmod_pythonÄ£¿é
LoadModule python_module libexec/mod_python.so
ÔËÐÐÃüÁî²é¿´
bin/httpd -M¿ÉÒÔ¿´µ½
python_module (shared)
Syntax OK
˵Ã÷apacheÒѾ³É¹¦¼Ó ......
linuxĿ¼¼Ü¹¹
/ ¸ùĿ¼
/bin ³£ÓõÄÃüÁî
binary file µÄÄ¿錄
/boot ´æ·ÅϵͳÆô¶¯Ê±±ØÐë¶ÁÈ¡µÄµµ°¸£¬°üÀ¨ºËÐÄ
(kernel) ÔÚÄÚ
/boot/grub/menu.lst GRUBÉèÖÃ
/boot/vm ......
ÔÚlinuxÖÐɾ³ýÒ»¸öĿ¼ºÜ¼òµ¥£¬ºÜ¶àÈË»¹ÊÇϰ¹ßÓÃrmdir£¬²»¹ýÒ»µ©Ä¿Â¼·Ç¿Õ£¬¾ÍÏÝÈëÉîÉîµÄ¿àÄÕÖ®ÖУ¬ÏÖÔÚʹÓÃrm -rfÃüÁî¼´¿É½â¾ö¡£
Ö±½Órm¾Í¿ÉÒÔÁË£¬²»¹ýÒª¼ÓÁ½¸ö²ÎÊý-rf ¼´£ºrm -rf Ŀ¼Ãû×Ö
-r ¾ÍÊÇÏòϵݹ飬²»¹ÜÓжàÉÙ¼¶Ä¿Â¼£¬Ò»²¢É¾³ý
-f ¾ÍÊÇÖ±½ÓÇ¿ÐÐɾ³ý£¬²»×÷ÈκÎÌáʾµÄÒâ˼
ɾ³ýÎļþ¼ÐʵÀý£º
rm -r ......
ÔÚLinuxÖÐÖ´ÐÐ.sh½Å±¾£¬Òì³£/bin/sh^M
www.firnow.com ʱ¼ä £º 2009-07-29 ×÷ÕߣºÄäÃû ±à¼£ºtoman µã»÷£º 199 [ ÆÀÂÛ ]
-
-
ÔÚLinuxÖÐÖ´ÐÐ.sh½Å±¾£¬Òì³£/bin/sh^M: bad interpreter: No such file or directory¡£
·ÖÎö£ºÕâÊDz»Í¬ÏµÍ³±àÂë¸ñʽÒýÆðµÄ£ºÔÚwindowsÏ ......
linuxĿ¼¼Ü¹¹
/ ¸ùĿ¼
/bin ³£ÓõÄÃüÁî binary file µÄÄ¿錄
/boot ´æ·ÅϵͳÆô¶¯Ê±±ØÐë¶ÁÈ¡µÄµµ°¸£¬°üÀ¨ºËÐÄ (kernel) ÔÚÄÚ
/boot/grub/menu.lst GRUBÉèÖÃ
/boot/vmlinuz ÄÚºË
/boot/initrd ºËÐĽâ壓縮ËùÐè RAM Disk
/dev ϵͳÖܱßÉ豸
/etc ......