Select Page

 Hardware

  • virtual machine
  • i7@3.4GHz
  • 4GB RAM
  • 20GB HDD

Software

  • Ubuntu 12.04
  • gcc 4.6.3
  • openssl 1.0.1g
  • Apache 2.2.22
  • MySQL 5.5.37
  • Owncloud 6.02
  • ringserver 2013.284

Environment

  • SSH
  • Apache delivers a single site via HTTPS
  • owncloud configured using local user management (no reference to directory or system user/group information)
  • ringserver daemonized (using upstart) and running as a specific user (with little access to the file system/services)

/etc/init/ringserver.conf 

#!upstart
# ringserver
# daemonizes ringserver
description "Ringserver -seedlink services"
env MYUSERNAME=########

start on runlevel [2345]
stop on runlevel [016]

respawn

script
    exec start-stop-daemon --start --make-pidfile --pidfile /var/run/ringerserver.pid --chuid $MYUSERNAME --exec /usr/local/bin/ringserver /var/ringserver/ring.conf >/var/ringserver/ring.log 2>&1
end script

/var/ringserver/ring.conf

RingDirectory		/var/ringserver/ring
DataLinkPort		16000
SeedLinkPort		18000
ServerID		"NZseis network"
TransferLogDirectory	/var/ringserver/tlog
TransferLogRX		0
MSeedScan		/var/ringserver/data/miniseed/	StateFile=/var/ringserver/scan.state InitCurrentState=y

Skip to toolbar