Difference between revisions of "IPv6 Web: Wordpress"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (Created page with "Untuk ujicoba, ada baiknya kita menginstalasi salah satu Content Manajemen Sistem (CMS) di atas database server dan web server apache yang kita instalasi. Disini akan di tunju...") |
Onnowpurbo (talk | contribs) |
||
Line 3: | Line 3: | ||
Instalasi aplikasi pendukung: | Instalasi aplikasi pendukung: | ||
− | + | sudo su | |
− | libphp-adodb | + | apt-get install php php-xmlrpc php-mysql php-gd php-cli php-curl \ |
+ | libphp-adodb php-mysql php-gd php-curl php-pear unzip | ||
Download source code Wordpress | Download source code Wordpress | ||
Line 21: | Line 22: | ||
Konfigurasi database MySQL (misalnya di set) | Konfigurasi database MySQL (misalnya di set) | ||
− | + | mysql -u root -h ::1 -p123456 | |
Isi dengan: | Isi dengan: | ||
Line 39: | Line 40: | ||
Ada | Ada | ||
− | ::1 localhost | + | ::1 localhost.localdomain localhost |
+ | ::1 localhost6.localdomain6 localhost6 | ||
+ | |||
Konfigurasi Wordpress | Konfigurasi Wordpress | ||
Line 56: | Line 59: | ||
Restart Web Server | Restart Web Server | ||
− | + | /etc/init.d/apache2 restart | |
Browse ke Wordpress menggunakan IPv4 atau IPv6 misalnya | Browse ke Wordpress menggunakan IPv4 atau IPv6 misalnya |
Latest revision as of 07:22, 4 February 2019
Untuk ujicoba, ada baiknya kita menginstalasi salah satu Content Manajemen Sistem (CMS) di atas database server dan web server apache yang kita instalasi. Disini akan di tunjukan cara menginstalasi Wordpress yang paling sering digunakan.
Instalasi aplikasi pendukung:
sudo su apt-get install php php-xmlrpc php-mysql php-gd php-cli php-curl \ libphp-adodb php-mysql php-gd php-curl php-pear unzip
Download source code Wordpress
cd /usr/local/src wget http://wordpress.org/latest.tar.gz
Copykan
cd /usr/local/src cp latest.tar.gz /var/www/html/ cd /var/www/html/ tar zxvf latest.tar.gz cd /var/www/html/wordpress
Konfigurasi database MySQL (misalnya di set)
mysql -u root -h ::1 -p123456
Isi dengan:
create database wordpress; grant INSERT,SELECT on root.* to wordpress@localhost; grant INSERT,SELECT on root.* to wordpress@'::1'; grant CREATE, INSERT, SELECT, DELETE, UPDATE on wordpress.* to wordpress@localhost identified by 'wordpress'; grant CREATE, INSERT, SELECT, DELETE, UPDATE on wordpress.* to wordpress@'::1' identified by 'wordpress'; grant CREATE, INSERT, SELECT, DELETE, UPDATE on wordpress.* to wordpress identified by 'wordpress'; exit
Pastikan /etc/hosts
vi /etc/hosts
Ada
::1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6
Konfigurasi Wordpress
cd /var/www/html/wordpress cp wp-config-sample.php wp-config.php vi wp-config.php
Pastikan, sesuai dengan konfigurasi MySQL sebelumnya,
define('DB_NAME', 'wordpress'); define('DB_USER', 'wordpress'); define('DB_PASSWORD', 'wordpress'); define('DB_HOST', 'localhost');
Restart Web Server
/etc/init.d/apache2 restart
Browse ke Wordpress menggunakan IPv4 atau IPv6 misalnya
http://192.168.0.100/wordpress http://[2001:470:36:ab6::100]/wordpress