~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to doc/setup/install_proc.txt

  • Committer: stevenbird
  • Date: 2008-02-16 01:18:46 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:481
reverted change that added a command-line flag to specify that an account should be enabled as this bypasses creating the jail

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
# Apt packages
40
40
sudo apt-get install subversion
41
41
sudo apt-get install gcc libc6 libc6-dev make
 
42
sudo apt-get install apache2 libapache2-mod-python
 
43
 
42
44
# On 6.06 (Dapper):
43
45
sudo apt-get install python2.4-dev
44
46
# On 7.10 (Gutsy):
92
94
ALTER USER postgres WITH ENCRYPTED PASSWORD '<***password***>';
93
95
\q
94
96
 
 
97
##########################################################################
 
98
 
95
99
#
96
100
# Installing ivle
97
101
# ===============================
98
102
# Check out the IVLE trunk
99
 
svn co https://ivle.svn.sourceforge.net/svnroot/ivle/trunk ivle_svn
 
103
export IVLE_SVN=ivle_svn
 
104
svn co https://ivle.svn.sourceforge.net/svnroot/ivle/trunk $IVLE_SVN
 
105
 
 
106
cd $IVLE_SVN
 
107
 
100
108
# Says the SourceForge certificate authority is not trusted.
101
109
# I chose "Accept (p)ermanently" - Problem??
102
110
 
103
111
# Create a postgres database
104
 
cd <<ivle source directory>>/userdb
 
112
sudo -u postgres dropdb ivle  # if it was previously created and now changed
105
113
sudo -u postgres createdb ivle
106
 
sudo -u postgres psql -d ivle < users.sql
 
114
sudo -u postgres psql -d ivle < userdb/users.sql
107
115
 
108
116
# NOTE: From this point onwards it is 7.10 (Gutsy) specific. This is because I
109
117
# never was able to get IVLE to build with all dependencies on Dapper.
110
118
 
111
119
# Set up IVLE
112
 
cd ivle_svn
113
120
./setup.py listmake
114
121
./setup.py config
115
122
 
122
129
sudo ./setup.py install
123
130
 
124
131
# Create a user
125
 
sudo ./makeuser.py <username>
126
 
 
127
 
# Set up the Apache HTTP server
128
 
sudo apt-get install apache2 libapache2-mod-python
129
 
 
130
 
# DO: Copy the file "ivle.conf" from this package to
131
 
# /etc/apache2/sites-available.
 
132
sudo ./makeuser.py [OPTIONS] <login> 'Firstname Lastname' <rolenm> -p <password>
 
133
# role = guest/student/tutor/lecturer/admin
 
134
 
 
135
# Configure the Apache HTTP server
 
136
sudo cp setup/ivle.conf /etc/apache2/sites-available
132
137
# MODIFY the first few lines so it is specific to your server.
 
138
vim /etc/apache2/sites-available/ivle.conf
133
139
 
134
140
# Replace the existing config link with the ivle one
135
141
cd /etc/apache2/sites-enabled/
147
153
 
148
154
 
149
155
#
150
 
# Installing Pound
 
156
# Installing Pound reverse proxy (optional)
151
157
sudo apt-get install pound
152
158
 
153
159
# edit /etc/default/pound so that the line reading