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

Be the First to Comment!

Notify of
wpDiscuz

Upcoming Events (CET)

There are no events.

RHCSA7: Task of the day

Allowed time: 10 minutes.
Create two new user accounts "steve" and "oliver".
Create a group "team". Create a directory "shared".
All files put into the "shared" directory by "steve" or "oliver" should belong to the "team" group and be only visible by them.

RHCE7: Task of the day

Allowed time: 10 minutes.
Set up a NFS server that exports the /opt directory in read-only mode.

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 ...