@@ -53,48 +53,31 @@ rename it so that it doesn't interfere with the WRE MySQL.
53
53
will be using, including the AWStats site.
54
54
55
55
56
- 6. Run the WRE Console which you can use to configure WebGUI.
56
+ 6. Use the WRE environment
57
57
58
58
cd /data/wre/sbin
59
59
. setenvironment.sh
60
- ./wreconsole.pl
61
60
62
- NOTE: If you are not an administrator on this machine you should
63
- start the WRE console with sudo like thi:
64
-
65
- sudo ./wreconsole.pl
66
-
67
- NOTE: You should probably add the following command to your
68
- profile so it executes every time you log in:
61
+ NOTE: You could add the following command to your profile so it
62
+ executes every time you log in. However, on CentOS 5 servers
63
+ this can interfere with yum running:
69
64
70
65
. /data/wre/sbin/setenvironment.sh
71
66
72
67
73
- 7. Use your favorite web browser to visit the WRE Console setup page:
74
-
75
- http://localhost:60834/setup
76
- - or -
77
- http://www.example.com:60834/setup
78
-
79
- NOTE: You may have to open a firewall port to access this.
68
+ 7. Customize the WRE configuration file with database users, paths and other items.
80
69
70
+ vim /data/wre/etc/wre/conf
81
71
82
- 8. Follow the on screen instructions to complete the configuration.
83
72
84
- NOTE: Safari is not capable of displaying a page as it's being downloaded
85
- so it is not the best browser you can use for the setup process, which is
86
- a realtime process. Safari will work in most cases, but it is not ideal.
87
- We recommend Firefox instead.
73
+ 8. Run the WRE setup script to create base templates for nginx, logrotate and Spectre
88
74
75
+ /data/wre/sbin/wresetup.pl --configFile=/data/wre/etc/wre.conf
76
+
89
77
90
78
9. On the command-line, go to /data/WebGUI/sbin, and as root, run the testEnvironment.pl
91
79
script to install any new dependencies in WebGUI that may be missing from the WRE.
92
80
93
- 10. Go to the "Sites" tab and add your first web site.
94
-
95
-
96
- 11. Go to the "Services" tab and start mod_proxy, mod_perl, and S.P.E.C.T.R.E.
97
-
98
81
99
82
12. Visit your new web site!
100
83
@@ -148,19 +131,3 @@ http://www.osxgnu.org/software/pkgdetail.html?project_id=231#4095
148
131
To get the WRE to start automatically at boot run the following commands:
149
132
150
133
ln -s /data/wre/sbin/services/osx/org.webgui.wre.plist /Library/LaunchDaemons/
151
-
152
-
153
-
154
- * FreeBSD
155
-
156
- You must install and use the bash shell while using the WRE. The WRE also
157
- assumes that the bash shell is installed or linked at /bin/bash.
158
-
159
- You can set up the WRE to start automatically at system boot by running the
160
- following commands after the WRE is installed
161
-
162
- ln -s /data/wre/sbin/services/freebsd/webgui /usr/local/etc/rc.d/webgui
163
- echo "webgui_enable=YES" >> /etc/rc.conf.local
164
-
165
-
166
-
0 commit comments