IGOS Nusantara dan Wordpress: Perbedaan revisi

Dari IGNwiki
Langsung ke: navigasi, cari

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/html/igos-nusantara-web/wiki/includes/diff/DairikiDiff.php on line 438
(Setup Blog)
Baris 47: Baris 47:
  
 
== Setup Blog ==
 
== Setup Blog ==
Jalankan Firefox lalu akses http://localhost/blog/
+
Jalankan Firefox lalu akses http://localhost/blog/ atau langsung http://localhost/blog/wp-admin/install.php
http://localhost/blog/wp-admin/install.php
+
 
 +
Isi:
 +
* Blog Title: Jasmine Rhaya Blog 
 +
* Your E-mail: jr@suryana.or.id
 +
 
 +
Setelah sukses, akan dibuatkan:
 +
* Username: admin
 +
* Password: catat_password_acak_yg_dibuat_instaler

Revisi per 18 Mei 2010 13.49

Wordpress adalah salah satu content

Pasang

# yum install wordpress

Ubah alias

Secara default akan diakses melalui URL http://localhost/wordpress/ Jika ingin diakses melalui URL http://localhost/blog/ lakukan perubahan pada berkas /etc/httpd/conf.d/wordpress.conf

SEMULA

# Berkas: /etc/httpd/conf.d/wordpress.conf 
Alias /wordpress /usr/share/wordpress

<Directory /usr/share/wordpress>
  AllowOverride Options
</Directory>

MENJADI

# Berkas: /etc/httpd/conf.d/wordpress.conf 
Alias /blog /usr/share/wordpress

<Directory /usr/share/wordpress>
  AllowOverride Options
</Directory>

Buat database

Gunakan phpMyAdmin, klik tab SQL atau http://localhost/phpmyadmin/server_sql.php Laku copy paste tiga baris perintah di bawah ini:

create database blogSaya;
grant all privileges on blogSaya.* to blogSaya@"localhost" identified by 'rhsDongY4';
flush privileges;

Konfigurasi /etc/wordpress/wp-config.php

LAMA

define('DB_NAME', 'putyourdbnamehere'); // The name of the database
define('DB_USER', 'usernamehere'); // Your MySQL username
define('DB_PASSWORD', 'yourpasswordhere'); // …and password
define('DB_HOST', 'localhost'); // 99% chance you won’t need to change this value

BARU

define('DB_NAME', 'blogSaya');
define('DB_USER', 'blogSaya');
define('DB_PASSWORD', 'rhsDongY4');
define('DB_HOST', 'localhost');

Jalankan ulang httpd

# service httpd restart

Setup Blog

Jalankan Firefox lalu akses http://localhost/blog/ atau langsung http://localhost/blog/wp-admin/install.php

Isi:

  • Blog Title: Jasmine Rhaya Blog
  • Your E-mail: jr@suryana.or.id

Setelah sukses, akan dibuatkan:

  • Username: admin
  • Password: catat_password_acak_yg_dibuat_instaler