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

« back to all changes in this revision

Viewing changes to doc/setup/install_proc.txt

  • Committer: drtomc
  • Date: 2008-02-13 04:44:30 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:444
dispatch: Change the session timeout to 24 hours (there doesn't seem to be
    a way of specifying "never"

install_proc.txt: document creating the sessions directory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
# ===============================
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??
82
102
 
 
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
 
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.
85
110
 
110
135
cd /etc/apache2/sites-enabled/
111
136
sudo ln -fs /etc/apache2/sites-available/ivle.conf 000-default
112
137
 
 
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
 
113
145
# Restart the server
114
146
sudo apache2ctl -k restart
115
147
 
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
137
148
 
138
149
#
139
150
# Installing Pound