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

« back to all changes in this revision

Viewing changes to doc/setup/install_proc.txt

  • Committer: mattgiuca
  • Date: 2008-02-05 22:56:59 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:425
tutorial: Refactored present_worksheet so it has a separate function for
presenting an XML element (so it can be recursive). (But does not solve the
recursion problem yet).

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
# Apt packages
40
40
sudo apt-get install subversion
41
 
sudo apt-get install gcc libc6 libc6-dev make
 
41
sudo apt-get install gcc libc6 libc6-dev
42
42
# On 6.06 (Dapper):
43
43
sudo apt-get install python2.4-dev
44
44
# On 7.10 (Gutsy):
75
75
# Do Not install python-svn-dbg.
76
76
# End 7.10 (Gutsy) specific
77
77
 
78
 
#
79
 
# Installing postgres
80
 
# ===============================
81
 
#
82
 
# Some of these instructions follow
83
 
#     https://help.ubuntu.com/community/PostgreSQL
84
 
# 1. install the base packages
85
 
 
86
 
sudo apt-get install postgresql
87
 
sudo apt-get install python-pygresql
88
 
 
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***>';
93
 
\q
94
 
 
95
 
#
96
 
# Installing ivle
97
 
# ===============================
98
78
# Check out the IVLE trunk
99
79
svn co https://ivle.svn.sourceforge.net/svnroot/ivle/trunk ivle_svn
100
80
# Says the SourceForge certificate authority is not trusted.
101
81
# I chose "Accept (p)ermanently" - Problem??
102
82
 
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
107
 
 
108
83
# NOTE: From this point onwards it is 7.10 (Gutsy) specific. This is because I
109
84
# never was able to get IVLE to build with all dependencies on Dapper.
110
85
 
135
110
cd /etc/apache2/sites-enabled/
136
111
sudo ln -fs /etc/apache2/sites-available/ivle.conf 000-default
137
112
 
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.
141
 
 
142
 
sudo mkdir /home/informatics/sessions
143
 
sudo chown www-data:www-data /home/informatics/sessions
144
 
 
145
113
# Restart the server
146
114
sudo apache2ctl -k restart
147
115
 
 
116
#
 
117
# Installing postgres
 
118
# ===============================
 
119
#
 
120
# Some of these instructions follow
 
121
#     https://help.ubuntu.com/community/PostgreSQL
 
122
# 1. install the base packages
 
123
 
 
124
sudo apt-get install postgresql
 
125
sudo apt-get install python-pygresql
 
126
 
 
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***>';
 
131
\q
 
132
 
 
133
# Create a database
 
134
cd <<ivle source directory>>/userdb
 
135
sudo -u postgres createdb ivle
 
136
sudo -u postgres psql -d ivle < users.sql
148
137
 
149
138
#
150
139
# Installing Pound
156
145
#     startup=1
157
146
#
158
147
# copy pound.cfg to /etc/pound/pound.cfg
159
 
# edit IP addresses in pound.cfg