SYS: Install Red Hat Enterprise Linux systems as virtual guests.

Share this link

To create a VM guest (here called postfix.example.com with an httpd install server at 192.168.1.5, a size of 5GB, 1GB of memory, and 1 vCPU), type:

# /usr/sbin/virt-install --virt-type kvm --name=postfix.example.com \
--disk path=/var/lib/libvirt/images/postfix.example.com.img,size=5 \
--ram=1024 --vcpus=1 --os-variant=rhel6 --accelerate --graphics vnc \
-v --location http://192.168.1.5/ --network network:default

In addition, if you want to configure the VM guest with a KICKSTART file, you will have to create this file (here ks_postfix.cfg) and add the following option:

-x ks=http://192.168.1.5/ks_postfix.cfg

For a deeper understanding on the subject, you can look at how to set up a lab.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Leave a Reply

RHCSA7: Task of the day

Allowed time: 10 minutes.
Create an EXT4 file system mounted by UUID in /etc/fstab under /vol based on a logical volume of 28 logical extents.

RHCE7: Task of the day

Allowed time: 15 minutes.
Configure a Samba server called MYSERVER, belonging to the MYGROUP group, sharing the /shared directory with the name "shared".

Follow me on Twitter

Poll for favorite RHEL 7 book

What is your favorite RHEL 7 book to prepare RHCSA & RHCE exams?

View Results

Loading ... Loading ...

Poll for most difficult RHCSA 7 topic

What do you think is the most difficult RHCSA 7 topic?

View Results

Loading ... Loading ...

Poll for most difficult RHCE 7 topic

What do you think is the most difficult RHCE 7 topic?

View Results

Loading ... Loading ...

Archives