Difference between revisions of "Raspbian: Instalasi Mediawiki"

From OnnoWiki
Jump to navigation Jump to search
Line 24: Line 24:
 
  chmod a+w wiki/mw-config
 
  chmod a+w wiki/mw-config
 
  chmod a+w wiki/config
 
  chmod a+w wiki/config
 +
 +
Web ke
 +
 +
http://ip-raspberrypi/wiki/
 +
http://192.168.0.3/wiki

Revision as of 06:13, 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

Copy source code mediawiki

cp mediawiki-1.24.1.tar.gz /var/www/
cd /var/www
tar zxvf mediawiki-1.24.1.tar.gz
mv mediawiki-1.24.1 wiki
cp -Rf /var/www/wiki/mw-config/ /var/www/wiki/config
chmod a+w wiki/mw-config
chmod a+w wiki/config

Web ke

http://ip-raspberrypi/wiki/
http://192.168.0.3/wiki