Install wordpress on ubuntu server

# You need LAMP installed. You can follow this post

# Then you need to download wordpress from official site

# Unzip and move wordpress directory to your LAMP server (if apache should be /var/www/html )

# Create a database for wordpress

# Edit wp-cofig.php file on your wordpress project with your database credentials

# Go to your browser “http://localhost/” and follow the instructions

TROUBLESHOOTING

# If you have the problem

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

# Just install php mysql connector and restart apache

sudo apt-get install php5-mysql

# If you have problems with CURL PHP extension, install it and restart apache

sudo apt-get install php5-curl

# If you want to use slugs excecute this on terminal

a2enmod rewrite

# Then go to apache config file (/etc/apache2/apache2.conf) and set

RewriteEngine On

#If your site is going to a different url, you can set on wordpress config (wp-config.php)

define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s