Raspbian: Instalasi Mediawiki

From OnnoWiki
Revision as of 05:56, 10 January 2015 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Instalasi paket pendukung

sudo apt-get install apache2 php5 php5-xmlrpc php5-mysql php5-gd \
php5-cli php5-curl mysql-client mysql-server libphp-adodb \
libgd2-xpm-dev php5-curl php-pear

Setup database (asumsi root password 123456)

mysql -u root -p123456
create database mediawiki;
grant ALL on root.* to mediawiki@localhost;
grant ALL on mediawiki.* to mediawiki@localhost identified by 'mediawiki';
grant ALL on mediawiki.* to mediawiki identified by 'mediawiki';
exit