在VMWare 8.0.1 上安装kylin3.1.skl.iso, 半小时搞定. 3个账号密码可以设置成一样的, 为此我还纠结了老半天.
它没有软件源了, 用rpm装jdk和svn是没问题的.
安装VMWare Tools遇到了麻烦, 找不到GCC和kernel header. 其实系统都有的.
[root@localhost vmware-tools-distrib]# ./vmware-install.pl Creating a new VMware Tools installer database using the tar4 format. Installing VMware Tools. 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 scripts? [/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] The path "/usr/lib/vmware-tools" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] In which directory do you want to install the documentation files? [/usr/share/doc/vmware-tools] The path "/usr/share/doc/vmware-tools" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] The installation of VMware Tools 8.8.1 build-528969 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, you need to configure it by invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want this program to invoke the command for you now? [yes] Initializing... Making sure services for VMware Tools are stopped. Stopping VMware Tools services in the virtual machine: Guest operating system daemon: [确定] Virtual Printing daemon: [确定] Unmounting HGFS shares: [确定] Guest filesystem driver: [确定] [EXPERIMENTAL] The VMware FileSystem Sync Driver (vmsync) is a new feature that creates backups of virtual machines. Please refer to the VMware Knowledge Base for more details on this capability. Do you wish to enable this feature? [no] Before you can compile modules, you need to have the following installed... make gcc kernel headers of the running kernel Searching for GCC... sh: line 1: 10694 段错误 '/usr/lib/vmware-tools/sbin32/vmware-modconfig-console' --validate-gcc "" -- -l "/usr/lib/vmware-tools" > /dev/null 2>&1 The path "" is not valid path to the gcc binary. Would you like to change it? [yes] no Searching for a valid kernel header path... The path "" is not a valid path to the 2.6.18-ky3_SKL1_8_7.170.4 kernel headers. Would you like to change it? [yes] no WARNING: This program cannot compile any modules for the following reason(s)... - This program could not find a valid path to the gcc binary. Please ensure that the gcc binary is installed on this sytem. - This program could not find a valid path to the kernel headers of the running kernel. Please ensure that the header files for the running kernel are installed on this sytem. [ Press Enter key to continue ] The communication service is used in addition to the standard communication between the guest and the host. The rest of the software provided by VMware Tools is designed to work independently of this feature. If you wish to have the VMCI feature, you can install the driver by running vmware-config-tools.pl again after making sure that gcc, binutils, make and the kernel sources for your running kernel are installed on your machine. These packages are available on your distribution's installation CD. [ Press Enter key to continue ] The VM communication interface socket family is used in conjunction with the VM communication interface to provide a new communication path among guests and host. The rest of this software provided by VMware Tools is designed to work independently of this feature. If you wish to have the VSOCK feature you can install the driver by running vmware-config-tools.pl again after making sure that gcc, binutils, make and the kernel sources for your running kernel are installed on your machine. These packages are available on your distribution's installation CD. [ Press the Enter key to continue.] Execution aborted. Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device /dev/scd0 ...
执行命令,获得GCC可执行文件路径, 设置之.
which gcc另外找来内核头文件目录(参考 在 Ubuntu 中安装 VMware tools 找不到 Kernel header path的解决办法)
/lib/modules/2.6.18-ky3_SKL1_8_7.170.4/build/include/linux/