Arief Yudhawarman

Masih belajar buat blog

Archive for the ‘openvz’ Category

Create OpenVZ RHEL 5.5 Template With Minimal Xwindows

with one comment

This guide is a reference on how to create a Red Hat Enterprise Linux v5.5 64bit template for OpenVZ. The template will support for running xwindows applications using twm (Tab Window Manager). TWM is a window manager for the X Window System, a small program, being built against Xlib rather than using a widget library, and as such, it is very light on system resources. Though simple, it is highly configurable; fonts, colours, border widths, title bar buttons, etc. can all be set by the user.


RHEL 5.5 Installation

Install RHEL 5.5 at physical server using text mode. We do the minimum installation.

  • Do not modify LVM just install as usual.
  • Do not enable selinux.
  • Disable firewall.
  • At the package group selection just select Core and Base.

After installing, boot the server and mount RHEL 5.5 DVD at /media/RHEL5.5.

We are using the RHEL 5.5 DVD as a yum repository. So create file /etc/yum.repos.d/rhel-dvd.repo

[dvd]
name=Red Hat Enterprise Linux Installation DVD
baseurl=file:///media/RHEL5.5/Server
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

The attribut gpg copied from /etc/yum.repos.d/rhel-debuginfo.repo.
Read the rest of this entry »

Advertisements

Written by awarmanf

December 12, 2014 at 3:58 am

Posted in centos, Linux, openvz

Tagged with , ,