]>
Commit | Line | Data |
---|---|---|
a6ce62a7 SZ |
1 | Step-by-step setup instructions for PLD |
2 | ---------------------------------------------------- | |
3 | 1. Create a new table: | |
4 | ||
5 | $ echo "CREATE DATABASE sourceforge;" | mysql -p -u mysql mysql | |
6 | ||
7 | 2. 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 | ||
11 | 3. Add /home/httpd/SourceForge/db/SourceForge.sql to your database: | |
12 | ||
13 | $ mysql -p -u sourceforge sourceforge < /home/httpd/SourceForge/db/SourceForge.sql | |
14 | ||
15 | 4. 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 |
18 | connections. You can find an example sourceforge.conf file in |
19 | documentation directory. | |
a6ce62a7 SZ |
20 | |
21 | 5. Edit php.ini and add /home/httpd/SourceForge/www/include to | |
22 | include_path variable | |
23 | ||
24 | 6. Edit /etc/SourceForge/local.inc to suit server configuration. |