Difference between revisions of "Korban: Install squirrelmail"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
sudo apt-get update | sudo apt-get update | ||
sudo locale-gen id_ID.UTF-8 | sudo locale-gen id_ID.UTF-8 | ||
− | apt- | + | apt -y install apache2 php php-xmlrpc php-mysql php-gd php-cli \ |
− | + | php-curl dovecot-common dovecot-imapd \ | |
− | dovecot-pop3d postfix | + | dovecot-pop3d postfix php5.6 \ |
− | php5.6-mysql php-gettext php5.6-mbstring php | + | php5.6-mysql php-gettext php5.6-mbstring php-mbstring \ |
− | php-xdebug libapache2-mod-php5.6 libapache2-mod- | + | php-xdebug libapache2-mod-php5.6 libapache2-mod-php |
Aktifkan | Aktifkan | ||
sudo a2dismod php7.0 ; sudo a2enmod php5.6 ; sudo service apache2 restart | sudo a2dismod php7.0 ; sudo a2enmod php5.6 ; sudo service apache2 restart | ||
− | |||
− | |||
− | == | + | ==Download== |
− | /usr/ | + | sudo su |
+ | cd /usr/local/src | ||
+ | wget wget https://sourceforge.net/projects/squirrelmail/files/stable/1.4.22/squirrelmail-webmail-1.4.22.zip | ||
+ | unzip squirrelmail-webmail-1.4.22.zip | ||
+ | mv squirrelmail-webmail-1.4.22 /var/www/html/squirrelmail/ | ||
+ | mkdir -p /var/local/squirrelmail/data | ||
+ | chown -Rf www-data: /var/local/squirrelmail/ | ||
+ | chmod -Rf 777 /var/local/squirrelmail/ | ||
− | + | ==Konfigurasi== | |
+ | cd /var/www/html/squirrelmail/ | ||
+ | ./configure | ||
+ | 2 --> 1 --> domain.id (mis korban.id) --> S --> Q | ||
==Restart== | ==Restart== |
Latest revision as of 05:38, 23 March 2019
Persiapan
Tambahkan repo
sudo apt -y install software-properties-common sudo apt -y install python3-software-properties sudo apt -y install python-software-properties
sudo add-apt-repository ppa:ondrej/php
Install
sudo apt-get update sudo locale-gen id_ID.UTF-8 apt -y install apache2 php php-xmlrpc php-mysql php-gd php-cli \ php-curl dovecot-common dovecot-imapd \ dovecot-pop3d postfix php5.6 \ php5.6-mysql php-gettext php5.6-mbstring php-mbstring \ php-xdebug libapache2-mod-php5.6 libapache2-mod-php
Aktifkan
sudo a2dismod php7.0 ; sudo a2enmod php5.6 ; sudo service apache2 restart
Download
sudo su cd /usr/local/src wget wget https://sourceforge.net/projects/squirrelmail/files/stable/1.4.22/squirrelmail-webmail-1.4.22.zip unzip squirrelmail-webmail-1.4.22.zip mv squirrelmail-webmail-1.4.22 /var/www/html/squirrelmail/ mkdir -p /var/local/squirrelmail/data chown -Rf www-data: /var/local/squirrelmail/ chmod -Rf 777 /var/local/squirrelmail/
Konfigurasi
cd /var/www/html/squirrelmail/ ./configure 2 --> 1 --> domain.id (mis korban.id) --> S --> Q
Restart
service dovecot restart /etc/init.d/apache2 restart /etc/init.d/postfix restart
Pancing email di INBOX
telnet localhost 25
helo test.com mail from: <test@test.com> rcpt to: <user@domain.com> data From: <test@test.com> To: <user@domain.com> Subject: test test . quit