Changes between Version 6 and Version 7 of ServerAdministrationNBX
- Timestamp:
- Jun 20, 2011, 4:10:17 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ServerAdministrationNBX
v6 v7 34 34 exit 35 35 }}} 36 37 === Set up Apache virtual host configuration === 38 36 39 * Copy the appropriate virtual host configuration from the SVN templates to the apache virtual host directory and adjust it to your wishes 37 40 {{{ … … 41 44 sudo vi dbnp.org_gscf-www.conf 42 45 }}} 43 * Restart Apache webserver46 * Install modproxy and restart Apache webserver 44 47 {{{ 45 /etc/init.d/apache2 reload 48 sudo apt-get install libapache2-mod-proxy-html 49 sudo ln -s /etc/apache2/mods-available/proxy* /etc/apache2/mods-enabled/ 50 sudo /etc/init.d/apache2 reload 46 51 }}} 52 53 === Set up Postgres database === 54 55 * As user postgres, create a new database user account 56 {{{ 57 sudo -u postgres createuser -d -R -P dbnp; 58 }}} 59 You 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 {{{ 62 sudo -u postgres createdb -O dbnp gscf-www; 63 }}} 64