Changes

From Amahi Wiki
Jump to: navigation, search
40 bytes removed ,  03:38, 23 June 2020
no edit summary
*Now we need to install some needed packages, open a terminal and enter:
{{Code| su - yum -y install kernel-devel-`uname -r` xinetd gcc gcc-c++ perl-devel perl-ExtUtils-Embed wget vim-enhanced exit}}
*VMware server 2.02 does not work with kernel 2.6.35 out of the box, so we need a small script:
{{Code| wget --no-check-certificate <nowiki>http://codebin.cotescu.com/vmware/vmware-server-2.0.x-kernel-2.6.3x-install.sh}}</nowiki>
*Look at your download directory. You should find these files:
# -rw-r--r-- 1 user group 8696 Dec 16 16:46 raducotescu-vmware-server-linux-2.6.3x-kernel-release-1.5-1-g71f8b66.tar.gz
# -rw-rw-r-- 1 user group 506047036 Dec 16 16:31 VMware-server-2.0.2-203138.i386.tar.gz
* Now, unpack the file we got from the script:
{{Code| tar xvfz raducotescu-vmware-server-linux-2.6.3x-kernel-release-1.5-1-g71f8b66.tar.gz}}
*A new directory has been created:
# ls -l
# -rw-rw-r-- 1 user group 506047036 Dec 16 16:31 VMware-server-2.0.2-203138.i386.tar.gz
*Move the downloaded VMware server in the new directory:
{{Code| mv VMware-server-2.0.2-203138.i386.tar.gz raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66/ cd raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66 ls -l}}
*Your directory should now look like this:
# -rw-rw-r-- 1 user group 1321 Nov 14 22:24 LICENSE
*To install VMware server, we need the script vmware-server-2.0.x-kernel-2.6.3x-install.sh.
To execute it, root rights are required.
{{Code| ./vmware-server-2.0.x-kernel-2.6.3x-install.sh}}
*The installer will ask a lot of questions which can be answered by defaults by hitting ''Enter''.
At the question:
the installer will get stuck. Close it with ''Ctrl-C''.
*The VMware configfile must be edited to continue:
{{Code| chmod 755 /usr/bin/vmware-config.pl vim /usr/bin/vmware-config.pl}}
You can of course use another editor, but he should display line numbers.
Around line 2702, replace
{{Text|Text=<pre>[...]
if (-e $answer . '/linux/utsrelease.h') <nowiki>{</nowiki>
$uts_headers .<nowiki>=</nowiki> "#include <linux/utsrelease.h>\n";
<nowiki>}</nowiki>
[...]}}</pre>
with
{{Text|Text=<pre>[...]
if (-e $answer . '/generated/utsrelease.h') <nowiki>{</nowiki>
$uts_headers .<nowiki>=</nowiki> "#include <./generated/utsrelease.h> \n";
<nowiki>}</nowiki>
[...]}}</pre>
*Now run the configuration script:
{{Code| /usr/bin/vmware-config.pl}}
to finish the installation.
*Only two questions need specific answers, answer the default values with''Enter'' for the others again:
12,424

edits