Memasang Apache MySQL dan PHP 5 di BlankOn X

Berikut cara cepatnya. Buka terminal dan pastikan koneksi internet terhubung.
1)*
$  sudo apt-get update
$  sudo su
#  apt install -y mysql-server mysql-client
#  mysql_secure_installation
#  apt install -y apache2 apache2-doc
#  apt install -y php5 php5-mysql libapache2-mod-php5
#  apt install -y phpmyadmin
#  exit
$  sudo a2enmod userdir
$  mkdir /home/username/public_html
$  sudo chgrp www-data /home/username/public_html
$  sudo nano /etc/apache2/mods-enabled/userdir.conf
ubah username dengan milik Anda,

<IfModule mod_userdir.c>
UserDir public_html
UserDir enabled username
<Directory /home/*/public_html>
AllowOverride All
Options MultiViews Indexes SymLinksIfOwnerMatch
Require all granted
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
</IfModule>

$  sudo nano /etc/apache2/mods-enabled/php5.conf
Berikan tanda pagar pada tulisan berikut,

php_admin_flag engine Off

$  sudo nano /etc/apache2/apache2.conf
masukkan parameter di bawah ini pada tempat paling bawah

Include /etc/phpmyadmin/apache.conf

2)*
$  sudo nano /etc/apache2/conf-enabled/security.conf
cari parameter dan ubah nilainya seperti di bawah ini,

ServerSignature Off

 

$  sudo systemctl restart apache2.service

 

Keterangan :
1)* https://rhdsv.wordpress.com/2013/06/15/installing-lamp-on-ubuntu-13-04/
 http://abunimage.blogspot.co.id/2012/11/konfigurasi-awal-phpmyadmin-pada.html
2)* https://rhdsv.wordpress.com/2014/03/14/menghilangkan-signature-apache2-ubuntu-debian/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s