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

VMwareµ÷ÕûLinuxÐéÄâ»úÓ²ÅÌ´óСµÄ·½·¨

Èç¹ûÔ¤ÏÈ×°µÄVMware LinuxÐéÄâ»úµÄÓ²ÅÌ¿Õ¼ä¹ýС,ÖØÐÂ×°Ò»¸öÓÖͦÂé·³¡£ËÑË÷ÍøÉϵķ½·¨,¼ò½éÈçÏÂ:
 Ò»£ºÓ²ÅÌÀ©Èݵķ½·¨£º
1¡¢vmwareÌṩһ¸öÃüÁîÐй¤¾ß£¬vmware-vdiskmanager.exe£¬Î»ÓÚvmwareµÄ°²×°Ä¿Â¼Ï£¬±ÈÈç
C:\Program Files\VMware\VMware Workstation\vmware-vdiskmanager.exe.
ÔÚwindowsµÄcmd´°¿ÚÖУ¬×ªµ½vmwareµÄ°²×°Ä¿Â¼
¼´£ºcd C:\Program Files\VMware\VMware Workstation\
vmware-vdiskmanager.exe ¿ÉÒԲ鿴°ïÖú
2. ¶ÔÓÚÀ©ÈÝ£¬¿ÉÒÔÊäÈëÏÂÁÐÃüÁ
    vmware-vdiskmanager -x 4Gb "D:\VMware\WinXP\myLinux.vmdk"
    ²ÎÊý"-x"±íʾҪÀ©Õ¹ÐéÄâ»úÓ²Å̿ռ䣬½ôËæÆäºóµÄÊý×ÖÊÇÒªÀ©Õ¹µ½µÄ´óС(±¾ÀýΪÀ©Õ¹µ½4GB£¬ÕâÊÇÒ»¸ö´ÅÅÌ×ÜÁ¿£¬°üº¬ÁËÔ­ÏȵĴÅÅÌÈÝÁ¿)¡£
    ×îºóÊÇÖ¸¶¨Òª²Ù×÷µÄÐéÄâ»ú´ÅÅ̵ľßÌåÎļþ£¬ÒªÊÇ·¾¶ÃûÖÐÓпոñ£¬±ØÐëÒÔË«ÒýºÅÀ¨ÆðÀ´¡£°´»Ø³µ¼ü¿ªÊ¼Ö´ÐУ¬Ö´ÐÐÍê±Ï£¬Í˳öÃüÁîÌáʾ·û´°¿Ú£¬ÖØÆôVMware£¬»á·¢ÏÖÐéÄâ»úÓ²ÅÌ¿Õ¼äÒѱä³É4GBÁË¡£ÖØÆôÐéÄâ»úºó£¬·¢ÏÖÐéÄâ»úµÄÓ²ÅÌÊDZä³É4GBÁË£¬µ«½øÈëLinuxϵͳºó£¬ÓÃ"df -ah"²é¿´·¢ÏÖÓ²Å̿ռ仹ÊÇÔ­ÏÈÄÇô´ó¡£
    ÕâÊÇÒòΪËäÈ»ÒѾ­À©´óÁË´ÅÅÌ£¬µ«ÊÇÓÉÓÚ»¹Ã»Óо­¹ý·ÖÇø£¬Ö¸¶¨Îļþϵͳ£¬ËùÒÔLinux²Ù×÷ϵͳÎÞ·¨Ê¶±ð£¨Æäʵ¾ÍÏ൱ÓÚÄãµÄÎïÀíÓ²ÅÌËäÈ»´óÁË£¬µ«ÊÇÄ㲢ûÓжÔÆä½øÐзÖÇøÊÇÒ»¸öµÀÀí£©¡£ÏÂÃæÎÒÃǽøÐзÖÇø´¦Àí¡£
3. ·ÖÇø£º
fdiskÃüÁ fdisk -l  :´òÓ¡µ±Ç°µÄ´ÅÅÌ·ÖÇø±í£¬ÕâʱÎÒÃÇ¿ÉÒÔ¿´µ½´ÅÅ̵Ä×ÜÁ¿µÄÈ·Ôö¼Óµ½4GBÁË£¬µ«ÊÇ·ÖÇøÖ»ÓÐÒÔÇ°µÄÄǼ¸¸öÔ­ÓеķÖÇø¡£
¼üÈëÃüÁfdisk /dev/sda   “sda¾ÍÊǾ­¹ýÀ©ÈݵÄÓ²ÅÌ£¬ÎªSCSIÓ²ÅÌ£¬IDEÀàÐÍÓ²Å̶ÔӦΪhda£¬ÊǶԸÃÓ²Å̽øÐвÙ×÷”
¼üÈë £º   m    “ ÁгöfdiskµÄ°ïÖú”
ÎÒÃÇÔÚÕâÀïÊÇÒªÌí¼ÓÒ»¸öзÖÇø£¬¼´½«À©ÈݳöÀ´µÄÄDz¿·Ö×ö³ÉÒ»¸öзÖÇø£¬ÕâÑù²ÅÄܱ»²Ù×÷ϵͳ¹ÒÔØʶ±ð¡£
¼üÈ룺    n    ” ÃüÁînÓÃÓÚÌí¼ÓзÖÇø"
´Ëʱ£¬fdisk»áÈÃÄãÑ¡ÔñÌí¼ÓΪÂß¼­·ÖÇøÄØ£¨±àºÅ´Ó5¿ªÊ¼£©»¹ÊÇÖ÷·ÖÇø£¨±àºÅ1µ½4£©¡£Ñ¡ÔñÖ÷·ÖÇø°É£¬Ôò¼üÈëp£»Ñ¡ÔñÂß¼­·ÖÇø¼üÈël¡£
ÎÒÃÇÑ¡ÔñÖ÷·ÖÇøÓÚÊÇ£º
¼üÈ룺   p               " Ñ¡Ôñ´´½¨Ö÷·ÖÇø" ´Ëʱ£¬fdisk»áÈÃÄãÑ¡ÔñÖ÷·ÖÇøµÄ±àºÅ£¬Èç¹ûÒѾ­ÓÐÁËÖ÷·ÖÇ


