Install LAMP
You can view my previous post about LAMP Installation On Ubuntu, if you have not already done so.
Download WordPress
You can download WordPress from their official website into your Ubuntu desktop.
Extract your WordPress archieve into your server directory
sudo tar zxvf wordpress-x.x.x.tar.gz --directory=/var/www/
Prepare MySQL Database for WordPress
Create a database for WordPress on your Ubuntu, as well as a MySQL user who has all privileges for accessing and modifying it. You can use phpMyAdmin to make it easier ;)
* First create dababase: wordpress
* Then create a new user: wordpress with password: wordpresspassword
Write down the values you used for databasename, wordpressusername, hostname, and password for future purpose ;)
Configure WordPress Setting
Copy the wp-config-sample.php file to wp-config.php. Open and edit wp-config.php file
// ** MySQL settings ** //
define('DB_NAME', 'wordpress');
define('DB_USER', 'wordpress');
define('DB_PASSWORD', 'wordpresspassword');
define('DB_HOST', 'localhost');
Run the Install Script
Using your favorite web browser (Firefox by default), visit wp-admin/install.php within the directory into which you just installed WordPress on your web site. For example: point your browser to http://localhost/wordpress/wp-admin/install.php
.
Preview your New WordPress
Point your browser to http://localhost/wordpress.
Well done! You have your own WordPress on Your Ubuntu Linux Desktop.
Tidak ada komentar:
Posting Komentar