= Useful Hosting Links = == Registrars == * http://www.gandi.net == Hosting Companies == * http://www.vpslink.com * http://www.slicehost.com == SSL Certificates == * https://www.startssl.com/ == Trac Relevant Links == * [http://trac.edgewall.org/ticket/4733 Option for all login links to use HTTPS] * [TracModPython http://trac.edgewall.org/wiki/TracModPython] * [http://trac-hacks.org/wiki/AccountManagerPlugin AccountManagerPlugin] == Problems with [http://peak.telecommunity.com/DevCenter/EasyInstall EasyInstall] and [http://subversion.tigris.org/svn_1.5_releasenotes.html Subversion 1.5] == * [http://www.eby-sarna.com/pipermail/peak/2008-April/002938.html Symptom01-problem in setuptools "NameError: global name 'log' is not defined"] === Solution === Install the latest development snapshot of [http://peak.telecommunity.com/DevCenter/setuptools 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 == * [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=421193 Symptom01-python2.5 not a supported version] * [http://article.gmane.org/gmane.comp.web.zope.plone.ingeniweb.devel/3913 How to build libapache2-mod-python for Debian Etch using the Debian Lenny sources] 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 === * [https://bugs.launchpad.net/ubuntu/+source/python-central/+bug/93518 apport: pycentral crashed with AttributeError in install()] 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 === * [http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg266372.html Bug#396840: using pyversions in debian/rules is not reliable] 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 [http://subversion.tigris.org/svn_1.5_releasenotes.html Subversion 1.5] on Deian Etch === * http://www.rooftopsolutions.nl/article/198 Solution taken ''almost'' verbatim from the previous link 1. We'll start off by creating a directory for this process. {{{ mkdir subversion }}} 2. 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 }}} 3. Now, unzip them. {{{ gunzip subversion_1.5.1dfsg1-1.diff.gz tar xfvz subversion_1.5.1dfsg1.orig.tar.gz }}} 4. 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 }}} 5. Enter the source directory {{{ cd subversion_1.5.1dfsg1/ }}} 6. We'll need to change some file permissions to make this work. {{{ chmod 755 debian/rules }}} 7. 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 }}} 8. Switch back from root to your normal user. 9. 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 }}} 10. Now we can get started building the package. {{{ dpkg-buildpackage -rfakeroot -uc -b -d }}} 11. Compiling! 12. 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 === * [http://www.wains.be/pub/howto/trac-debian.txt] == General Trac and Subversion == * [http://trac.edgewall.org/wiki/TracSubversion TracAndSubversion] == mod_dav_svn == *[https://support.railsmachine.com/index.php?pg=kb.page&id=42 How to install mod_dav_svn] == [http://www.slicehost.com Slicehost] related articles == * [http://articles.slicehost.com/debian Debian Etch on Slicehost] * [http://www.melolabs.com/notes/debian/ Slicehost setup on Debian Etch] * [http://wiki.slicehost.com/doku.php?id=install_remote_desktop_in_debian_etch_using_xorg_and_vnc_with_ssh_tunneling Remote Desktop with Debian Etch] == How to setup mail server facilities == [wiki:Hosting/MailServers Setting up mail serving facilities] == Setting up [http://awstats.sourceforge.net/ awstats] to monitor site activity == [wiki:Hosting/awstats Setting up awstats to monitor the website]