Install WordPress on Ubuntu virtual server at Media Temple

Server is a MediaTemple “ve” server which is a Parallels Virtuozzo container with Ubuntu 10.04 LTS Lucid installed as the operating system.

The first step is to install packages:

apt-get update
apt-get install mysql-server
apt-get install apache2
apt-get install php5
apt-get install php5-mysql

Now set mysql service to start automatically:

update-rc.d mysql defaults
service mysql start

Next create a database for wordpress:

mysql -p -u root
create database wordpress;
grant all privileges on wordpress.* to 'wordpress'@'localhost' identified by 'YOURNEWPASS';
flush privileges;
exit;

Next we’ll download and install wordpress:

cd /root
wget http://wordpress.org/latest.tar.gz
tar -xvzf /root/latest.tar.gz
rsync -avz wordpress/ /var/www/
rm /var/www/index.html
cp /var/www/wp-config-sample.php /var/www/wp-config.php

Now set the database credentials in /var/www/wp-config.php:

replace 'database_name_here' 'wordpress' -- /var/www/wp-config.php
replace 'username_here' 'wordpress' -- /var/www/wp-config.php
replace 'password_here' 'YOURNEWPASS' -- /var/www/wp-config.php

Finally point your web browser to the site and run the WordPress installer.

  • http://www.wpdeveloper.com/ Wp e-commerce

    Awesome guide for WordPress. A lot of people will get great information from this post. Great share.

  • Gary

    our PHP installation appears to be missing the MySQL extension which is required by WordPress.

  • http://www.henweekends.net/cardiff-hen-weekend/ hen weekends

    I’ve run all my client sites on a single Dream host account for several years now, but recently have been encountering many database issues, and the speed is moderate, but not great.Thanks for sharing the information

  • http://www.henweekends.net/cardiff-hen-weekend/ hen weekends

    I’ve run all my client sites on a single Dream host account for several years now, but recently have been encountering many database issues, and the speed is moderate, but not great.Thanks for sharing the information

  • http://www.umbeehosting.co.uk/vps-hosting Virtual Server Hosting

    We could have installed WordPress via the same call to apt-get earlier, but I prefer to handle this one manually. Thanks for sharing some few lines of codes for installing WordPress.

  • http://www.adamwebsolutions.com/Virtual_Server_Hosting.php Virtual Server Hosting

    There are as well several abate billow hosting providers that are attempting to accomplish a mark in the industry. Some of the beyond players like Mosso accept bought up abate virtualization providers in hopes of amalgam their technology to accretion a aggressive advantage and action a different artefact to access their appearance and value.

blog comments powered by Disqus