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

VmwareΪLinuxÐéÄâ»úÔö¼ÓÓ²Å̿ռä

1¡¢ÏȽ«ÐéÄâ»úPower Off£¬ÔÚVirtual Machine Setting¶Ô»°¿òÀïµã»÷×óϽǵēAdd”£¬Ñ¡Ôñ“Hard Disk”£¬Ö®ºóÑ¡Ôñ“Create a new virtual disk”£¬·ÖÅäÈÝÁ¿£¬ÆäËûĬÈÏÅäÖþͿÉÒÔÁË¡£
2¡¢Æô¶¯ÐéÄâ»úϵͳ£¬ÓÃrootµÇ½£¬ÔÚ ÃüÁîÐÐÓÃfdisk -l²é¿´ÊÇ·ñʶ±ðÁËÐÂÓ²ÅÌ£¬Èç¹ûÌí¼ÓµÄÊÇIDEÓ²ÅÌ£¬¾ÍÓ¦¸Ã¿´µ½hdb£¬Èç¹ûÊÇSCSIÓ²ÅÌ£¬¿´µ½µÄ¾ÍÓ¦¸ÃÊÇsdb¡£
Disk /dev/sdc: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/sdc doesn't contain a valid partition table
ÒòΪÎÒ֮ǰÒѾ­¼Ó¹ýÒ»¿éÓ²ÅÌÁË£¬ËùÒÔÕâÀïÏÔʾsdc¡£
3¡¢Ê¹ÓÃfdisk /dev/sdc£¬ÔÚ³öÏÖµÄÑ¡ÏîÖÐÑ¡Ôñ“w”£¬¼´½«·ÖÇø±íдÈëÓ²Å̲¢Í˳ö£¬ÕâʱÔÙÓÃfdisk -l²é¿´¾Í»á·¢ÏÖ£º
Disk /dev/sdc: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5404b953
Device Boot Start End Blocks Id System
4¡¢ÓÃmkfsÃüÁÆä¸ñʽ»¯£¬mkfs /dev/sdc
5¡¢ÓÃmountÃüÁÆä¹ÒÔØ£¬mount -t ext2 /dev/sdb /media
done£¡
ת·¢µØÖ·£ºhttp://www.5dlinux.com/article/9/2008/linux_26577.html
¸Ðл×÷Õߣ¡


Ïà¹ØÎĵµ£º

LinuxÎļþ²¼¾Ö

/  LinuexϵͳĿ¼Ê÷µÄÆðµã
    bin   ´æ·Å¿ÉÖ´ÐÐÃüÁÈçchmod¡¢date
    boot ´æ·ÅϵͳÆô¶¯Ê±ËùÐèÒªµÄÎļþ£¬°üÀ¨Òýµ¼×°ÔسÌÐò
    etc    ´æ·ÅϵͳÅäÖÃÎļþ£¬Èçpasswd¡¢fstabÎļþ
    dev   ´æ·ÅËùÓеÄÉè ......

vmware ÍøÂçÅäÖÃʵÀý¶þ windows host + linux guest

vmware ÍøÂçÅäÖÃʵÀý¶þ windows host + linux guest
£¨yunqing£¨2005-03-24£©°´£ººÜ¶àÅóÓÑÎʵ½ping²»Í¨hostµÄÇé¿ö£¬Çë¼ì²éÒ»ÏÂhostÀïµÄ·À»ðǽÉèÖ㬶àÊýµÄwindows xp sp2ϵķÀ»ðǽ¶¼ÉèÖóɲ»ÏìÓ¦£©
ǰÑÔ£ºÇ°¼¸ÌìдÁËÒ»¸övmwareµÄÅäÖõÄÒ»¸ö°¸Àý£¬Ö÷Òª¹ØÓÚlinux host+win ......

linuxÏÂÎļþÀàÐ͵ĻñÈ¡

ÎļþÀàÐÍ»ñȡһ¡¢stat¡¢fstat ºÍlstat º¯Êý#include <sys/types.h>
¡¡¡¡#include <sys/stat.h>
¡¡¡¡int stat(const char * pathname, struct stat * buf);
¡¡¡¡int fstat(int filedes,struct stat * buf);
¡¡¡¡int lstat(const char * pathname, struct stat *buf);
¡¡¡¡Èý¸öº¯ÊýµÄ·µ»Ø£ºÈô³É¹¦ÔòΪ0£¬Èô³ ......

Linux ²Ù×÷ϵͳ:deb°²×°°üµÄ°²×°·½·¨

deb ÊÇdebian linus µÄ°²×°¸ñʽ£¬¸úred hat µÄrpmÏàËÆ
°²×°£º dpkg -i file.deb
²»¹ýÒª°²×°dpkgµÄpackage,Ò²¿ÉÓÃalienÕâÀàÈí¼þ½«packageתΪrpmµÈ¸ñʽ£¬»òÖ±½Óϸörpm »òtar°ü¡£
¹ØÓÚdeb°üת»»³ÉrpmµÄ·½·¨£º
sudo apt-get install alien #alienĬÈÏûÓа²×°£¬ËùÒÔÊ×ÏÈÒª°²×°Ëü¡£
sudo alien xxxx.rpm #½«rpmת»»Î»deb ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