summaryrefslogtreecommitdiffstats
path: root/software/server-setup.page
diff options
context:
space:
mode:
authorUser <bnewbold@daemon.robocracy.org>2009-10-13 02:52:09 +0000
committerUser <bnewbold@daemon.robocracy.org>2009-10-13 02:52:09 +0000
commitf61026119df4700f69eb73e95620bc5928ca0fcb (patch)
treef17127cff9fec40f4207d9fa449b9692644ce6db /software/server-setup.page
parent9d431740a3e6a7caa09a57504856b5d1a4710a14 (diff)
downloadknowledge-f61026119df4700f69eb73e95620bc5928ca0fcb.tar.gz
knowledge-f61026119df4700f69eb73e95620bc5928ca0fcb.zip
Grand rename for gitit transfer
Diffstat (limited to 'software/server-setup.page')
-rw-r--r--software/server-setup.page51
1 files changed, 51 insertions, 0 deletions
diff --git a/software/server-setup.page b/software/server-setup.page
new file mode 100644
index 0000000..58b419b
--- /dev/null
+++ b/software/server-setup.page
@@ -0,0 +1,51 @@
+=========================================
+Generic Server Setup Tricks
+=========================================
+
+See also `debian </k/software/debian>`_ and
+`freebsd tricks </k/software/freebsd-tricks>`_.
+
+bind
+-------------
+You probably want to hide your bind verison name to prevent scanning and
+attacks. Edit ``/etc/bind/named.conf`` or ``/etc/bind/named.conf.options``
+and add this line to the options block::
+
+ version "Withheld";
+
+ntp
+------------
+ntp servers listen on port 37.
+
+temboz
+----------
+The temboz feed reader is started by::
+
+$./temboz --server &
+
+in the appropriate directory.
+
+
+File Hierarchy
+------------------
+/srv/
+ Root for server files, scripts, and databases
+
+/srv/http/
+ Subdirectories for each virtual host live in this folder, out of which
+ static `HTTP </k/software/http>`__ content is served.
+
+/srv/django/
+ Django applications and their databases live in here.
+
+/srv/git/
+ Bare git repositories are stored here; those with a file
+ ``git-daemon-export-ok`` get served up through a web interface and can be
+ publically cloned.
+
+/srv/
+ SVN repository roots are stored in sub folder in here.
+
+/srv/python/
+ Standalone python scripts and applications are stored in here (not Django
+ apps).