This is a guide to install the WRE version 0.7.2 on a clean system with Ubuntu Server Edition 7.04 (Feisty).
Prerequisites:
Overview of what this guide covers:
After you have installed ubuntu we have to make sure it is up-to-date, to do this we do:
There is probably a new image available too, so after all the automatically installed updates we do:
This installs a new kernel for you. Then we reboot:
Since installing and configuring all of WebGUI using a console isn't really easy with copying and pasting stuff, we now install an ssh server so we can access our server remotely.
Then we login to our server from another computer to see if it works (use putty if you are using Windows).
Now that we have an easy way to access the server from our desktop we can proceed to really install the WebGUI Runtime Environment.
First, create a data directory on your new server and change its ownership to your own user.
Now go to the download page, click on the Linux, Mac, UNIX, BSD link to go to the Sourceforge Download page.
Click on the WRE 0.7.2 ubuntu feisty file to download, and click 'cancel' when your browser asks to save the file. Instead, copy the direct link and paste it in your ssh session after typing 'wget'.
After downloading that file, witch could take a while, depending on your internet connection, we can unpack it.
So we can use that in for running the wre:
Make the mysql user recursively own /data/wre/prereqs/mysql
Create a file in /data/wre/etc called crontab that contains:
0 1 * * * /data/wre/sbin/logrotate
*/3 * * * * /data/wre/sbin/wremonitor
0 3 * * * /data/wre/sbin/backup
0 2 * * * /data/wre/prereqs/awstats/tools/awstats_updateall.pl now -awstatsprog=/data/wre/prereqs/awstats/wwwroot/awstats.pl
-configdir=/data/wre/etc
Then run:
First install the Weather::Com::Finder module:
Then fix spectre.conf
Add the wre to the startup of your system:
Now lets start the wre:
<SynQ> I'm struggling with wre 0.7.2 now
<SynQ> but I guess you are not really interested in that
<SynQ> http://www.webgui.org/community-wiki/wre-0.7.2-on-ubuntu-server-edition-7.04-feisty
<SynQ> it seems ubuntu doesn't recognize the 'source' command
<rizen> yeah
<rizen> someone said that if you edit the first line of
<rizen> the /data/wre/prereqs/mysql/share/mysql/mysql.server script
<rizen> to be #!/bin/bash
<rizen> that fixes it
<SynQ> ok, lets try
<SynQ> that is not in the wiki btw :)
Keywords: message