personal blog

Posts Tagged "linux"

Installing Postgresql-8..3 on Ubuntu 8.04 after distupgrade

Posted by on Dec 9, 2008 in linux, ubuntu | 0 comments

If you’ve installed postgresql on Ubuntu and it just doesn’t run and /etc/init.d/postgresql-8.3 start returns just a prompt with no error or any messages you’ve most likely encountered the same problem I had.

It seems that when you distupgrade Ubuntu to 8.04 and try to install postgresql configuration files for the default cluster are not created if you do apt-get install postgresql.

However everything is configured correctly when installing it with apt-get install postgresql-8.3.
You may need to create /etc/postgresql/8.3 directory yourself before trying to run apt-get especially if this isn’t your first attempt to (re)install postgres.

Try following steps:

dpkg -P postgresql postgresql-8.3 postgresql-client-8.3

mkdir /etc/postgresql

mkdir /etc/postgresql/8.3

apt-get install postgresql-8.3

Read More

Amazon EC2 instance with pre-setup Django, Apache2 and MySQL

Posted by on Jul 12, 2008 in ec2, linux | 0 comments

Phoebe Bright asked me last week if I could create an Amazon EC2 for quick tests of Django projects.

Well here it is:

AMI: ami-0f799d66

Name: Ubuntu 8.10 Django SVN HEAD + Apache2 + mod_python + MySQL 04.12.08

I recommend Right Scale to work with Amazon AWS. It’s great, it’s simple and it’s free!

Read More