Difference between revisions of "IPv6 Web: Mediawiki"

From OnnoWiki
Jump to navigation Jump to search
Line 31: Line 31:
  
  
 +
==Database==
 +
 +
Untuk operasional, jangan menggunakan username & password seperti contoh di bawah ini. Ini hanya contoh untuk memudahkan saja.
 +
 +
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
  
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 
* [[IPv6]]
 
* [[IPv6]]

Revision as of 11:02, 4 February 2019

/etc/apt/source.list & /etc/hosts

Edit /etc/apt/sources.list pastikan

deb http://archive.ubuntu.com/ubuntu bionic main universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-security main universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates main universe multiverse

Edit /etc/hosts


Instalasi

wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb
sudo dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb
sudo apt update
sudo apt install percona-server-server-5.7

Masukan root password percona jika di tanya. Asumsi password root = 123456.

apt -y install apache2 php php-xmlrpc php-mysql php-gd php-cli php-curl \
mysql-client mysql-server libphp-adodb libgd-dev php-pear \
php-common libapache2-mod-php php-fpm \
php-bz2 php-xml imagemagick git php-mbstring

Restart apache2

service apache2 stop
service apache2 start


Database

Untuk operasional, jangan menggunakan username & password seperti contoh di bawah ini. Ini hanya contoh untuk memudahkan saja.

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

Pranala Menarik