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

RHCSA7: Task of the day

Allowed time: 10 minutes.
Boot and change the root password before the end of the boot process.

RHCE7: Task of the day

Allowed time: 10 minutes.
Set up a default secure MariaDB database called maria with a user named muser with all privileges.

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