kylin3.1安装废话

在VMWare 8.0.1 上安装kylin3.1.skl.iso, 半小时搞定. 3个账号密码可以设置成一样的, 为此我还纠结了老半天.

kylin3.1安装废话_第1张图片

它没有软件源了, 用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/


两项设置之后都会提示无效, 不管它, 拒绝不更改, 然后疯狂回车, 黑屏, 复活时已经可以看到Enjoy字样了, 上面是分辨率选择, 我错过了. VMWare tools安装好了但未立即生效, 重新启动, 真不错, 客户机屏幕变大了, 鼠标可以自由移过客户机边界, 主宿机间文件复制也没问题了.




你可能感兴趣的:(vmware,gcc,header,kernel,tools)