ProcksiFramework » History » Version 4
Anonymous, 07/30/2008 11:04 AM
1 | 1 | Anonymous | = ProCKSI Framework = |
---|---|---|---|
2 | 1 | Anonymous | (needs to be updated) |
3 | 1 | Anonymous | |
4 | 1 | Anonymous | == Installation and Basic Configuration == |
5 | 1 | Anonymous | This section describes the installation and configuration of the ProCKSI server component. This includes the configuration of the web server and the database. |
6 | 1 | Anonymous | |
7 | 1 | Anonymous | The server component will be installed into the home directory of the user ''procksi''. Therefore, make sure that it is on a separate partition / hard disk with much space. In the best case, this will be a RAID system. |
8 | 1 | Anonymous | |
9 | 1 | Anonymous | Get the latest release of the server component, referred to in the following as ''RELEASE'', and extract it into ''/home/procksi/RELEASE.'' |
10 | 1 | Anonymous | {{{ |
11 | 1 | Anonymous | tar -xvzf RELEASE.tgz |
12 | 1 | Anonymous | }}} |
13 | 1 | Anonymous | |
14 | 1 | Anonymous | Create a softlink from ''RELEASE'' to a generic directory ''/home/procksi/latest''. This will be accessed by the web server: |
15 | 1 | Anonymous | {{{ |
16 | 1 | Anonymous | ln -s /home/procksi/RELEASE /home/procksi/latest |
17 | 1 | Anonymous | }}} |
18 | 1 | Anonymous | |
19 | 1 | Anonymous | In order to test new versions, referred in the following as ''TEST'', before taking them officially online, create a softlink from ''TEST'' to a generic directory ''/home/procksi/test''. This will be accessed by the web server: |
20 | 1 | Anonymous | {{{ |
21 | 1 | Anonymous | ln -s /home/procksi/TEST /home/procksi/test |
22 | 1 | Anonymous | }}} |
23 | 1 | Anonymous | |
24 | 1 | Anonymous | In case that you want to bring the test version online, just delete the softlinks and repeat the previous steps for the new release. Please make sure that always both softlinks exist! |
25 | 1 | Anonymous | |
26 | 3 | Anonymous | Make sure that a shared directory for log and lock files of all releases exists: |
27 | 3 | Anonymous | {{{ |
28 | 3 | Anonymous | mkdir /home/procksi/logs |
29 | 3 | Anonymous | mkdir /home/procksi/locks |
30 | 3 | Anonymous | }}} |
31 | 3 | Anonymous | |
32 | 1 | Anonymous | Change into the administrative directory and run the installation script. Change the server settings, database settings and directory settings if necessary. |
33 | 1 | Anonymous | {{{ |
34 | 4 | Anonymous | cd /home/procksi/latest/install |
35 | 3 | Anonymous | ./setup.pl |
36 | 1 | Anonymous | }}} |
37 | 1 | Anonymous | |
38 | 2 | Anonymous | Check that all links in ''/home/procksi/latest/bin'' point to the correct files of the operating system. |