LinuxÐéÄâϵͳ°²×°VMware Tools×ܽá
Ò»¡¢VMware Tools°²×°ÊÖ¼Ç(For Linux Guest OS)
ΪʲôҪװ VMware Tools£¿
ÒòΪËü¿ÉÒÔ¸ÄÉÆ Virtual Machine µÄÔËÐÐÐÔÄÜ£¬¶øÇÒ¿ÉÒÔÈà Host OS ºÍ Guest OS
»¥Í¨ÓÐÎÞ£¬ÕâÑùÎÒÃǾͲ»ÓÃÉËÄԽҪ¼ÜÉèʲô·þÎñÆ÷£¬À´¹µÍ¨Á½¸ö OS£¬ÏÖÔÚ¾ÍÈÃÎÒÃÇ¿ªÊ¼°É£¡
VMware ToolsËùÔÚλÖãºVMware °²×°Â·¾¶ \VMware\VMware
Workstation\linux.iso
[root@rd01 ~]# mount /cdrom
# ÓÐʱ¿ÉÄܼÓÔØ²»ÁË£¬Õâʱ¾ÍÒªÏȽ«ÏµÍ³¹Ø±Õ£¬ÔÙÊÖ¶¯Ö¸¶¨ ISO Ó³Ïñ£¬¿´ÏÂͼ
[root@rd01 ~]# cd /cdrom
[root@rd01 ~]# ls -a
[root@rd01 ~]# cp VMwareTools-5.5.1-19175.tar.gz
/tmp
[root@rd01 ~]# cd /tmp
[root@rd01 ~]# tar zxpf
VMwareTools-5.5.1-19175.tar.gz
[root@rd01 ~]# cd vmware-tools-distrib
[root@rd01 vmware-tools-distrib]# ./vmware-install.pl
Creating a new installer database using the tar3 format.
Installing the content of the package.
# °²×°¹ý³ÌµÄ»Ã棬ȫ²¿Ê¹ÓÃĬÈÏÖµ£¬Ò»Ö±°´ Enter ¾Í¶ÔÁË
In which directory do you want to install the binary files?
[/usr/bin]
What is the directory that contains the init directories (rc0.d/ to
rc6.d/)?
[/etc/rc.d]
What is the directory that contains the init script
s?
[/etc/rc.d/init.d]
In which directory do you want to install the daemon files?
[/usr/sbin]
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
Thepath "/usr/lib/vmware-tools" does not exist currently. This
programisgoingto create it, including needed parent directories. Is
thiswhatyou want?
[yes]
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
Thepath "/usr/share/doc/vmware-tools" does not exist
currently.Thisprogram isgoing to create it, including needed parent
directories.Isthis what you want?
[yes]
The installation of VMware Tools 5.5.1 build-19175 for Linux
completed
successfully. You can decide to remove this software from your
system at any
time by invoking the following command:
"/usr/bin/vmware-uninstall-tools.pl".
Before running VMware Tools for the first time,
Ïà¹ØÎĵµ£º
LinuxÏà±ÈÓÚWindowsÒ»¸ö±È½ÏºÃµÄµØ·½ÔÚÓÚLinuxÌṩÁ˷dz£·á¸»µÄÔÚÏßÎĵµ£¬¸üÖØÒªµÄÊÇÕâЩ¶¼ÊÇfreeµÄ£¨ÏÂÃæµÄ˵Ã÷ÊÇÕë¶Ôdebian·¢Ðа棬ÆäËûµÄ·¢ÐаæÇé¿ö¿ÉÄÜ»áÓÐËù²»Í¬£©¡£
LinuxµÄÔÚÏßÎĵµ´ó¸Å¿ÉÒÔ·ÖΪÒÔϼ¸Àࣺ
£¨1£©Man¸ñʽµÄÊֲᣬĬÈÏ´æ·ÅÓÚ/usr/share/manĿ¼£¬ÓÃmanÃüÁî²é¿´¡£
£¨2£©Info ¸ñʽµÄÊֲᣬĬÈÏ´æ·Å ......
Èç¹ûÄãÊÇLinuxµÄÓû§£¬ÄãÊÇ·ñ·Ç³£Ï²»¶ËûµÄʵÓÃÐÔ£¬¼òµ¥±ã½Ý¡£²»¹ý£¬¶ÔÓÚLinuxÈí¼þµÄ°²×°ºÍÐ¶ÔØÒ»Ö±ÊÇÀ§ÈÅÐí¶àÐÂÓû§µÄÄÑÌâ¡£ÔõÑù²ÅÄÜÍê³ÉLinuxÈí¼þµÄ°²×°ºÍÐ¶ÔØµÄ¹ý³ÌÄØ£¿
ÔÚWindowsÖУ¬ÎÒÃÇ¿ÉÒÔʹÓÃÈí¼þ×Ô´øµÄ°²×°Ð¶ÔسÌÐò»òÔÚ¿ØÖÆÃæ°åÖеēÌí¼Ó/ɾ³ý³ÌÐò”À´ÊµÏÖ¡£ÓëÆäÏàÀàËÆ£¬ÔÚ²»Í¬Linux·¢ÐаæÏÂÒ²Óй¦ÄÜÇ¿ ......
ijÍâÆóÃæÊÔlinux¿ª·¢Ö°Î»ÃæÊÔÌ⣺
¸ø³öÈçÏÂC³ÌÐò£¬ÔÚlinuxÏÂʹÓÃgcc±àÒ룺
#include "stdio.h"
#include "sys/types.h"
#include "unistd.h"
int main(void)
{
pid_t pid1;
pid_t pid2;
pid1 = fork();
pid2 = fork();
printf("pid1:%d, pid2:%d\n", pid1, pid2);
}
  ......
ÓÉÓÚÏà¹Ø±äÁ¿¶¨Ò岻ͬ,
ËùÒÔÒÔÏÂÆô¶¯Ë³Ðò½ö¹©²Î¿¼
ÔÚRedhat
Redflag centos fc linuxϵͳÀïÃæ½Å±¾µÄÆô¶¯
ÏȺó£º
µÚÒ»²½£ºÍ¨¹ý/boot/vm½øÐÐ
Æô¶¯ vmlinuz
µÚ¶þ²½£ºinit /etc/inittab
µÚÈý²½£ºÆô¶¯ÏàÓ¦µÄ½Å±¾£¬²¢ÇÒ´ò¿ªÖÕ¶Ë
rc.sysinit
rc.d(Àï
ÃæµÄ½Å±¾£©
rc.local
µÚËIJ½£ºÆô¶¯loginµÇ¼½çÃæ login
µÚÎå² ......
linuxϵÄÈí¼þRAIDÖ§³ÖRAID¼¶±ð0,1,4,5,6£¬½ñÌìÌØ±ð²âÊÔÒ»ÏÂRAID6¡£
²½ÖèÒ»£º×¼±¸·ÖÇø
·ÖÇøÇé¿öÈçÏ£¬¾ßÌåÈçºÎ·ÖÇø¾Í²»½éÉÜÁË¡£
/dev/hdb5 5240 5252 1043 ......