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:
|
1 2 3 4 5 6 7 |
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:
|
1 2 3 4 |
update-rc.d mysql defaults service mysql start |
Next create a database for wordpress:
|
1 2 3 4 5 6 7 |
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:
|
1 2 3 4 5 6 7 8 |
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:
|
1 2 3 4 5 |
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.





7 Responses
Awesome guide for WordPress. A lot of people will get great information from this post. Great share.
our PHP installation appears to be missing the MySQL extension which is required by WordPress.
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
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
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.
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.