Skip to content

Commit 7ea6018

Browse files
committedJan 7, 2012
Updated install instructions.
1 parent a44d812 commit 7ea6018

File tree

1 file changed

+19
-10
lines changed

1 file changed

+19
-10
lines changed
 

‎wre/docs/install.txt

+19-10
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,22 @@ commands like this:
4242
killall mysqld
4343
killall httpd
4444

45+
4. Install Percona mysql. See instructions in BUILD.redhat and BUILD.mac
4546

46-
4. If you have a MySQL config file at /etc/my.cnf please remove or
47+
Leave in the test user and database, as they're needed for the WRE to see if
48+
mysql is up and running.
49+
50+
5. If you have a MySQL config file at /etc/my.cnf please remove or
4751
rename it so that it doesn't interfere with the WRE MySQL.
4852

49-
mv /etc/my.cnf /etc/my.cnf.old
53+
cp /data/wre/var/setupfiles//my.cnf /etc/my.cnf.old
5054

5155

52-
5. Create your DNS entries (or add to /etc/hosts) for the sites you
56+
6. Create your DNS entries (or add to /etc/hosts) for the sites you
5357
will be using, including the AWStats site.
5458

5559

56-
6. Use the WRE environment
60+
7. Use the WRE environment
5761

5862
cd /data/wre/sbin
5963
. setenvironment.sh
@@ -65,24 +69,24 @@ will be using, including the AWStats site.
6569
. /data/wre/sbin/setenvironment.sh
6670

6771

68-
7. Customize the WRE configuration file with database users, paths and other items.
72+
8. Customize the WRE configuration file with database users, paths and other items.
6973

70-
vim /data/wre/etc/wre/conf
74+
vim /data/wre/etc/wre.conf
7175

7276

73-
8. Run the WRE setup script to create base templates for nginx, logrotate and Spectre
77+
9. Run the WRE setup script to create base templates for nginx, logrotate and Spectre
7478

7579
/data/wre/sbin/wresetup.pl --configFile=/data/wre/etc/wre.conf
7680

7781

78-
9. On the command-line, go to /data/WebGUI/sbin, and as root, run the testEnvironment.pl
82+
10. On the command-line, go to /data/WebGUI/sbin, and as root, run the testEnvironment.pl
7983
script to install any new dependencies in WebGUI that may be missing from the WRE.
8084

8185

82-
12. Visit your new web site!
86+
11. Visit your new web site!
8387

8488

85-
13. Add the following cron jobs to your server's cron tab.
89+
12. Add the following cron jobs to your server's cron tab.
8690

8791
0 0 * * * /data/wre/sbin/logrotate.pl
8892
*/3 * * * * /data/wre/sbin/wremonitor.pl
@@ -111,6 +115,11 @@ chkconfig webgui on
111115

112116
On RHEL 5 or higher you need to install the libgomp RPM.
113117

118+
Installing Percona via yum:
119+
120+
rpm -Uhv http://www.percona.com/downloads/percona-release/percona-release-0.0-1.i386.rpm
121+
yum install -y Percona-Server-{server,client,shared,devel}-55
122+
114123

115124
* SELinux
116125

0 commit comments

Comments
 (0)
Please sign in to comment.