≡ Menu

Linux & Unix Virtualization Guides

Linux and Unix Virtualization tutorials for creating a virtual machines (VMS), installing guest operating system (OS), storage device, and computer network resources. The main focus is on KVM, Vmware, LXC, FreeBSD Jails, Xen and related technologies ( rss).

Can RAID Act As The Reliable BACKUP Solution For Linux / UNIX / Windows Server?

Q. Can I use RAID as the only backup solution under Linux? Is RAID is reliable backup solution for server?
[click to continue…]

Suse Linux install vmware tools

Q. I’m using OpenSuse as Guest OS (VPS). Installing SUSE Linux as a VMware Workstation guest operating system was easy task. But how do I setup and install SUSE Linux as a VMware Guest? How do I install vmware tools to improve performance?

A. In order to install Vmware tools, you need to build kernel modules. Building kernel modules is easy provided that following packages are installed on the guest OpenSuse / Suse Linux (VPS):

=> kernel-source

=> binutils

=> make

=> gcc

=> gcc-c++

Install required software

Login to guest oses using SSH or Vmware server console. Use yast command (yast control center) to install required software:
# yast
Select Software > Software management > Add above packages > Accept and install the softwares
The Software Management tool in YaST text mode
(YaST text mode software installation)

If you are using a GUI, you should see screen as follows (YaST2 screen):

Start VMWARE Tools installation

You need to start VMware tools installation from Vmware server console or Vmware Workstation VM menu.
Click on VM Menu > Select Install Vmware Tools... > Click on Install
Start VMWARE Tools installation

Mount the VMware Tools virtual CD

If you are using guest system’s desktop, you should have mounted a CD. If you are using text mode, run mount command as follows:
# mount /dev/hdc /media

mount: block device /dev/hdc is write-protected, mounting read-only

Replace /dev/hdc with actual virtual cd rom drive.

Install the VMware Tools RPM

Finally install rpm file,
cd /media
rpm -ivh VMwareTools-1.0.3-44356.i386.rpm

Configure Vmware tools

Next you need to run the VMware Tools configuration script. You must run script from VMWare server console / Workstation and not from SSH session:
# vmware-config-tools.pl
# vmware-config-tools.pl -default

Can I use tape drive with XEN VPS / Guest oses?

Q. I’ve CentOS 5.0 server running XEN kernel. VPS Guest is Linux distribution. How do I use tape drive with XEP Guest os?

A. You can’t use character devices such as tape drives in Xen guests. This is limitation of Xen. It doesn't have the ability to export character devices to multiple guests oses.

However for backup you can use rsync or ftp server or NAS server.

What are the different RAID levels for Linux / UNIX and Windows Server?

Q. What are the different RAID levels? Which one is recommended for file server and database server?
[click to continue…]

OpenVZ Virtual Machine (VPS) Management

Now, my VPS is up and running. How do I manage my hardware node and VPS? How do I see a list of all running VPSes? How do I see memory usage and other stuff?
[click to continue…]

OpenVZ Iptables: Allow Traffic To Pass Via venet0 To All VPS

How do I configure IPTABLES to pass all traffic to my VPS (container) under hardware node?
[click to continue…]

How To Create OpenVZ Virtual Machines (VPS)

How do I create OpenVZ virtual machine (VPS) to run CentOS or Debian as VPS?
[click to continue…]

CentOS Linux Install OpenVZ Virtualization Software

How do I install OpenVZ Virtualization container software under Red Hat Enterprise Linux or CentOS Linux 5.x server?
[click to continue…]