Sabtu, 08 Desember 2012

Cara Menginstall Wordpress di Ubuntu 12.04

Bagi yang ingin menginstall Wordpress 3.42 di Ubuntu 12.04 inilah caranya. Sebelumnya install LAMP (Linux, Apache, Mysql, PHP) terlebih dahulu.

Install wordpress Manually in Ubuntu server 12.04

if you want to install latest wordpress manully on ubuntu server,you can follow instructions below

Login on your ubuntu server,login as root
sudo -i
wget -O wordpress.tar.gz http://wordpress.org/latest.tar.gz
tar -zxvf wordpress.tar.gz
cp -R wordpress /var/www
chown -R www-data /var/www/wordpress

Log in to mysql server as root user
mysql -u root -p

Create database with command below,in case we’ll create database with name “dbwordrpess”
CREATE DATABASE dbwordpress;

Create a new user of username wordpressuser, with command below
CREATE USER wordpressuser;

Create password “wppassword” for user “wordpressuser”;
SET PASSWORD FOR wordpressuser = PASSWORD("wppassword");

Grant user wordpressuser all permissions on the database.
GRANT ALL PRIVILEGES ON dbwordpress.* TO wordpressuser@localhost IDENTIFIED BY 'wppassword';
FLUSH PRIVILEGES;

Log out from mysql server
exit
Buka browser dan klik:
http://localhost/wordpress

Now wordpress ready to install..

http://ubuntuserverguide.com/2012/05/how-to-install-latest-wordpress-in-ubuntu-server-12-04-lts.html

1 komentar: