Difference between revisions of "Raspbian: Instalasi Mediawiki"

From OnnoWiki
Jump to navigation Jump to search
(New page: 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-pe...)
 
Line 4: Line 4:
 
  php5-cli php5-curl mysql-client mysql-server libphp-adodb \
 
  php5-cli php5-curl mysql-client mysql-server libphp-adodb \
 
  libgd2-xpm-dev php5-curl php-pear
 
  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

Revision as of 05:56, 10 January 2015

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