Skip to content

Commit 80fccc9

Browse files
committedJan 6, 2012
First cut at install instructions. Needs specifics on adding sites and starting services.
1 parent 22dc592 commit 80fccc9

File tree

1 file changed

+9
-42
lines changed

1 file changed

+9
-42
lines changed
 

‎wre/docs/install.txt

+9-42
Original file line numberDiff line numberDiff line change
@@ -53,48 +53,31 @@ rename it so that it doesn't interfere with the WRE MySQL.
5353
will be using, including the AWStats site.
5454

5555

56-
6. Run the WRE Console which you can use to configure WebGUI.
56+
6. Use the WRE environment
5757

5858
cd /data/wre/sbin
5959
. setenvironment.sh
60-
./wreconsole.pl
6160

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:
6964

7065
. /data/wre/sbin/setenvironment.sh
7166

7267

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.
8069

70+
vim /data/wre/etc/wre/conf
8171

82-
8. Follow the on screen instructions to complete the configuration.
8372

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
8874

75+
/data/wre/sbin/wresetup.pl --configFile=/data/wre/etc/wre.conf
76+
8977

9078
9. On the command-line, go to /data/WebGUI/sbin, and as root, run the testEnvironment.pl
9179
script to install any new dependencies in WebGUI that may be missing from the WRE.
9280

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-
9881

9982
12. Visit your new web site!
10083

@@ -148,19 +131,3 @@ http://www.osxgnu.org/software/pkgdetail.html?project_id=231#4095
148131
To get the WRE to start automatically at boot run the following commands:
149132

150133
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

Comments
 (0)
Please sign in to comment.