Archive for September, 2007

cintraAD: Adding SVN and Trac users

Posted: 20th September 2007 by Grant Perry in Linux

Adding additional Trac and SVN users is relatively simple. With Trac you can do this under Admin when logged in as an administrator thanks to the WebAdmin and AccountManagerPlugins! For adding a new subversion user just use this command: htpasswd /etc/apache2/dav_svn.passwd john_smith This user will then have access to all of your subversion repositories because [...]

cintraAD: Setup a new Trac project

Posted: 20th September 2007 by Grant Perry in Linux

To create a new Trac project follow these steps: sudo -s -H trac-admin /var/trac/project initenv trac-admin /var/trac/project permission add admin TRAC_ADMIN chown -R www-data:www-data /var/trac/project Now to setup the new Trac project with the same plugins as the example project. This also uses the same password file. So use unique usernames and users spanning multiple [...]

cintraAD: Setup a new Subversion repository

Posted: 20th September 2007 by Grant Perry in Linux

To create a new Subversion repository follow these steps: mkdir /var/svn/project mkdir ~/project mkdir ~/project/branches mkdir ~/project/tags mkdir ~/project/trunk svnadmin create /var/svn/project svn import ~/project file:///var/svn/project -m "Initial directory import" After this you’ll see the three directories added. rm -rf ~/project chown -R www-data:www-data /var/svn/project apache2 -k restart Now you should be able to point [...]

cintraAD: Change the SVN and Trac password

Posted: 20th September 2007 by Grant Perry in Linux

Particularly if you’re publishing your SVN and Trac over the internet, you should change the defaults passwords for these that were in the VM you downloaded. To change the Subversion password: htpasswd /etc/apache2/dav_svn.passwd admin To change the Trac password (one file is currently used for all trac projects) : htpasswd /var/trac/trac.htpasswd admin

cintraAD: Change the root password

Posted: 20th September 2007 by Grant Perry in Linux

For security reasons if you’re using any downloaded VM you should not leave the default root password as provided. To change the password: sudo passwd You’ll then be asked to enter the original password, then asked twice to enter the new password.

cintraAD: Setup a static IP

Posted: 20th September 2007 by Grant Perry in Linux

Obviously it’s a bad idea to have a server assigned a different IP address by your DHCP server when it comes up. So here are some basic instructions to set a static IP address on this Ubuntu server. sudo -s -H vi /etc/network/interfaces Then change the following line: iface eth0 inet dhcp to: iface eth0 [...]

Installing Trac and some plugins

Posted: 18th September 2007 by Grant Perry in Apache, Linux, Programming (app), Subversion

Trac is a popular open source issues management system written in Python. It also features a wiki and subversion browser. There are also countless plugins that have been created for it some of which I’m surprised aren’t included in the base install. I’m installing this on a Ubuntu server, so you may need to find [...]

WebSVN installation and customisation

Posted: 18th September 2007 by Grant Perry in Subversion
Tags: ,

Updated 10 Nov 2008:There is now an easier article (Setting up WebSVN on Dreamhost) with out jumping in to the console! It’s simpler and suitable for people without console access. WebSVN is a PHP based web interface to your Subversion repositories. Its official description is: WebSVN offers a view onto your subversion repositories that’s been [...]

Fixing linux network interfaces on VMware

Posted: 18th September 2007 by Grant Perry in Linux, Virtualisation

When downloading a few Virtual Appliances I’ve found they haven’t had network connectivity ‘out of the box’. I’ve only noticed this with Ubuntu servers so far but admittedly I haven’t downloaded a lot of other flavors! This appears to be because the MAC address for eth0 is different to the one of the creators VMware [...]

Upgrade Ubuntu distribution

Posted: 18th September 2007 by Grant Perry in Linux, Operating systems

Firstly update the your repositories replacing with “breezy” with “dapper” for example. You can work out the release names and additionally even change the URL’s to a closer mirrors by referring to the official repository list. This can be done using: vi /etc/apt/sources.list If you’re not familiar with vi, ESC leaves editing mode and INS [...]