Monday, October 22, 2007

Day 1

I got my 7 days trial from Budget Dedicated, here is what I did today

Login to root using ssh then change password by passwd root.

Update the ubuntu pre-installed apt-get update.

Install php5

apt-get install php5-cgi php5-mysql php5-xcache


apt-get install php5 libapache2-mod-php5

Tried installing nginx but failed

Install mysql server

apt-get install mysql-server mysql-client php5-mysql

Install Apache 2 apt-get install apache2, enabled mod_rewrite by a2enmod rewrite then force-reload apache by /etc/init.d/apache2 force-reload

Install subversion by apt-get install subversion

Install phpmyadmin apt-get install phpmyadmin

Install nano apt-get install nano

Do this

df -h to see disk usage got

size used avail used%
1010M 587M 373M 62%

Add this line Include /etc/phpmyadmin/apache.conf to file /etc/apache2/apache2.conf using nano then restart apache /etc/init.d/apache2 restart

Oops! Couldn't run phpmyadmin in broswer? OK used alternatives by mysql command line. Entered below to create a database for my trial WP install.

CREATE DATABASE databasename;
GRANT ALL PRIVILEGES ON databasename.* TO "wordpressusername"@"hostname" IDENTIFIED BY "password";

Currently I don't have a domain name ready for this so I used just ip for "hostname".

Created mkdir wp under /var/www/ checked out svn copy of WordPress by entering svn co . To get files into the right place it is important that I have cd to that new folder before checking out the files.

After that I changed root folder to /var/www/wp/ such that I could run install at http://my.trial.ip.address/wp-admin/install. I have my WP running at last.

Next I'll try securing my server.

PS: I'm waiting for my slice from SliceHost which is a 256slice plan with 256M RAM, 10G storage and 100G traffic for $20. For nearly the same (except 200G traffic) I'll have to spend Euro 40.01 per month.

No comments:

Post a Comment