Installing Jeeves

Ok, I'm making a diary of the steps I've taken to install Jeeves, my new server. Let's see…

→ Installed Red Hat Enterprise Linux AS U3. Partitioned with separate /, /var, /opt, /home.

→ Given it most packages imaginable.

→ Once the installer rebooted, ran bootstrap-el (after adding to correct netgroup and making yp on Newman, and reloading nfs on daffy), ran up2date (installing all available upgrades, including kernel; a couple of dependencies were not satisfied, excluded those).

→ Ran cfagent a couple of times; fixed ssh_users.amarok on Newman.

Trac

→ Downloaded Trac 0.9.6

→ Downloaded ClearSilver 0.10.3. Installed with --prefix=/usr and --with-python=/usr/bin/python.

→ The standard Subversion package does not have Python bindings. Removed it (rpm -e), and downloaded Subversion 1.3.2. Ran ./configure --prefix=/usr; make; make install; make swig-py. Will probably need to export PYTHONPATH=/usr/lib/svn-python.

→ Installed Silvercity 0.9.5.

→ Ran python setup.py install for Trac.

→ Got SQLite 3.3.7, ran ./configure --prefix=/usr --enable-threadsafe. Before making it, had to install tcl-devel-8.4.7-2.i386.rpm.

→ Installed pysqlite 2.3.2.

→ Created svn archive with svnadmin create /home/svn/foo.

→ Created project with trac-admin /home/projects/foo initenv.

→ Tested on builtin webserver with tracd --port 8000 /home/projects/foo. It's a miracle, but it works!

Trac again

→ svn seems to have troubles from the command line. Redirected /usr/lib/libaprutil-0.so and /usr/lib/libaprutil-0.so.0 to /usr/lib/libaprutil-0.so.0.9.4 instead of /usr/lib/libaprutil-0.so.0.9.7

→ Downloaded cvs2svn 1.4.0 from tigris.org. Ran make install.

→ Converted bcv and synthlisa archives. To use svn without a server, do

svn co svn+ssh://jeeves.caltech.edu/newman/user1/vallis/svnarchive/synthlisa

→ After much fussing on mod_python, concluded that it does not play well with suexec (which I'd like to use to keep projects under my username). Went on to fastcgi.

→ Downloaded mod_fastcgi-2.4.2 from fastcgi.com. To make, had to first install pcre-devel-4.5-3.2.RHEL4.i386.rpm, httpd-devel-2.0.52-28.ent.i386.rpm, copy Makefile.AP2 to Makefile, and run make top_dir=/usr/lib/httpd.

→ After much suffering with mod_python, cgi, fastcgi and all the damned bunch, decided to go with the tracd standalone server. Written a simple /etc/init.d/tracd.

→ Made an authentication entry for me with htdigest -c users vallis.org vallis

→ Given myself all trac permissions with trac-admin /home/projects/synthlisa permission add vallis TRAC_ADMIN

→ Removed all anonymous permissions with this script

Aug 28, 2006

jeeves (/linuxtricks)
2006-08-28, 17:43 [edit]


  Login:   Password:   [rss] [cc] [w3] [css]

© M. Vallisneri 2012 — last modified on 2010/01/29

Tantum in modicis, quantum in maximis