Ïà¹ØÎĵµ£º

LinuxÅäÖÃÓë±àÒëÄÚºË

      ±àÖÃÄں˰üº¬Á½´óÏîÄÚÈÝ£¬¼´ÅäÖÃÄں˺ͱàÒëÄںˡ£ÕâÁ½Ï×÷ÐèÒª¾­³£²é¿´Äں˵ÄÎĵµ,ÖÁÉÙÒª²é¿´ReadmeÎļþºÍDocumentationĿ¼ÏµÄChangesÎļþ¡£ËüÃǶÔÄں˽øÐÐÁËÃèÊö£¬±ÈÈçÉý¼¶Äں˿ÉÄܳöÏÖµÄÎÊÌâºÍÄں˶ÔϵͳÖй¤¾ßµÄ°æ±¾ÒªÇóµÈ¡£
1£¬Ê×ÏÈÐèÒª½«ÄÚºËÔ´ÂëÏÂÔص½/usr/src/Ŀ¼ÏÂÃ棬½âѹºó ......

ARM+LinuxÖÐÎÞ·¨ÏìÓ¦ctrl+cÊÇÔõô»ØÊÂ

µ½×îºó»¹ÊÇ×Ô¼º½â¾öÁË£¬µ¼Ö¸ÃÎÊÌâµÄÔ­ÒòÊÇÔÚlinuxÆô¶¯µ½×îºó³öÏÖ£º
/bin/sh: can't access tty; job control turned off
¶ø³öÏָôíÎóµÄÔ­ÒòºÍ½â¾ö·½·¨googleºóÓÐǧ°ÙÖÖ£¬³¢ÊÔÁ˺ܶàÖÖ¶¼Ã»ÓаïÎÒ½â¾öÎÊÌâ¡£
ÏÂÃæÊÇÎÒ×Ô¼ºµÄ½â¾ö·½·¨£º
1. vi /etc/inittab µÚÒ»ÐÐÌí¼Ó
    console::sysinit:/etc/init.d ......

Linux³ÌÐòÉè¼Æ ÖÕ¶Ë


¶ÔÖն˽øÐжÁд
ÔÚ±àд³ÌÐòʱ£¬ÎÒÃÇÍùÍùÐèÒª´ÓÖն˶ÁÈëÊý¾Ý¡£Ò»ÖÖÇé¿öÊÇÐèÒªÁ¬ÐøµØ¶ÁÈëÓû§¼üÈëµÄÑ¡ÔñÏÕâÍùÍù³öÏÖÔÚÊý¾Ý¿â³ÌÐòÖС£³ÌÐòÔ±ÍùÍù»áʹÓÃ
getchar
º¯ÊýÀ´¶ÁÈ¡Êý¾Ý£¬¼Ì¶øÅжÏÊäÈëµÄÊý¾ÝÊÇ·ñÓÐЧ£¬´Ó¶ø×ö³ö·´Ó¦¡£ÆäʵÈç´Ë×ö´øÓкܴóµÄ·çÏÕ£¬Ò»¸öʵÀý³ÌÐòÈçÏÂ
#include <stdio.h>
 
char *men ......

LinuxÏÂTomcat 80¶Ë¿Ú±»Õ¼ÓõĽâ¾ö°ì·¨

Ò»,Í£Ö¹tomcat ²¢Ö´ÐÐ#netstat -an|grep 80   ²é¿´·¢ÏÖÓÐÐí¶à80¶Ë¿Ú½ø³ÌÔÚÀïÃæ
¶þ,Ö´ÐÐ# lsof -i :80|grep -v "PID"|awk '{print "kill -9",$2}'|sh   ɱËÀËùÓÐ80¶Ë¿Ú½ø³Ì
Èý,Æô¶¯tomcat,ÎÊÌâ½â¾ö. ......

drupalÔÚlinuxÏ°²×°¼°´¦ÀíÓʼþ»Ø·¢

½âѹdrupalÎļþ µ½ Îļþϵͳ£­var-www
½âѹ ÖÐÎÄ°üµ½Í¬¼¶Ä¿Â¼ÏÂ
¿½±´default.settings.phpÎļþ¸´ÖƲ¢ÖØÃüÃûΪsettings.php
(var/www/sites/default/default.settings.php
¸´ÖƵ½Í¬¼¶Ä¿Â¼var/www/sites/default/settings.phpÖ±½ÓÈ¥¸´ÖÆÕ³Ìù¾ÍokÁËÎûÎû)
¸øд´½¨µÄÎļþsettingsÎļþ¸³ÓèдµÄȨÏÞ
(ÏȽøÈë/var/wwwÏ£¬ÒÔ¹ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