Installare VMware-server-1.0.1-29996

Pubblicità

nico.linux

Utente Attivo
Messaggi
225
Reazioni
0
Punteggio
38
[Risolto] Installare VMware-server-1.0.1-29996

Sto tentando di mettere VMware-server-1.0.1-29996 su una Kubuntu Dapper Drake

Stavo seguendo queste istruzioni
VMware Server is a free virtualization software which enables you to run Windows, BSD and Linux on your Linux server. With VMware Server it's possible to access the virtual machines remotely as the VMware Server is always running in the background on the server. The server does not even need X server installed. First install some packages needed to configure the VMware Server.

# sudo apt-get install xinetd
# sudo apt-get install build-essential
# sudo apt-get install linux-kernel-headers
# sudo apt-get install libX11-dev
# sudo apt-get install libxtst6
# sudo apt-get install xlibs-dev

## AMD64 users:
# sudo apt-get install ia32-libs

## If you are running the linux-server kernel
## (i.e. you installed from the Ubuntu Server Installation CD)
# sudo apt-get install linux-headers-server

## Ubuntu 6.06 users:
## If you are running the linux-686 kernel or linux-686-smp kernel
## (i.e. you installed from Desktop or Alternate Installation CD)
# sudo apt-get install linux-headers-686

## Ubuntu 6.10 users:
## If you are running the linux-generic kernel
## (i.e. you installed from Desktop or Alternate Installation CD)
# sudo apt-get install linux-headers-generic

Next install the VMware Server.

# tar xzf VMware-server-1.0.1-29996.tar.gz -C /tmp
# cd /tmp/vmware-server-distrib
# sudo ./vmware-install.pl
e va tutto regolare fin quando vado a dare
Codice:
sudo ./vmware-install.pl
il computer mi restituisce questo:
nico@nico:~$ sudo ./vmware-install.pl
sudo: ./vmware-install.pl: command not found
nico@nico:~$ cd /tmp/vmware-server-distrib/
nico@nico:/tmp/vmware-server-distrib$ sudo ./vmware-install.pl
A previous installation of VMware software has been detected.

Failure

Execution aborted.

nico@nico:/tmp/vmware-server-distrib$
Come posso fare?
 
Ultima modifica:
sicuro di non avere mezze installazioni fallite o incomplete di vmware sparse per il pc?

cerca nel file vmware-install.pl la stringa
A previous installation of VMware software has been detected.
così vediamo quale file trova che per lui significa già aver presente vmware ...
 
Quando dai sudo ./vmware-install.pl sei sicuro che in quella cartella ci sia il file in questione? Se c'è prova a renderlo eseguibile:
sudo chmod 755 vmware-install.pl e poi riprova.
 
@AMD: Ho provato a fare sudo chmd 755 vmware-install.pl ma non cambia nulla.. mi restituisce sempre lo stesso output di prima.

@airex: la cosa pare complicata... ti incollo un pezzo di file in cui comprende anche quello che cercavamo

