How To Detect a New Hard Disk Without Rebooting VMware Linux Guest:
ls /sys/class/scsi_host/ | while read host ; do echo "- - -" > /sys/class/scsi_host/$host/scan ; done
Problemi e Soluzioni di un sistemista informatico
Il blog tecnico di Maurizio Proietti a Prato 59100. Info e configurazioni linux microsoft e sviluppo php
How To Detect a New Hard Disk Without Rebooting VMware Linux Guest:
ls /sys/class/scsi_host/ | while read host ; do echo "- - -" > /sys/class/scsi_host/$host/scan ; done
Script batch per avviare i servizi di VMWare
@echo off
echo ======================================================
rem net stop "VMAuthdService"
netsh interface set interface "VMnet1" ENABLED
netsh interface set interface "VMnet8" ENABLED
net start "VMnetDHCP"
net start "VMware NAT Service"
net start "VMwareHostd"
net start "VMUSBArbService"
net start "VMAuthdService"
echo ======================================================
echo VMWARE partito
pause
Script batch per fermare i servizi di VMWare
@echo off
echo ======================================================
rem net stop "VMAuthdService"
netsh interface set interface "VMnet1" DISABLED
netsh interface set interface "VMnet8" DISABLED
net stop "VMAuthdService"
net stop "VMnetDHCP"
net stop "VMware NAT Service"
net stop "VMUSBArbService"
net stop "VMwareHostd"
echo ======================================================
echo VMWARE fermo
pause
Questa è una guida per installare i VMWare Tools su Slackware 12.2
Questi sono i passaggi da seguire:
links "http://prdownloads.sourceforge.net/libdnet/libdnet-1.11.tar.gz?download"
tar -zxvf libdnet-1.11.tar.gz
cd libdnet-1.11
./configure
make && make install && ldconfig
wget http://download.icu-project.org/files/icu4c/4.0.1/icu4c-4_0_1-src.tgz
wget http://slackbuilds.org/slackbuilds/12.2/libraries/icu4c.tar.gz
tar -zxvf icu4c-4_0_1-src.tgz
tar -zxvf icu4c.tar.gz
cd icu4c
mv ../icu4c-4_0_1-src.tgz ./
./icu4c.SlackBuild
mv /tmp/icu4c-4.0.1-i486-1_SBo.tgz /root/
installpkg ./icu4c-4.0.1-i486-1_SBo.tgz
wget http://mesh.dl.sourceforge.net/sourceforge/open-vm-tools/open-vm-tools-2009.02.18-148847.tar.gz
tar -zxvf open-vm-tools-2009.02.18-148847.tar.gz
cd open-vm-tools-2009.02.18-148847
./configure --includedir=/usr/include/uriparser --without-x --without-icu
make
Dalla VIM cliccare su Inventory-> Virtual Machine -> Install VMware Tools
tornare sulla console
mount /mnt/cdrom
cp /mnt/cdrom/VMwareTools-3.5.0-123629.tar.gz /root/
tar -zxvf VMwareTools-3.5.0-123629.tar.gz
cd open-vm-tools-2009.02.18-148847/modules/linux/
for i in *; do sudo mv ${i} ${i}-only; tar -cf ${i}.tar ${i}-only; done
cp *.tar /root/vmware-tools-distrib/lib/modules/source/
cd /root/vmware-tools-distrib/
mkdir /etc/pam.d
touch /etc/rc.d/init.d/network
ifconfig eth0 down
ifconfig eth1 down
ifconfig eth2 down
rmmod pcnet32
./vmware-install.pl
vmware-config-tools.pl
Ringrazio marcpem per l’how to originale
Spero sia di aiuto a tutti.
Saluti
Mi dava sempre l’errore
cannot open volume /vmfs/volumes/xxx
mentre cesco di montare un datastore nfs windows.
Ho risolto con il mapping degli utenti su SFU collegando root con administrator
Una meravigliosa guida che spiega come installare vmware server su fedora 7.
http://www.howtoforge.com/vmware_server_fedora7
ecco il cuore della guida:
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686′
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only’
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at “http://www.vmware.com/download/modules/modules.html” and
“http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html”.
Execution aborted.
This happens because VMware Server isn’t ready for a 2.6.21 kernel yet (the default kernel in Fedora 7 is 2.6.21.3). Therefore, we must patch VMware Server a little bit. This can be done as follows:
wget http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update110.tar.gz
tar xvfz vmware-any-any-update110.tar.gz
cd vmware-any-any-update110
./runme.pl
The ./runme.pl command will continue the VMware Server installation. This time it should succeed, and again you can accept all default values. When it asks you
In which directory do you want to keep your virtual machine files?
[/var/lib/vmware/Virtual Machines]
you can either accept the default value or specify a location that has enough free space to store your virtual machines.
At the end of the installation, you will be asked to enter a serial number:
Please enter your 20-character serial number.
Type XXXXX-XXXXX-XXXXX-XXXXX or ‘Enter’ to cancel:
Fill in your serial number for VMware Server.
After the successful installation, you can delete the VMware Server download file and the installation directory:
cd /home/falko/Desktop
rm -fr vmware-server-distrib
rm -f VMware-server-*.tar.gz
You will now find VMware Server under Applications > Other
ATTENZIONE:
Può essere causa di errore l'assenza di xinetd, quindi prima di iniziare l'installazione assicurarsi di avere xinetd:
yum install xinetd
ATTENZIONE 2:
Una altra possibile causa di problemi è la presenza del file
/etc/vmware/not_configured
occorre eliminarlo:
rm /etc/vmware/not_configured