~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-01-31 23:32:10 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:356
Add some doco on how to get the ivle database happening.

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
 
113
113
# Restart the server
114
114
sudo apache2ctl -k restart
 
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