From Campworld

LinuxServersFC5: HOWTO Fedora Core 5 Xen Guest Base Server Setup

History / Status

Introduction

All of our servers will start with this install. This base server is based on Fedora Core 5. This howto is like the base server setup for FC5 but slightly modified for a xen guest. The install will be done using disk images.

This howto assumes that you already have a xen host server setup and functioning. I'm also assuming that you are logged into the real server via ssh and also have a VNC client to access the Xen guests during setup.

Initial Setup

Not much we need to do here. Create a directory for the Xen disk images.
> mkdir /xen

Since the install will occure over the network be sure that you have a url to a Fedora Core 5 install tree.

Initial Install

FC5 provides a nice utiltiy to get things going. So type:
> xenguest-install.py

The installer starts in text mode. So set your language and your country. Setup your networking as required. Finally we get the chance to choose vnc for the rest of the install. Select vnc to continue.

Use your vnc client to connect to the graphical install.

First boot

First lets start the the virtual guest.
> xm create -c server-base
The guest will boot. Let the config screen time out. Then log in.

Now we need to disable selinux.

The Second Boot

Check to be sure the guest restarted.
> xm list
Everything looks good so:
xm console server-base

Login and type:
> yum upgrade
Agree to what it wants to do then set back and wait. when done reboot.

Installing Additional Packages

Webmin Configuration

Installing phpMyAdmin

I perfer to phpMyAdmin to manage my MySQL databases. There is no rpm for this package. This package is easy to install.

  1. If you haven't already done so, start MySQL.
  2. Its time to set the root password.
    > /usr/bin/mysqladmin -u root password 'thepassword'
    > /usr/bin/mysqladmin -p -u root -h localhost.localdomain password 'thepassword'
  3. Download the latest version of phpMyAdmin from www.phpmyadmin.net
  4. unpack the package
    > tar -xzvf phpMyAdmin-2.8.1.tar.gz
  5. Move it to the appropriate place.
    > mv phpMyAdmin-2.8.1 /usr/share/
  6. Create the apache config file for phpmyadmin and restart apache.
    > echo "alias /webdb /usr/share/phpMyAdmin-2.8.1" > /etc/httpd/conf.d/phpMyAdmin.conf
    > service httpd restart
  7. Configure phpMyAdmin
    > cd /usr/share/phpMyAdmin-2.7.0-pl1
    > cp libraries/config.default.php config.inc.php
    > nano -w config.inc.php
  8. Locate each of the following lines and be sure each has the following settings.
    $cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (con$
    $cfg['Servers'][$i]['user'] = 'root'; // MySQL user
    $cfg['Servers'][$i]['password'] = ''; // MySQL password (only nee$
  9. Save the file.
  10. now test it out.

Getting root's and other's mail

You need to get some local system user's mail. We'll use postfix's virtual file to get the emails to the right place.

Conclusion

That's it for the basic server setup. This is an example of a standard linux server setup. See the other pages for info on configuring servers for virtual webhosting or virtual email hosting.

Comments

vin code?03 June 2010, 09:58

<a href="http://hallofsofts.info/">ïðîáèòü âèí êîä</a>

Jonny?21 May 2010, 06:35

7DYHd1 Cool lol hey bla bla bla bla

Jonny?21 May 2010, 04:50

JQP5sH Cool lol hey bla bla bla bla

Jonny?21 May 2010, 03:09

oz4q1k Cool lol hey bla bla bla bla

Jonny?21 May 2010, 01:28

YWdgWs Cool lol hey bla bla bla bla

znakomstva?05 May 2010, 10:02

zwXrKp ïðîáèòü íîìåð òåëåôîíà, íàéòè ïî íîìåðó ÷åëîâåêà http://plav.pp.ua/

znakomstva?30 April 2010, 11:16

qclrkE http://pisar.pp.ua/

GanjaBoy67?22 October 2009, 11:52

Problems with finances, jobs, children, spouses and ex-spouses, friends, extended family, medical problems, and life-in-general are reported. ,

[

Retrieved from http://www.campworld.net/thewiki/pmwiki.php/LinuxServersFC5/FC5XenGuestBaseServer
Page last modified on June 03, 2010, at 09:58 AM