CEDEUS Server Setup

From stgo
Revision as of 16:56, 19 June 2014 by StefanS (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

general info:

  • both machines have 12 cores and 32GB RAM
  • cedeusdb has 4 TB as Raid10 (4 HDs with 2TB)
  • cedeusgeonode has 2 TB as Raid 1 (2 HDs with 2TB)

install log:

  1. network installation was done the following way
    • sudo vim /etc/network/interfaces
    • interfaces content:
      auto auth
      iface em1 inet static (used here em1 instead of eth0)
      address 146.155.x.x (replace x by appropriate numbers)
      gateway 146.155.x.1
      netmask 255.255.255.0
      network 146.155.x.0
      broadcast 146.155.x.255
      dns-nameservers 146.155.x.x
      dns-search ing.puc.cl
    • sudo /etc/hosts
    • hosts content:
      127.0.0.1 localhost
      146.155.x.x cedeusdb.ing.puc.cl cedeusddb
    • check (physical) connection using ip a aside from ifconfig -a
  2. installing Ubuntu 14.04 TLS (Trusty Tahr) on cedeusdb (.18) and cedeusgeonode (.19)
  3. installing Postgres 9.3 with PostGIS 2.1
    • adding postgresqls own repo to list of repos
    • sudo apt-get install postgresql-9.3-postgis-2.1 pgadmin3 postgresql-contrib
    • changing pg_hba.conf and postgresql.conf in /etc/postgresql/9.3/main/
    • user: geonode93
    • db: geonodegisdb93
    => psql -U geonode93 -d geonodegisdb93 -h localhost
  4. installation of VirtualBox on both machines as well, according to the description here:
    http://help.ubuntu.com/community/VirtualBox (including the procedure for USB + RDC). That is I simply used
    sudo apt-get install virtualbox
  5. htop and mc are installed as well