Difference between revisions of "SchoolOnffLine: Instalasi Wordpress Multi User"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
# apt-get install apache2 mysql-server libmysqlclient15-dev libphp-adodb libgd2-xpm libgd2-xpm-dev \ | # apt-get install apache2 mysql-server libmysqlclient15-dev libphp-adodb libgd2-xpm libgd2-xpm-dev \ | ||
php5-mysql php5-gd php5-curl php-pear unzip | php5-mysql php5-gd php5-curl php-pear unzip | ||
+ | |||
+ | Siapkan Apache Web Server | ||
+ | |||
+ | vi /etc/apache2/httpd.conf | ||
+ | |||
+ | LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so | ||
+ | |||
+ | |||
+ | vi /etc/apache2/sites-enabled/000-default | ||
+ | |||
+ | Ubah '''(sebaiknya jangan dilakukan ini membuat kacau)''' | ||
+ | AllowOverride None | ||
+ | menjadi | ||
+ | AllowOverride FileInfo Options | ||
+ | |||
+ | |||
+ | |||
Ambil [[source code]] [[Wordpress]] berbahasa Indonesia dari | Ambil [[source code]] [[Wordpress]] berbahasa Indonesia dari | ||
Line 13: | Line 30: | ||
cd /var/www | cd /var/www | ||
tar zxvf wordpress-mu-2.8.5.2.tar.gz | tar zxvf wordpress-mu-2.8.5.2.tar.gz | ||
− | + | mv /var/www/wordpress-mu /var/www/blogs | |
+ | cd /var/www/blogs | ||
+ | cp htaccess.dist .htaccess | ||
Konfigurasi [[Wordpress]] untuk menggunakan [[database]] [[MySQL]] | Konfigurasi [[Wordpress]] untuk menggunakan [[database]] [[MySQL]] | ||
− | cd /var/www/ | + | cd /var/www/blogs |
cp wp-config-sample.php wp-config.php | cp wp-config-sample.php wp-config.php | ||
vi wp-config.php | vi wp-config.php | ||
− | define('DB_NAME', ' | + | define('DB_NAME', 'wordpressmu'); |
− | define('DB_USER', ' | + | define('DB_USER', 'wordpressmu'); |
− | define('DB_PASSWORD', ' | + | define('DB_PASSWORD', 'wordpressmu'); |
define('DB_HOST', 'localhost'); | define('DB_HOST', 'localhost'); | ||
− | $base = '/ | + | define('VHOST', 'yes'); |
+ | $base = '/blogs'; | ||
define('DOMAIN_CURRENT_SITE', 'sekolah.sch.id' ); | define('DOMAIN_CURRENT_SITE', 'sekolah.sch.id' ); | ||
− | define('PATH_CURRENT_SITE', '/var/www/ | + | define('PATH_CURRENT_SITE', '/var/www/blogs' ); |
Masuk ke situs | Masuk ke situs | ||
Line 55: | Line 75: | ||
Akses [[Web]] Wordpress yang baru melalui perintah | Akses [[Web]] Wordpress yang baru melalui perintah | ||
− | http://192.168.0.254/ | + | http://192.168.0.254/blogs |
− | + | ||
+ | atau jika [[DNS]] sudah benar harus bisa di akses melalui | ||
+ | |||
+ | http://sekolah.sch.id/blogs | ||
− | |||
− | |||
− | |||
Kita dapat mengubah password administrator (admin) menjadi 123456 agar memudahkan penggunaan. | Kita dapat mengubah password administrator (admin) menjadi 123456 agar memudahkan penggunaan. | ||
Line 104: | Line 124: | ||
* [[SchoolOnffLine: Server Wikipedia for School]] | * [[SchoolOnffLine: Server Wikipedia for School]] | ||
* [[Remastering Ubuntu]] | * [[Remastering Ubuntu]] | ||
+ | |||
+ | [[Category: Linux]] | ||
+ | [[Category: Distro Linux]] | ||
+ | [[Category: SchoolOnffLine]] |
Latest revision as of 08:30, 11 May 2010
Siapkan beberapa fasiltas pendukung Wordpress seperti MySQL-server, PHP dll, antara lain dapat di install melalui perintah
# apt-get install apache2 mysql-server libmysqlclient15-dev libphp-adodb libgd2-xpm libgd2-xpm-dev \ php5-mysql php5-gd php5-curl php-pear unzip
Siapkan Apache Web Server
vi /etc/apache2/httpd.conf
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
vi /etc/apache2/sites-enabled/000-default
Ubah (sebaiknya jangan dilakukan ini membuat kacau)
AllowOverride None
menjadi
AllowOverride FileInfo Options
Ambil source code Wordpress berbahasa Indonesia dari
http://mu.wordpress.org/download/
Copy source code ke folder web
mv /usr/local/src/wordpress-mu-2.8.5.2.tar.gz /var/www/ cd /var/www tar zxvf wordpress-mu-2.8.5.2.tar.gz mv /var/www/wordpress-mu /var/www/blogs cd /var/www/blogs cp htaccess.dist .htaccess
Konfigurasi Wordpress untuk menggunakan database MySQL
cd /var/www/blogs cp wp-config-sample.php wp-config.php vi wp-config.php
define('DB_NAME', 'wordpressmu'); define('DB_USER', 'wordpressmu'); define('DB_PASSWORD', 'wordpressmu'); define('DB_HOST', 'localhost'); define('VHOST', 'yes'); $base = '/blogs'; define('DOMAIN_CURRENT_SITE', 'sekolah.sch.id' ); define('PATH_CURRENT_SITE', '/var/www/blogs' );
Masuk ke situs
http://api.wordpress.org/secret-key/1.1/wpmu/salt
Masukan data yang di peroleh, misalnya
define('AUTH_KEY', 'o,~IslCxT[zl:njx.$mRGYg52Z]Z%~P+4zsw&$PLLXMK+e/.)KdlOdx8>E(|s4z1'); define('SECURE_AUTH_KEY', 'Ofp7Er:{TeC2=9v:*]O|uI5S_~occ.l/&L&,q+V+!<iPzmZ*!~X{-6#&eMg+|qqG'); define('LOGGED_IN_KEY', 'k-5iE)zNyC5m+f723l<sof|}C+|?(Pc?aEV.Zf~z=15W^/%S<7/ru`ElLN_{Cx~+'); define('AUTH_SALT', '>U1,dA#pB{=t3(=Qf08B%lg1C#V2^lqcO|}!D0[^I~&Ny(Il|Yf+q-KJ=9F^&r|R'); define('SECURE_AUTH_SALT', '~}?1I-7l>GK91+Ml]%U<,wfZ;>3#FHV|H;6Ul&|d!~QVjOIux]?ah)/+rWDK6Z}.'); define('LOGGED_IN_SALT', 'UZKQdEQKwq3JmS/N|y|O(;SQ>5Bc)tuuw2VNC[OgRN?W}% KZxh?^~j@Rr=d>)JX');
Siapkan database
# mysql -u root -p Enter password: create database wordpressmu; grant INSERT,SELECT on root.* to wordpressmu@localhost; grant ALL on wordpressmu.* to wordpressmu@localhost identified by 'wordpressmu'; grant ALL on wordpressmu.* to wordpressmu identified by 'wordpressmu'; exit
Akses Web Wordpress yang baru melalui perintah
http://192.168.0.254/blogs
atau jika DNS sudah benar harus bisa di akses melalui
http://sekolah.sch.id/blogs
Kita dapat mengubah password administrator (admin) menjadi 123456 agar memudahkan penggunaan.
User & Password demo
Telah disiapkan username & password untuk demo
admin 123456
siswa1 123456 siswa2 123456 siswa3 123456 siswa4 123456 siswa5 123456
guru1 123456 guru2 123456 guru3 123456 guru4 123456 guru5 123456
Set supaya memudahkan siswa untuk dapat mendaftar sendiri
http://192.168.0.254/wordpress/wp-admin/options-general.php
Contreng pada
Keanggotaan Keanggotaan Setiap orang dapat mendaftar Peran Pengguna Baru Standar Penulis Zona waktu UTC+7
Pranala Menarik
- Remaster Ubuntu untuk SchoolOnffLine Menggunakan UCK
- SchoolOnffLine: Server Berbasis Sabily 9.04
- SchoolOnffLine: Server Berbasis Ubuntu 9.04
- SchoolOnffLine: Server Berbasis Ubuntu
- SchoolOnffLine: Server Berbasis Ubuntu 9.04 Alternate
- SchoolOnffLine: Server Berbasis Ubuntu 9.04 Server
- SchoolOnffLine: Server Wikipedia for School
- Remastering Ubuntu