Systems Administration
Ubuntu Server
Key Packages
- apt-get install sun-java6-jdk ssh ntp
Configuration
- Downloaded files are staged in /root/downloads
- Add the proxy to /etc/environment: http_proxy="http://proxy.usq.edu.au:8000/"
- Set the date/time:
- Stop ntp and run: ntptime -u time.usq.edu.au
- Add the usq time server in /etc/ntp.conf - server time.usq.edu.au
- Start ntp
Directory Layout
- /var/www: Web content
- /var/svn: Subversion repos
- /var/trac: Trac sites
Mail Server
The Postfix mail server is setup to allow the server to send emails. It's set up as a null client - meaning that it just relays outgoing emails.
- apt-get install postfix
- Set as "No Configuration"
- vi /etc/postfix/main.cf
myorigin = usq.edu.au relayhost = usq.edu.au inet_interfaces = loopback-only local_transport = error:local delivery is disabled
- vi /etc/postfix/master.cf
- Comment out the local delivery agent entry
- service postfix start
To test this, apt-get install mailutils and try to:
- send an email to your email address - this should work
- send an email to root mail root - this should be undeliverable (check using mail)
- Send an email from your email address to the server - this should fail
Maven
- apt-get install maven2
Apache
- apt-get install apache2
- Virtual hosts are defined under /etc/apache2/sites-available/<domain name>
Tomcat
- apt-get install tomcat5.5 libapache2-mod-jk
Subversion
- apt-get install subversion
Trac
- apt-get install trac
ToDo?
- Email tickets
Migration Notes (Q3 2009)
Fascinator Trac was moved from the ice-os server and upgraded from 0.10 to 0.11.
Continuous Integration
We are using Continuum at present.
Installation notes
Please refer to ContinuumInstallation
Maven Repository
Nagios
Not currently implemented
