Useful Hosting Links
Registrars
Hosting Companies
SSL Certificates
Trac Relevant Links
- Option for all login links to use HTTPS
- http://trac.edgewall.org/wiki/TracModPython
- AccountManagerPlugin
Problems with EasyInstall and Subversion 1.5
Solution
Install the latest development snapshot of setuptools manually.
svn co http://svn.python.org/projects/sandbox/branches/setuptools-0.6/
Then install it as root.
cd setuptools-0.6 python setup.py install
Problems with python2.5 and setuptools in Debian Etch
Note after building libapache2-mod-python Debian still told me my python version was 2.4.4-2 and that I could therefore not install the module. I had to use
sudo dpkg -i --force-depends *.deb
to install it.
This means is I want to install other packages I must first do
sudo apt-get -f install
and then remove the libapache2-mod-python package, do an,
sudo apt-get install XXXXX
to install my new packages before once again forcing an install of libapache2-mod-python.
sudo dpkg -i --force-depends *.deb
pycentral problems
Summary of solution for python2.5. Don't use alternatives instead use
sudo ln -s python2.5 /usr/lib/python
Not that I did not write use
sudo ln -s /usr/lib/python2.5 /usr/lib/python
pyversions problems
Solution is to replace the PYVERSIONS line in debian/rules
PYVERSIONS = $(shell pyversions -vr)
with the line
PYVERSIONS = $(sort $(shell pyversions -vr) 2.5)
/usr/share/python/debian-defaults
Update your /usr/share/python/debian-defaults so that python2.5 is the default
[DEFAULT] # the default python version default-version = python2.5 # all supported python versions supported-versions = python2.5 # formerly supported python versions old-versions = python2.3 # unsupported versions, including older versions unsupported-versions = python2.3
Installing Subversion 1.5 on Deian Etch
Solution taken almost verbatim from the previous link
- We'll start off by creating a directory for this process.
mkdir subversion
- Next, download the source packages from the debian packages site. They're on the right. http://packages.debian.org/lenny/subversion Check the site for the latest versions.
wget http://ftp.de.debian.org/debian/pool/main/s/subversion/subversion_1.5.1dfsg1.orig.tar.gz wget http://ftp.de.debian.org/debian/pool/main/s/subversion/subversion_1.5.1dfsg1-1.diff.gz
- Now, unzip them.
gunzip subversion_1.5.1dfsg1-1.diff.gz tar xfvz subversion_1.5.1dfsg1.orig.tar.gz
- The first file was patch with debian specific changes, we'll need to apply this patch to the source tree.
patch -p0 < subversion_1.5.1dfsg1-1.diff
- Enter the source directory
cd subversion_1.5.1dfsg1/
- We'll need to change some file permissions to make this work.
chmod 755 debian/rules
- Now we switch to the root user, because we need to install some dependencies.
# Assuming you're root apt-get build-dep subversion apt-get install python-all-dev libneon26-dev quilt libsasl2-dev fakeroot debhelper
- Switch back from root to your normal user.
- I've had some issues making creating the java hooks. To get around this, we'll need to disable them. Do this by opening the 'debian/rules' file and change the line that says 'ENABLE_JAVAHL' to no. For me this was on line 21.
ENABLE_JAVAHL := no
- Now we can get started building the package.
dpkg-buildpackage -rfakeroot -uc -b -d
- Compiling!
- If everything went well, you should have ended up with about 10 .deb packages in the directory right above the source directory. You can simply install all of them with:
dpkg -i *.deb
How to Install Trac on Debian Etch
General Trac and Subversion
mod_dav_svn
Slicehost related articles
How to setup mail server facilities
Setting up mail serving facilities
