]> git.pld-linux.org Git - packages/SourceForge.git/blame - SourceForge-README.PLD
- tabs in preamble
[packages/SourceForge.git] / SourceForge-README.PLD
CommitLineData
a6ce62a7
SZ
1Step-by-step setup instructions for PLD
2----------------------------------------------------
31. Create a new table:
4
5$ echo "CREATE DATABASE sourceforge;" | mysql -p -u mysql mysql
6
72. Set up an mysql account
8
9$ echo "GRANT ALL PRIVILEGES ON sourceforge.* TO sourceforge@localhost IDENTIFIED BY 'mypass' WITH GRANT OPTION;" | mysql -p -u mysql mysql
10
113. Add /home/httpd/SourceForge/db/SourceForge.sql to your database:
12
13$ mysql -p -u sourceforge sourceforge < /home/httpd/SourceForge/db/SourceForge.sql
14
154. Set up DocumentRoot (for main server, or virtual host), in httpd.conf
16(or mod_vhost_alias.conf). DocumentRoot should point to
17/home/httpd/SourceForge/www. Remember about setting both unsecure and secure
902d3154
SZ
18connections. You can find an example sourceforge.conf file in
19documentation directory.
a6ce62a7
SZ
20
215. Edit php.ini and add /home/httpd/SourceForge/www/include to
22include_path variable
23
246. Edit /etc/SourceForge/local.inc to suit server configuration.
46ac6237
SZ
25
267. Log in, and add an 'admin' account via SSL
27
288. Execute following SQL commands:
29
30$ mysql -p -u sourceforge sourceforge << EOF
31> update user set user_id=2 where user_name='admin';
32> insert into user_group (user_id, group_id, admin_flags) values (2, 1, 'A');
33> insert into bug_category values (100, 100, 'None');
34> insert into bug_group values (100, 100, 'None');
35> EOF
36
379. Enjoy...
This page took 0.083706 seconds and 4 git commands to generate.