Korban: Install squirrelmail

From OnnoWiki
Revision as of 08:07, 31 May 2017 by Onnowpurbo (talk | contribs) (Created page with "==Persiapan== Tambahkan repo sudo add-apt-repository ppa:ondrej/php Install sudo apt-get update sudo locale-gen id_ID.UTF-8 apt-get install apache2 php7.0 php7.0-xmlrp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Persiapan

Tambahkan repo

sudo add-apt-repository ppa:ondrej/php

Install

sudo apt-get update
sudo locale-gen id_ID.UTF-8
apt-get install apache2 php7.0 php7.0-xmlrpc php7.0-mysql php7.0-gd php7.0-cli \
php7.0-curl mysql-client mysql-server dovecot-common dovecot-imapd \
dovecot-pop3d postfix squirrelmail squirrelmail-decode php7.0 php5.6 \
php5.6-mysql php-gettext php5.6-mbstring php-mbstring php7.0-mbstring \
php-xdebug libapache2-mod-php5.6 libapache2-mod-php7.0

Aktifkan

sudo a2dismod php7.0 ; sudo a2enmod php5.6 ; sudo service apache2 restart
sudo cp /etc/squirrelmail/apache.conf /etc/apache2/sites-available/squirrelmail.conf
sudo a2ensite squirrelmail.conf

Konfigurasi

/usr/sbin/squirrelmail-configure
2 --> 1 --> domain.id (mis xit.id) --> S --> Q


Restart

service dovecot restart
/etc/init.d/apache2 restart
/etc/init.d/postfix restart