@@ -42,18 +42,22 @@ commands like this:
42
42
killall mysqld
43
43
killall httpd
44
44
45
+ 4. Install Percona mysql. See instructions in BUILD.redhat and BUILD.mac
45
46
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
47
51
rename it so that it doesn't interfere with the WRE MySQL.
48
52
49
- mv /etc /my.cnf /etc/my.cnf.old
53
+ cp /data/wre/var/setupfiles/ /my.cnf /etc/my.cnf.old
50
54
51
55
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
53
57
will be using, including the AWStats site.
54
58
55
59
56
- 6 . Use the WRE environment
60
+ 7 . Use the WRE environment
57
61
58
62
cd /data/wre/sbin
59
63
. setenvironment.sh
@@ -65,24 +69,24 @@ will be using, including the AWStats site.
65
69
. /data/wre/sbin/setenvironment.sh
66
70
67
71
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.
69
73
70
- vim /data/wre/etc/wre/ conf
74
+ vim /data/wre/etc/wre. conf
71
75
72
76
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
74
78
75
79
/data/wre/sbin/wresetup.pl --configFile=/data/wre/etc/wre.conf
76
80
77
81
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
79
83
script to install any new dependencies in WebGUI that may be missing from the WRE.
80
84
81
85
82
- 12 . Visit your new web site!
86
+ 11 . Visit your new web site!
83
87
84
88
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.
86
90
87
91
0 0 * * * /data/wre/sbin/logrotate.pl
88
92
*/3 * * * * /data/wre/sbin/wremonitor.pl
@@ -111,6 +115,11 @@ chkconfig webgui on
111
115
112
116
On RHEL 5 or higher you need to install the libgomp RPM.
113
117
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
+
114
123
115
124
* SELinux
116
125
0 commit comments