Virtual server monitor:Installation/Installing from the sources

From Revolution Linux OpenSource projects

Jump to: navigation, search

The sources are available as a download from SourceForge.

Backend

The backend should be installed on hosts only (i.e. it is not needed to install a backend for each vserver; only for the vservers' host).

1- Install all backend's dependencies as listed at the top of this page (python packages can usually be installed with python setup.py install as root).

2- Install the backend :

tar jxvf vsmon-0.5.1.tar.bz2
cd vsmon-0.5.1/backend
python setup.py install 

3- Configure the backend (edit /usr/lib/python2.4/site-packages/vsmon/backend/settings.py)

Frontend

The frontend should be installed in it's own vserver.

1- Install all frontend's dependencies as listed at the top of this page (python packages can usually be installed with python setup.py install as root).

2- Install the frontend :

tar jxvf vsmon-0.5.1.tar.bz2
cd vsmon-0.5,1/frontend
python setup.py install 
ln -s /usr/lib/python2.4/site-packages/django/contrib/admin/media /var/www/html/
ln -s /usr/share/vsmon/frontend/site-media /var/www/html/

3- Install the database (see instructions for Mandriva) and configure the frontend (edit /usr/lib/python2.4/site-packages/vsmon/settings.py)

4- Start apache and browse to the server vsmon was installed on.

Personal tools