140
140
##########################################################################
141
141
# Setting up phpBB Forum in IVLE
142
142
##########################################################################
144
# Change to the installed IVLE directory
143
# Change back to the SVN directory
146
# Create a postgres database
147
# (only need the first line if it was previously created and is now changed)
148
sudo -u postgres dropdb ivle_forum
149
sudo -u postgres createdb ivle_forum
150
sudo -u postgres psql -d ivle_forum < userdb/forum_schema.sql
151
sudo -u postgres psql -d ivle_forum < userdb/forum_data.sql
153
#Change to the installed IVLE directory
146
155
# Fix permissions for install
147
156
cd www/php/phpBB3
149
chmod 777 cache/ files/ store/ images/avatars/upload config.php
151
# Add database to Postgres server
152
sudo -u postgres createdb forum
154
# Log on to IVLE and open the Forum Application (/forum)
155
# Click 'INSTALL' tab, 'Proceed to next step'
156
# Check that requirements are OK
157
# Click 'Start install'
158
# Fill in Database configuration
159
# Database type: PostgreSQL 7.x/8.x
160
# # localhost doesn't work, but localhost.csse.unimelb.edu.au does?
161
# Database server hostname: 127.0.0.1
162
# Database name: forum
163
# Database username: postgres
164
# Database password: ##Same as password for ivle db##
165
# Complete the rest of the wizard with site settings
167
# Remove the Install directory to enable access
170
# Disable Registration...
157
# At very minimum you apache user must be able to write to
158
# cache/ files/ store/ images/avatars/upload config.php
159
chown www-data:www-data .
172
161
##########################################################################
173
162
# Installing Pound reverse proxy (optional)