Changes between Version 6 and Version 7 of ServerAdministrationNBX


Ignore:
Timestamp:
Jun 20, 2011, 4:10:17 PM (5 years ago)
Author:
business@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ServerAdministrationNBX

    v6 v7  
    3434exit
    3535}}}
     36
     37=== Set up Apache virtual host configuration ===
     38
    3639 * Copy the appropriate virtual host configuration from the SVN templates to the apache virtual host directory and adjust it to your wishes
    3740{{{
     
    4144sudo vi dbnp.org_gscf-www.conf
    4245}}}
    43  * Restart Apache webserver
     46 * Install modproxy and restart Apache webserver
    4447{{{
    45 /etc/init.d/apache2 reload
     48sudo apt-get install libapache2-mod-proxy-html
     49sudo ln -s /etc/apache2/mods-available/proxy* /etc/apache2/mods-enabled/
     50sudo /etc/init.d/apache2 reload
    4651}}}
     52
     53=== Set up Postgres database ===
     54
     55 * As user postgres, create a new database user account
     56{{{
     57sudo -u postgres createuser -d -R -P dbnp;
     58}}}
     59You will be asked for a password, it is advisable to create a secure (e.g. 20 characters) random password, for example with a password generator website
     60 * Create a gscf database and make the newly created database account owner
     61{{{
     62sudo -u postgres createdb -O dbnp gscf-www;
     63}}}
     64