Installing VMware Tools For Linux Guests
[ 2005/01/21 10:50 | by gOxiA ]
VMware Tools for Linux Guests
1. Power on the virtual machine.
2. After the guest operating system has started, prepare your virtual machine to install VMware Tools.
Choose File > Install VMware Tools.
The remaining steps take place inside the virtual machine.
3. Be sure the guest operating system is running in text mode. You cannot install VMware Tools while X is running.
4. As root (su -), mount the VMware Tools virtual CD-ROM image, change to a working directory (for example, /tmp), uncompress the installer, then unmount the CD-ROM image.
Note: You do not use an actual CD-ROM to install VMware Tools, nor do you need to download the CD-ROM image or burn a physical CD-ROM of this image file. The VMware Workstation software contains an ISO image that looks like a CD-ROM to your guest operating system. This image contains all the files needed to install VMware Tools in your guest operating system.
Note: Some Linux distributions use different device names or organize the /dev directory differently. If your CD-ROM drive is not /dev/cdrom, modify the following commands to reflect the conventions used by your distribution.
5. Run the VMware Tools installer.
6. Log out of the root account.
7. Start X and your graphical environment.
8. In an X terminal, launch the VMware Tools background application.
Note: You may run VMware Tools as root or as a normal user. To shrink virtual disks, you must run VMware Tools as root (su -).
Starting VMware Tools Automatically
You may find it helpful to configure your guest operating system so VMware Tools starts when you start your X server. The steps for doing so vary depending on your Linux distribution and your desktop environment. Check your operating system documentation for the appropriate steps to take.
For example, in a Red Hat Linux 7.1 guest using GNOME, follow these steps.
1. Open the Startup Programs panel in the GNOME Control Center.
Main Menu (click the foot icon in the lower left corner of the screen) > Programs > Settings > Session > Startup Programs
2. Click Add.
3. In the Startup Command field, enter vmware-toolbox.
4. Click OK, click OK again, then close the GNOME Control Center.
The next time you start X, VMware Tools starts automatically.
Uninstalling VMware Tools
If you need to remove VMware Tools from your Linux guest operating system, log on as root (su -) and run the following command:
1. Power on the virtual machine.
2. After the guest operating system has started, prepare your virtual machine to install VMware Tools.
Choose File > Install VMware Tools.
The remaining steps take place inside the virtual machine.
3. Be sure the guest operating system is running in text mode. You cannot install VMware Tools while X is running.
4. As root (su -), mount the VMware Tools virtual CD-ROM image, change to a working directory (for example, /tmp), uncompress the installer, then unmount the CD-ROM image.
Note: You do not use an actual CD-ROM to install VMware Tools, nor do you need to download the CD-ROM image or burn a physical CD-ROM of this image file. The VMware Workstation software contains an ISO image that looks like a CD-ROM to your guest operating system. This image contains all the files needed to install VMware Tools in your guest operating system.
Note: Some Linux distributions use different device names or organize the /dev directory differently. If your CD-ROM drive is not /dev/cdrom, modify the following commands to reflect the conventions used by your distribution.
mount /dev/cdrom /mnt
cd /tmp
tar zxf /mnt/vmware-linux-tools.tar.gz
umount /mnt
cd /tmp
tar zxf /mnt/vmware-linux-tools.tar.gz
umount /mnt
5. Run the VMware Tools installer.
cd vmware-tools-distrib
./vmware-install.pl
./vmware-install.pl
6. Log out of the root account.
exit
7. Start X and your graphical environment.
8. In an X terminal, launch the VMware Tools background application.
vmware-toolbox
Note: You may run VMware Tools as root or as a normal user. To shrink virtual disks, you must run VMware Tools as root (su -).
Starting VMware Tools Automatically
You may find it helpful to configure your guest operating system so VMware Tools starts when you start your X server. The steps for doing so vary depending on your Linux distribution and your desktop environment. Check your operating system documentation for the appropriate steps to take.
For example, in a Red Hat Linux 7.1 guest using GNOME, follow these steps.
1. Open the Startup Programs panel in the GNOME Control Center.
Main Menu (click the foot icon in the lower left corner of the screen) > Programs > Settings > Session > Startup Programs
2. Click Add.
3. In the Startup Command field, enter vmware-toolbox.
4. Click OK, click OK again, then close the GNOME Control Center.
The next time you start X, VMware Tools starts automatically.
Uninstalling VMware Tools
If you need to remove VMware Tools from your Linux guest operating system, log on as root (su -) and run the following command:
vmware-uninstall-tools.pl
VSRV2005 vs VMware GSX 3.1
[ 2005/01/20 15:08 | by gOxiA ]
微软2004年底发布了VSRV2005,企业版的价格不过999美元(不过还是贵,呵呵!)相对于其他的虚拟机产品要便宜很多,而且程序容量也不大。通过WEB页面管理,支持web和控制器登录虚拟机。感觉还行,不过作为刚刚挤入虚拟机技术行列的他,在某些方面还是非常的不成熟,不过VSRV2005的差别盘功能还是很不错的,这样为我们节省了宝贵的空间,并可以迅速恢复系统。最可以的就是他不支持Linux,遗憾!之所以最后又安装使用VMware产品也就是因为这个原因,不过VMware GSX3.1确实功能非常强大,而且也很成熟,所以我决定用它来实现对linux的虚拟,VSRV2005作为虚拟Windows系统用。不过他的价格也是惊人的要6000多美金。
实际环境中,IBMx225,配置:英特志强2.8G 1G-DDR ECC 36.4SCSI*2
安装LinuxFC3只需要不到半个小时的时间,我当时真的很兴奋,而且发现它运行Linux很稳定。比起微软的产品要强上很多倍。而且我可以在远端轻松的修改CD-ROM设置,载入ISO安装软件。另外SSL加密方式自动就安装上了,比起微软要大方的多。
所以决定使用VMware GSX 3.1作为虚拟机平台,VSRV2005作为备用,希望VSRV2005能尽快改进。
实际环境中,IBMx225,配置:英特志强2.8G 1G-DDR ECC 36.4SCSI*2
安装LinuxFC3只需要不到半个小时的时间,我当时真的很兴奋,而且发现它运行Linux很稳定。比起微软的产品要强上很多倍。而且我可以在远端轻松的修改CD-ROM设置,载入ISO安装软件。另外SSL加密方式自动就安装上了,比起微软要大方的多。
所以决定使用VMware GSX 3.1作为虚拟机平台,VSRV2005作为备用,希望VSRV2005能尽快改进。
Linux下优秀的管理工具“webmin”
[ 2005/01/17 17:46 | by gOxiA ]
还是从一张Linux学习光盘中发现的webmin这个工具,主要是为管理Linux提供了可视化的WEB环境,据说不错,想想自己确实是Linux菜鸟,所以还是安装这个工具帮忙管理一下比较好。
从Webmin的官方站点下载了webmin-1.170.tar.gz
安装步骤:
按照提示,默认安装就可以了,默认安装所使用的端口是10000,安装后打开浏览器访问,哈哈就这样安装成功了!没想到这么简单,要是其他程序也像这样配置安装多好,一路的回车。
进入webmin后,还不能马上管理apache或者是mysql,需要再配置模块才行。感觉不是很难,马上就配置好了。不过发现webmin提供的apache管理中没有虚拟目录的设置,只有虚拟主机,现在头疼的问题就是配置后的虚拟目录在访问的时候,如果使用"http://192.168.0.242/phpmyadmin"访问就会跳转成"http://127.0.0.1/phpmyadmin",要么就是提示Not Found,如果结尾加上"/"就没有问题,看来需要找个apache的配置文档说明看看了。
接下来的几天准备安装测试WU-FTP并主力研究Apache的配置。
争取早日能熟练配置并理解其精髓。
从Webmin的官方站点下载了webmin-1.170.tar.gz
安装步骤:
tar zvxf webmin-1.170.tar.gz
cd webmin-1.170
./setup.sh
cd webmin-1.170
./setup.sh
按照提示,默认安装就可以了,默认安装所使用的端口是10000,安装后打开浏览器访问,哈哈就这样安装成功了!没想到这么简单,要是其他程序也像这样配置安装多好,一路的回车。
进入webmin后,还不能马上管理apache或者是mysql,需要再配置模块才行。感觉不是很难,马上就配置好了。不过发现webmin提供的apache管理中没有虚拟目录的设置,只有虚拟主机,现在头疼的问题就是配置后的虚拟目录在访问的时候,如果使用"http://192.168.0.242/phpmyadmin"访问就会跳转成"http://127.0.0.1/phpmyadmin",要么就是提示Not Found,如果结尾加上"/"就没有问题,看来需要找个apache的配置文档说明看看了。
接下来的几天准备安装测试WU-FTP并主力研究Apache的配置。
争取早日能熟练配置并理解其精髓。