75
75
# Do Not install python-svn-dbg.
76
76
# End 7.10 (Gutsy) specific
80
# ===============================
82
# Some of these instructions follow
83
# https://help.ubuntu.com/community/PostgreSQL
84
# 1. install the base packages
86
sudo apt-get install postgresql
87
sudo apt-get install python-pygresql
89
# Set the postgres user's postgres password
90
sudo -u postgres psql template1
91
# At the prompt type (substituting <***password***> with a real one.
92
ALTER USER postgres WITH ENCRYPTED PASSWORD '<***password***>';
97
# ===============================
78
98
# Check out the IVLE trunk
79
99
svn co https://ivle.svn.sourceforge.net/svnroot/ivle/trunk ivle_svn
80
100
# Says the SourceForge certificate authority is not trusted.
81
101
# I chose "Accept (p)ermanently" - Problem??
103
# Create a postgres database
104
cd <<ivle source directory>>/userdb
105
sudo -u postgres createdb ivle
106
sudo -u postgres psql -d ivle < users.sql
83
108
# NOTE: From this point onwards it is 7.10 (Gutsy) specific. This is because I
84
109
# never was able to get IVLE to build with all dependencies on Dapper.
110
135
cd /etc/apache2/sites-enabled/
111
136
sudo ln -fs /etc/apache2/sites-available/ivle.conf 000-default
138
# Make the directory corresponding to the directory for saved session
139
# objects in the apache config ivle.conf. Make sure it is owned by www-data,
140
# or at least readable and writable by it.
142
sudo mkdir /home/informatics/sessions
143
sudo chown www-data:www-data /home/informatics/sessions
113
145
# Restart the server
114
146
sudo apache2ctl -k restart
117
# Installing postgres
118
# ===============================
120
# Some of these instructions follow
121
# https://help.ubuntu.com/community/PostgreSQL
122
# 1. install the base packages
124
sudo apt-get install postgresql
125
sudo apt-get install python-pygresql
127
# Set the postgres user's postgres password
128
sudo -u postgres psql template1
129
# At the prompt type (substituting <***password***> with a real one.
130
ALTER USER postgres WITH ENCRYPTED PASSWORD '<***password***>';
134
cd <<ivle source directory>>/userdb
135
sudo -u postgres createdb ivle
136
sudo -u postgres psql -d ivle < users.sql
139
150
# Installing Pound