Archive for the ‘Infrastructure’ Category

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 [...]

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 [...]

Defrag and Shrink VMware disks

Posted: 17th September 2007 by Grant Perry in Virtualisation

The vmware-vdiskmanager.exe that comes with VMware Server can defrag and shrink your virtual drives.. But to make life easier check out these automated BAT files someones written to help out with the tasks. But remember not run this on VM’s that have snapshots!!

Access is Denied: Fixing windows permissions!

Posted: 11th September 2007 by Grant Perry in Operating systems, Windows

Having trouble with permissions to a file on Windows XP? So was I even though I was logged as an Administrator.. the same account which created the file.. the permissions hadn’t been modified.. Even worse the files locked were a virtual server I had spent days configuring! The process to fix it was actually quite [...]

IP address binding with IIS

Posted: 31st August 2007 by Grant Perry in IIS, Web servers

This little trick has saved my life with quite a number of times!! But took me a while to find, so here I am sharing… Lets say you’ve already got IIS running on your 2003 server, but you want to install several other web servers (or just one.. Hehe). You’ve already assigned a number of [...]