Dogfish
From DFEY
Since July 2009 a virtual private server was been rented to house various things required by DFEY and act as a shared community shell server. It is currently provided free of charge by BitFolk.
Contents |
[edit] Rules
You are free to use Dogfish as you please, providing your actions do not lead to the server being compromised and are not for commercial purposes. Please also be considerate of other users and moderate yourself as you see fit (for example, not running resource intensive processes or consuming excess diskspace).
[edit] Services
At the moment the VPS provides:
- Web hosting for DFEY.
- Shell server for community members.
[edit] Access
Being a free service, it is important to ensure that the server is not compromised. Access to different areas of the server is determined entirely by groups (see /etc/group).
- sudo (27)
- Complete access to all areas of the system.
- developers (1013)
- Write access to the /srv/vcs/ area and /srv/www/dev.dfey.org/.
- webmasters (1015)
- Write access to the /srv/www/ area (apart from /srv/www/dev.dfey.org/) and to all databases used in this area.
| User | Group | |||
|---|---|---|---|---|
| id | name | developers (1013) | webmasters (1015) | sudo (27) |
| 1000 | tdobson | ✔ | ✔ | ✔ |
| 1001 | roberthl | ✔ | ✔ | ✔ |
| 1002 | jstoker | ✔ | ✗ | ✗ |
| 1003 | darthcrap | ✔ | ✗ | ✗ |
| 1004 | binary | ✔ | ✗ | ✗ |
| 1005 | isabell | ✔ | ✗ | ✗ |
| 1006 | cls | ✔ | ✔ | ✗ |
| 1007 | rob | ✔ | ✗ | ✗ |
| 1008 | bjwebb | ✔ | ✔ | ✔ |
| 1009 | n3hima | ✗ | ✗ | ✗ |
| 1010 | swhitton | ✔ | ✗ | ✗ |
| 1011 | salavant | ✔ | ✗ | ✗ |
| 1012 | samtar | ✔ | ✗ | ✗ |
| 1013 | stemount | ✔ | ✗ | ✗ |
| 1014 | calvinps | ✗ | ✗ | ✗ |
| 1015 | vinu | ✗ | ✗ | ✗ |
| 1016 | ascenseur | ✗ | ✗ | ✗ |
| 1017 | reality | ✗ | ✗ | ✗ |
[edit] Packages
[edit] User relevant
- git-core
- bzr
- bzr-email
- rsnapshot
- subversion
- mc
- emacs
- irssi
- screen
- mutt
- ruby
- rubygems
- python-mysqldb
- sqlite3
- fetchmail
- lynx
- tf
[edit] Server relevant
- apache2
- mysql-server-5.0
- gidentd
- libapache2-mod-php5
- php5-mysql
- php5-cli
- php5-gd
- imagemagick
- librsvg2-bin
[edit] /etc
The directory /etc is versioned with Bazaar so we can keep track of changes we make. This was implemented by install Bazaar and running `bzr init' in /etc.
Whenever you make a change in /etc please run `bzr commit' and give a short explanation of what you are changing, from time to time additional files may be added - add them by running `bzr add <filenames>'. You can get a list of unversioned files and change files by running `bzr status' while in /etc.
[edit] /srv/www/
[edit] Adding new website roots
All website roots are placed here, when creating a new website root the following commands should be issued:
mkdir example.org/ sudo chown -R www-data example.org/ sudo chgrp -R webmasters example.org/ sudo chmod -R 775 example.org/ sudo chmod -R g+s example.org/
[edit] Current website roots
| URL | Contact | Applications | Notes |
|---|---|---|---|
| dfey.org | bjwebb roberthl | MediaWiki Planet Identi.ca script | The MediaWiki installation currently tracks the development trunk on a semi-regular basis, once MediaWiki 1.16 is branched it will be used instead. |
| dev.dfey.org | roberthl | A variety of custom built software. | |
| se.dfey.org | roberthl | Nothing | |
| sw.dfey.org | samtar | None |