Home > Uncategorized > Install WordPress

Install WordPress

WordPress adala CMS yang sudah sangat populer dan banyak penggunanya. Salah satu fitur yang sangat banyak digunakan pengguna adalah mudah nya instalasi di komputer lokal. berikut beberapa langkah penting:

siapkan database mySQL:

> CREATE DATABASE wordpress_me;
> CREATE USER user@localhost IDENTIFIED BY 'password';
> GRANT ALL PRIVILEGES ON wordpress_me.* TO user@localhost IDENTIFIED BY 'password';
> FLUSH PRIVILEGES;

siapkan php

# dnf install php-gd
# service httpd restart

download WordPress

$ wget http://wordpress.org/latest.tar.gz
$ tar xzvf latest.tar.gz

extract akan menghasilkan direktori wordpress,
copy direktori tersebut ke direktori untuk web

$ mkdir public_html/myblog
$ cp -Rf wordpress/ public_html/myblog

config WordPress

# mkdir public_html/myblog/wp-content/uploads
# cp wp-config-sample.php wp-config.php
# chown -Rf apache:apache myblog/*
# nano wp-config.php

edit wp-config.php

define('DB_NAME', 'wordpress_me');
define('DB_USER', 'user');
define('DB_PASSWORD', 'password');

install WordPress

http://localhost/~eddys/myblog

Done!
Siap untuk menjadi Blogger!!🙂

*note: jika ada masalah uploads file, kemungkinan besar karena SELINUX. Jalankan perintah: chcon -t tmp_t uploads

Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

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

%d bloggers like this: