wiki:DevelopmentServer

Version 2 (modified by chris, 6 years ago) (diff)

--

The development server is kiwi.transitionnetwork.org, it's a encrypted 40G debian virtual machine with 1Gb of dedicated RAM. The encryption key can be shared with others if needs be, there is a ssh account on the physical machine that can be used to reboot and decrypt the machine. The physical server that virtual machine is running on has quad Intel Xeon 2.00GHz 64bit processors, 16Gb RAM, the host OS debian is running on a pair of mirrored 73Gb SAS disks and the virtual machines on a pair of mirrored 2Tb SATA disks.

There are remote munin stats for the server available, these include memory usage and cpu usage stats. The stats are also available from the server itself and the server hosts munin stats for the live server, transitiontowns.gaiahost.coop.

The development server has a development, http://dev.transitionnetwork.org/, and a testing, http://test.transitionnetwork.org/, version of the live server set-up. The test, dev and live code bases are currently kept in this subversion repository but the plan is to migrate it to the Trac svn repo.

Network and DNS

The server has 3 IP addresses, but only one is currently needed, 81.95.52.78, 81.95.52.79, 81.95.52.80

SSH access

Which ever developers need ssh access can have it, and sudo if needs be, contact chris@…. When adding a new account don't forget to edit /etc/ssh/sshd_config to add the new user to AllowUsers and restart sshd.

Users can be granted sudo rights like this:

kiwi:~# adduser username sudo

/etc/sudoers is set up so that people don't need to type their passwords when sudo'ing. If users also set up ssh keys then this means that people can use very long, essentially uncrackable, passwords but never actually need to remember or use them unless they lose their local ssh key or they need to login via the consol.

Attachments