# Make sure we have an initial database suitable for this installer. The goal
# is to encapsulates all the compatibilty issues in this (consequently ugly)
# function
sub get_initial_database {
my $made_dir1;
my $made_dir2;
my $bkp_dir;
my $bkp;
my $kind;
my $version;
my $intermediate_format;
my $status;
my $state_file;
my $state_files;

if (not (-e $gInstallerMainDB)) {
# This is the first installation. Create the installer database from
# scratch
print wrap('Creating a new installer database using the tar3 format.' . "\n\n", 0);

$made_dir1 = 0;
if (not (-d $gRegistryDir)) {
safe_mkdir($gRegistryDir);
$made_dir1 = 1;
}
safe_chmod(0755, $gRegistryDir);

if (not open(INSTALLDB, '>' . $gInstallerMainDB)) {
if ($made_dir1) {
rmdir($gRegistryDir);
}
error('Unable to open the tar installer database ' . $gInstallerMainDB
. ' in write-mode.' . "\n\n");
}
# Force a flush after every write operation.
# See 'Programming Perl', p. 110
select((select(INSTALLDB), $| = 1)[0]);

if ($made_dir1) {
db_add_dir($gRegistryDir);
}
# This file is going to be modified after its creation by this program.
# Do not timestamp it
db_add_file($gInstallerMainDB, 0);

return;
}

print wrap('A previous installation of VMware software has been detected.' . "\n\n", 0);

#
# Convert the previous installer database to our format and backup it
# Uninstall the previous installation
#

$bkp_dir = make_tmp_dir('vmware-installer');
$bkp = $bkp_dir . '/prev_db.tar.gz';

if (-x $gInstallerObject) {
$kind = direct_command(shell_string($gInstallerObject) . ' kind');
chop($kind);
if (system(shell_string($gInstallerObject) . ' version >/dev/null 2>&1')) {
# No version method -> this is version 1
$version = '1';
} else {
$version = direct_command(shell_string($gInstallerObject) . ' version');
chop($version);
}
print wrap('The previous installation was made by the ' . $kind
. ' installer (version ' . $version . ').' . "\n\n", 0);

if ($version < 2) {
# The best database format those installers know is tar. We will have to
# upgrade the format
$intermediate_format = 'tar';
} elsif ($version == 2) {
# Those installers at least know about the tar2 database format. We won't
# have to do much
$intermediate_format='tar2'
} else {
# Those installers at least know about the tar3 database format. We won't
# have to do anything
$intermediate_format = 'tar3';
}
system(shell_string($gInstallerObject) . ' convertdb '
. shell_string($intermediate_format) . ' ' . shell_string($bkp));

# Uninstall the previous installation
$status = system(shell_string($gInstallerObject) . ' uninstall');
# Beware, beyond this point, $gInstallerObject does not exist
# anymore.
} else {
# No installer object -> this is the old installer, which we don't support
# anymore.
$status = 1;
}
if ($status) {
remove_tmp_dir($bkp_dir);
error('Failure' . "\n\n");
}
mi sono limitato fino a qui ma il file è tutto in codice così ed è lunghissimo
 
AMD64 ha detto:
Rimuovi la directory di vmware e riprova a lanciare l'install.
sudo rm -r /etc/vmware


quoto, avevo lo stesso problema con il workstation, ed ho risolto così :nunu:


cmq sarò banale e niubbio, ma io quella cartella la cancello a mano :lol:

oddio sono un lamero scansa fatike... faccio sudo nautilus :lol:
mi viene il dubbio di dove si trova il cestino di root :lol: vabeh prima o poi lo scoprirò notando una cartella di parekki GB :lol:
 
Scusate non vi ho mandato il file vmware-install.pl?

nelle istruzioni alla fine dice
Codice:
sudo ./vmware-install.pl
ed io quello cerco di fare
 
ora qualcosa si sta smuovendo.

ho fatto:
nico@nico:~$ sudo rm -r /etc/vmware
Password:
nico@nico:~$ cd /tmp/vmware-server-distrib/
nico@nico:/tmp/vmware-server-distrib$ sudo ./vmware-install.pl
Creating a new installer database using the tar3 format.

Installing the content of the package.

In which directory do you want to install the binary files?
[/usr/bin]
Adesso cosa si aspetta che gli indichi?
 
nico.linux ha detto:
ora qualcosa si sta smuovendo.

ho fatto:
Adesso cosa si aspetta che gli indichi?


in pratica ti sta domandando dove installare ecc ecc

tra parentesi [ ] ti mette la risposta automatica ke si è dato il wizard :lol:

quindi vai sempre di invio (almenoke nn vuoi cambiare qualkosa...)

dopo arriverai alla parte nat e network.... e anke li dovrebbe darti sempre la risposta già messa....


poi arrivi alla licenza, e la scorri tutta tenendo invio...


e ti kiederà di accettare (devi scrivere accept :P :cav: )

poi ancora invio, e dovrebbe finire ....

è un wizard infatti..
 
ok sto dando sempre invio a quello che mi propone e sto leggendo di volta in volta quello che mi dice.

Ora sono arrivato a questo punto:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

ma quando do invio mi dice
The path "/usr/src/linux/include" is not an existing directory.
 
Pubblicità
Pubblicità
Indietro
Top