Difference between revisions of "SchoolOnffLine: Instalasi Wordpress Multi User"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 17: | Line 17: | ||
Konfigurasi [[Wordpress]] untuk menggunakan [[database]] [[MySQL]] | Konfigurasi [[Wordpress]] untuk menggunakan [[database]] [[MySQL]] | ||
− | cd /var/www/wordpress | + | cd /var/www/wordpress-mu |
cp wp-config-sample.php wp-config.php | cp wp-config-sample.php wp-config.php | ||
vi wp-config.php | vi wp-config.php | ||
Line 25: | Line 25: | ||
define('DB_PASSWORD', 'wordpress-mu'); | define('DB_PASSWORD', 'wordpress-mu'); | ||
define('DB_HOST', 'localhost'); | define('DB_HOST', 'localhost'); | ||
+ | define('DOMAIN_CURRENT_SITE', 'sekolah.sch.id' ); | ||
+ | define('PATH_CURRENT_SITE', '/var/www/wordpress-mu' ); | ||
+ | |||
+ | 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]] | Siapkan [[database]] | ||
Line 30: | Line 45: | ||
# mysql -u root -p | # mysql -u root -p | ||
Enter password: | Enter password: | ||
− | create database | + | create database wordpressmu; |
− | grant INSERT,SELECT on root.* to | + | grant INSERT,SELECT on root.* to wordpressmu@localhost; |
− | grant ALL on | + | grant ALL on wordpressmu.* to wordpressmu@localhost identified by 'wordpressmu'; |
− | grant ALL on | + | grant ALL on wordpressmu.* to wordpressmu identified by 'wordpressmu'; |
exit | exit | ||
Revision as of 16:05, 10 November 2009
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
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 cd /var/www/wordpress-mu
Konfigurasi Wordpress untuk menggunakan database MySQL
cd /var/www/wordpress-mu cp wp-config-sample.php wp-config.php vi wp-config.php
define('DB_NAME', 'wordpress-mu'); define('DB_USER', 'wordpress-mu'); define('DB_PASSWORD', 'wordpress-mu'); define('DB_HOST', 'localhost'); define('DOMAIN_CURRENT_SITE', 'sekolah.sch.id' ); define('PATH_CURRENT_SITE', '/var/www/wordpress-mu' );
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/wordpress-mu install.php
Langkah yang perlu dilakukan
- isi Weblog title dan e-mail
- user dan password untuk administrator admin
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