Pengertian
ISPConfig 3 adalah sebuah panel kontrol webhosting yang memungkinkan Anda untuk melakukan konfigurasi layanan-layanan menggunakan browser web seperti pada: server web Apache atauNginX, server email Postfix, server Courier atau Dovecot IMAP/POP3, basis data MySQL, nameserver BIND atau MyDNS, PureFTPd, SpamAssassin, ClamAV dan banyak lainnya.
Langkah-langkah Instalasi ISP Config:
Sebelum melakukan Instalasi ISP Config, ada beberapa kebutuhan wajib yang harus di miliki PC untuk melakukan konfigurasi Web Server ISP Config.
Sistem Operasi Linux Debian 7.8 (Whezzy). PC harus sudah terinstall sistem operasi Linux Debian 7.8 Whezzy. Basis text atau GUI tidak menjadi permasalahan.
INSTALASI ISP CONFIG
Langkah-langkah Instalasi ISP Config:
1. Menambahkan IP. nano /etc/network/interfaces
Restart network. nano /etc/init.d/networking restart
2. Menambahkan hostname baru pada IP. Nano /etc/hosts
3. Jalankan.
echo server1.example.com > /etc/hostname << [ENTER]
/etc/init.d/hostname.sh start << [ENTER]
echo server1.example.com > /etc/hostname << [ENTER]
/etc/init.d/hostname.sh start << [ENTER]
4. Kemudian jalankan ini.
hostname << [ENTER]
hostname -f << [ENTER]
hostname << [ENTER]
hostname -f << [ENTER]
Jika sudah tampil server1.example.com , maka berhasil untuk penambahan Hostname.
5. Menambahkan repositori. nano /etc/apt/sources.list.
Update : apt-get-update
Upgrade : apt-get-upgrade
6. Mengubah keamanan default. dpkg-reconfigure dash
Use dash as the default system shell (/bin/sh)? << no
Jika tidak menginstal paket ini, instal ISP Config akan gagal.
7. Sinkronisasi sistem waktu. apt-get install ntp ntpdate
Use dash as the default system shell (/bin/sh)? << no
Jika tidak menginstal paket ini, instal ISP Config akan gagal.
7. Sinkronisasi sistem waktu. apt-get install ntp ntpdate
8. Install Postfix, Dovecot, MySQL, phpMyAdmin, rkhunter, binutils
apt-get install postfix postfix-mysql postfix-doc mysql-client mysql-server openssl getmail4 rkhunter binutils dovecot-imapd dovecot-pop3d dovecot-mysql dovecot-sieve sudo
General type of mail configuration: << Internet Site
System mail name: << server1.example.com
New password for the MySQL "root" user: << yourrootsqlpassword
Repeat password for the MySQL "root" user: << yourrootsqlpassword
System mail name: << server1.example.com
New password for the MySQL "root" user: << yourrootsqlpassword
Repeat password for the MySQL "root" user: << yourrootsqlpassword
9. nano /etc/postfix/master.cf
Restart Postfix. /etc/init.d/postfix restart
10. Mysql. nano /etc/mysql/my.cnf
Restart Mysql. /etc/init.d/mysql restart
10. Mysql. nano /etc/mysql/my.cnf
Restart Mysql. /etc/init.d/mysql restart
11. Install Amavisd-new, SpamAssassin, And Clamav.
apt-get install amavisd-new spamassassin clamav clamav-daemon zoo unzip bzip2 arj nomarch lzop cabextract apt-listchanges libnet-ldap-perl libauthen-sasl-perl clamav-docs daemon libio-string-perl libio-socket-ssl-perl libnet-ident-perl zip libnet-dns-perl
12. Untuk mengguankan Amavisd harus mereload SpamAssassin internal.
apt-get install amavisd-new spamassassin clamav clamav-daemon zoo unzip bzip2 arj nomarch lzop cabextract apt-listchanges libnet-ldap-perl libauthen-sasl-perl clamav-docs daemon libio-string-perl libio-socket-ssl-perl libnet-ident-perl zip libnet-dns-perl
12. Untuk mengguankan Amavisd harus mereload SpamAssassin internal.
/etc/init.d/spamassassin stop
update-rc.d -f spamassassin remove
update-rc.d -f spamassassin remove
13. Install Apache2, PHP5, phpMyAdmin, FCGI, suExec, Pear, and mcrypt.
apt-get install apache2 apache2.2-common apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert libapache2-mod-php5 php5 php5-common php5-gd php5-mysql php5-imap phpmyadmin php5-cli php5-cgi libapache2-mod-fcgid apache2-suexec php-pear php-auth php5-mcrypt mcrypt php5-imagick imagemagick libapache2-mod-suphp libruby libapache2-mod-ruby libapache2-mod-python php5-curl php5-intl php5-memcache php5-memcached php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl memcached
Web server to reconfigure automatically: << apache2
Configure database for phpmyadmin with dbconfig-common? << no
Configure database for phpmyadmin with dbconfig-common? << no
14. Jalankan
a2enmod suexec rewrite ssl actions include
a2enmod dav_fs dav auth_digest
a2enmod suexec rewrite ssl actions include
a2enmod dav_fs dav auth_digest
15. Buka nano /etc/apache2/mods-available/suphp.conf
Restart Apache /etc/init.d/apache2 restart
16. Buka nano /etc/mime.types
Restart Apache /etc/init.d/apache2 restart
17. Install Xcache, Optimisasi PHP code. apt-get install php5-xcache
Restart Apache /etc/init.d/apache2 restart
18. Install PHP-FPM apt-get install libapache2-mod-fastcgi php5-fpm
Mengaktifkan paket a2enmod actions fastcgi alias
Restart apache /etc/init.d/apache2 restart
19. Install Mailman apt-get install mailman
Languages to support: << en (English)
Missing site list << Ok
Missing site list << Ok
Sesudah menginstall Mailman, harus membuat mailman baru. Seperti di bawah ini :
root@server1:~# newlist mailman
Enter the email of the person running the list: << admin email address, e.g. listadmin@example.com
Initial mailman password: << admin password for the mailman list
To finish creating your mailing list, you must edit your /etc/aliases (or
equivalent) file by adding the following lines, and possibly running the
`newaliases' program:
Enter the email of the person running the list: << admin email address, e.g. listadmin@example.com
Initial mailman password: << admin password for the mailman list
To finish creating your mailing list, you must edit your /etc/aliases (or
equivalent) file by adding the following lines, and possibly running the
`newaliases' program:
## mailman mailing list
mailman: "|/var/lib/mailman/mail/mailman post mailman"
mailman-admin: "|/var/lib/mailman/mail/mailman admin mailman"
mailman-bounces: "|/var/lib/mailman/mail/mailman bounces mailman"
mailman-confirm: "|/var/lib/mailman/mail/mailman confirm mailman"
mailman-join: "|/var/lib/mailman/mail/mailman join mailman"
mailman-leave: "|/var/lib/mailman/mail/mailman leave mailman"
mailman-owner: "|/var/lib/mailman/mail/mailman owner mailman"
mailman-request: "|/var/lib/mailman/mail/mailman request mailman"
mailman-subscribe: "|/var/lib/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mailman"
Hit enter to notify mailman owner... << ENTER
20. Buka nano /etc/aliases
Jalankan newaliases
Restart Postfix /etc/init.d/postfix restart
Restart apache /etc/init.d/apache2 restart
Mulai maiman daemon /etc/init.d/mailman start
Restart Postfix /etc/init.d/postfix restart
Restart apache /etc/init.d/apache2 restart
Mulai maiman daemon /etc/init.d/mailman start
21. Install PureFTPd And Quota apt-get install pure-ftpd-common pure-ftpd-mysql quota quotatool
Edit file nano /etc/default/pure-ftpd-common
Jalankan
echo 1 > /etc/pure-ftpd/conf/TLS
echo 1 > /etc/pure-ftpd/conf/TLS
mkdir -p /etc/ssl/private/
openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -keyout
/etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem
Country Name (2 letter code) [AU]: << Enter [Negara ‘ID’]
State or Province Name (full name) [Some-State]: << Enter [Provinsi]
Locality Name (eg, city) []: << Enter [Kota]
Organization Name (eg, company) [Internet Widgits Pty Ltd]: << Enter [Organisasi]
Organizational Unit Name (eg, section) []: << Enter [Unit Organisasi]
Common Name (eg, YOUR name) []: << Enter [Nama]
Email Address []: << Enter [Nama]
State or Province Name (full name) [Some-State]: << Enter [Provinsi]
Locality Name (eg, city) []: << Enter [Kota]
Organization Name (eg, company) [Internet Widgits Pty Ltd]: << Enter [Organisasi]
Organizational Unit Name (eg, section) []: << Enter [Unit Organisasi]
Common Name (eg, YOUR name) []: << Enter [Nama]
Email Address []: << Enter [Nama]
22. Ubah permissions SSL certificate chmod 600 /etc/ssl/private/pure-ftpd.pem
23. Restart PureFTPd /etc/init.d/pure-ftpd-mysql restart
24. Edit nano /etc/fstab
Mengaktifkan quota
mount -o remount /
quotacheck -avugm
quotaon -avug
quotaon -avug
25. Install BIND DNS Server apt-get install bind9 dnsutils
26. Install Vlogger, Webalizer, And AWstats apt-get install vlogger webalizer awstats geoip-database libclass-dbi-mysql-perl
Open nano /etc/cron.d/awstats
27. Install Jailkit apt-get install build-essential autoconf automake1.9 libtool flex bison debhelper binutils-gold
cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.17.tar.gz
tar xvfz jailkit-2.17.tar.gz
cd jailkit-2.17
./debian/rules binary
wget http://olivier.sessink.nl/jailkit/jailkit-2.17.tar.gz
tar xvfz jailkit-2.17.tar.gz
cd jailkit-2.17
./debian/rules binary
Install dengan paket .deb
cd ..
dpkg -i jailkit_2.17-1_*.deb
rm -rf jailkit-2.17*
cd ..
dpkg -i jailkit_2.17-1_*.deb
rm -rf jailkit-2.17*
28. Install fail2ban apt-get install fail2ban
Membuat file fail2ban nano /etc/fail2ban/jail.local
Buka nano /etc/fail2ban/filter.d/pureftpd.conf
Restart /etc/init.d/fail2ban restart
29. Install SquirrelMail apt-get install squirrelmail
Konfigurasi Squirrelmail squirrelmail-configure
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Main Menu --
1. Organization Preferences
2. Server Settings
3. Folder Defaults
4. General Options
5. Themes
6. Address Books
7. Message of the Day (MOTD)
8. Plugins
9. Database
10. Languages
D. Set pre-defined settings for specific IMAP servers
C Turn color on
S Save data
Q Quit
Command >> << D
SquirrelMail Configuration : Read: config.php
---------------------------------------------------------
Please select your IMAP server:
bincimap = Binc IMAP server
courier = Courier IMAP server
cyrus = Cyrus IMAP server
dovecot = Dovecot Secure IMAP server
exchange = Microsoft Exchange IMAP server
hmailserver = hMailServer
macosx = Mac OS X Mailserver
mercury32 = Mercury/32
uw = University of Washington's IMAP server
gmail = IMAP access to Google mail (Gmail) accounts
quit = Do not change anything
Command >> << dovecot
SquirrelMail Configuration : Read: config.php
---------------------------------------------------------
Please select your IMAP server:
bincimap = Binc IMAP server
courier = Courier IMAP server
cyrus = Cyrus IMAP server
dovecot = Dovecot Secure IMAP server
exchange = Microsoft Exchange IMAP server
hmailserver = hMailServer
macosx = Mac OS X Mailserver
mercury32 = Mercury/32
uw = University of Washington's IMAP server
gmail = IMAP access to Google mail (Gmail) accounts
quit = Do not change anything
Command >> dovecot
imap_server_type = dovecot
default_folder_prefix =
trash_folder = Trash
sent_folder = Sent
draft_folder = Drafts
show_prefix_option = false
default_sub_of_inbox = false
show_contain_subfolders_option = false
optional_delimiter = detect
delete_folder = false
Press any key to continue... << press a key
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Main Menu --
1. Organization Preferences
2. Server Settings
3. Folder Defaults
4. General Options
5. Themes
6. Address Books
7. Message of the Day (MOTD)
8. Plugins
9. Database
10. Languages
D. Set pre-defined settings for specific IMAP servers
C Turn color on
S Save data
Q Quit
Command >> << S
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Main Menu --
1. Organization Preferences
2. Server Settings
3. Folder Defaults
4. General Options
5. Themes
6. Address Books
7. Message of the Day (MOTD)
8. Plugins
9. Database
10. Languages
D. Set pre-defined settings for specific IMAP servers
C Turn color on
S Save data
Q Quit
Command >> << Q
---------------------------------------------------------
Main Menu --
1. Organization Preferences
2. Server Settings
3. Folder Defaults
4. General Options
5. Themes
6. Address Books
7. Message of the Day (MOTD)
8. Plugins
9. Database
10. Languages
D. Set pre-defined settings for specific IMAP servers
C Turn color on
S Save data
Q Quit
Command >> << D
SquirrelMail Configuration : Read: config.php
---------------------------------------------------------
Please select your IMAP server:
bincimap = Binc IMAP server
courier = Courier IMAP server
cyrus = Cyrus IMAP server
dovecot = Dovecot Secure IMAP server
exchange = Microsoft Exchange IMAP server
hmailserver = hMailServer
macosx = Mac OS X Mailserver
mercury32 = Mercury/32
uw = University of Washington's IMAP server
gmail = IMAP access to Google mail (Gmail) accounts
quit = Do not change anything
Command >> << dovecot
SquirrelMail Configuration : Read: config.php
---------------------------------------------------------
Please select your IMAP server:
bincimap = Binc IMAP server
courier = Courier IMAP server
cyrus = Cyrus IMAP server
dovecot = Dovecot Secure IMAP server
exchange = Microsoft Exchange IMAP server
hmailserver = hMailServer
macosx = Mac OS X Mailserver
mercury32 = Mercury/32
uw = University of Washington's IMAP server
gmail = IMAP access to Google mail (Gmail) accounts
quit = Do not change anything
Command >> dovecot
imap_server_type = dovecot
default_folder_prefix =
trash_folder = Trash
sent_folder = Sent
draft_folder = Drafts
show_prefix_option = false
default_sub_of_inbox = false
show_contain_subfolders_option = false
optional_delimiter = detect
delete_folder = false
Press any key to continue... << press a key
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Main Menu --
1. Organization Preferences
2. Server Settings
3. Folder Defaults
4. General Options
5. Themes
6. Address Books
7. Message of the Day (MOTD)
8. Plugins
9. Database
10. Languages
D. Set pre-defined settings for specific IMAP servers
C Turn color on
S Save data
Q Quit
Command >> << S
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Main Menu --
1. Organization Preferences
2. Server Settings
3. Folder Defaults
4. General Options
5. Themes
6. Address Books
7. Message of the Day (MOTD)
8. Plugins
9. Database
10. Languages
D. Set pre-defined settings for specific IMAP servers
C Turn color on
S Save data
Q Quit
Command >> << Q
Konfigurasi SquirrelMail Apache
cd /etc/apache2/conf.d/
ln -s ../../squirrelmail/apache.conf squirrelmail.conf
/etc/init.d/apache2 reload
Buka nano /etc/apache2/conf.d/squirrelmail.conf
cd /etc/apache2/conf.d/
ln -s ../../squirrelmail/apache.conf squirrelmail.conf
/etc/init.d/apache2 reload
Buka nano /etc/apache2/conf.d/squirrelmail.conf
Membuat direktori baru mkdir /var/lib/squirrelmail/tmp
chown www-data /var/lib/squirrelmail/tmp
Restart apache /etc/init.d/apache2 reload
chown www-data /var/lib/squirrelmail/tmp
Restart apache /etc/init.d/apache2 reload
Akses Squirrelmail URL :
http://192.168.2.2/squirrelmail
http://www.oky.com/squirrelmail
Control Panel Squirrelmail ISP Config :
http://server1.example.com:8080/squirrelmail ( setelah install ISP Config)
http://192.168.2.2/squirrelmail
http://www.oky.com/squirrelmail
Control Panel Squirrelmail ISP Config :
http://server1.example.com:8080/squirrelmail ( setelah install ISP Config)
Buka nano /etc/apache2/conf.d/squirrelmail.conf
30. Install ISPConfig
cd /tmp
wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
tar xfz ISPConfig-3-stable.tar.gz
cd ispconfig3_install/install/
wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
tar xfz ISPConfig-3-stable.tar.gz
cd ispconfig3_install/install/
Jalankan
php -q install.php
php -q install.php
Konfigurasi ISP Config:
Select language (en,de) [en]: << ENTER
Installation mode (standard,expert) [standard]: << ENTER
Full qualified hostname (FQDN) of the server, eg server1.domain.tld [server1.example.com]: << ENTER
MySQL server hostname [localhost]: << ENTER
MySQL root username [root]: << ENTER
MySQL root password []: << yourrootsqlpassword
MySQL database to create [dbispconfig]: << ENTER
MySQL charset [utf8]: << ENTER
Select language (en,de) [en]: << ENTER
Installation mode (standard,expert) [standard]: << ENTER
Full qualified hostname (FQDN) of the server, eg server1.domain.tld [server1.example.com]: << ENTER
MySQL server hostname [localhost]: << ENTER
MySQL root username [root]: << ENTER
MySQL root password []: << yourrootsqlpassword
MySQL database to create [dbispconfig]: << ENTER
MySQL charset [utf8]: << ENTER
---------------------------------------------------------------------------------------------------
Country Name (2 letter code) [AU]: << ENTER
State or Province Name (full name) [Some-State]: << ENTER
Locality Name (eg, city) []: << ENTER
Organization Name (eg, company) [Internet Widgits Pty Ltd]: << ENTER
Organizational Unit Name (eg, section) []: << ENTER
Common Name (e.g. server FQDN or YOUR name) []: << ENTER
Email Address []: << ENTER
Configuring Jailkit
Configuring Dovecot
Configuring Spamassassin
Configuring Amavisd
Configuring Getmail
Configuring Pureftpd
Configuring BIND
Configuring Apache
Configuring Vlogger
Configuring Apps vhost
Configuring Bastille Firewall
Configuring Fail2ban
Installing ISPConfig
ISPConfig Port [8080]: << ENTER
Do you want a secure (SSL) connection to the ISPConfig web interface (y,n) [y]: << ENTER
State or Province Name (full name) [Some-State]: << ENTER
Locality Name (eg, city) []: << ENTER
Organization Name (eg, company) [Internet Widgits Pty Ltd]: << ENTER
Organizational Unit Name (eg, section) []: << ENTER
Common Name (e.g. server FQDN or YOUR name) []: << ENTER
Email Address []: << ENTER
Configuring Jailkit
Configuring Dovecot
Configuring Spamassassin
Configuring Amavisd
Configuring Getmail
Configuring Pureftpd
Configuring BIND
Configuring Apache
Configuring Vlogger
Configuring Apps vhost
Configuring Bastille Firewall
Configuring Fail2ban
Installing ISPConfig
ISPConfig Port [8080]: << ENTER
Do you want a secure (SSL) connection to the ISPConfig web interface (y,n) [y]: << ENTER
---------------------------------------------------------------------------------------------------
Country Name (2 letter code) [AU]: << ENTER
State or Province Name (full name) [Some-State]: << ENTER
Locality Name (eg, city): << ENTER
Organization Name (eg, company) [Internet Widgits Pty Ltd]: << ENTER
Organizational Unit Name (eg, section): << ENTER
Common Name (e.g. server FQDN or YOUR name): << ENTER
Email Address : << ENTER
---------------------------------------------------------------------------------------------------
A challenge password : << ENTER
An optional company name : << ENTER
--------------------------------------------------------------------------------------------------
Akses ISP Config:
https://server1.oky.com:8080/
https://192.168.2.2:8080/
https://server1.oky.com:8080/
https://192.168.2.2:8080/
KONFIGURASI WEB SERVER ISP CONFIG
Langkah-langkah konfigurasi web server ISP Config:
1. Ini adalah tempat sistem server berada. Yakni server1.oky.com
2. Menambahkan Client sesuai kebutuhan dan atur profil Client. Saya disini menggunakan 2 Client. Client 1 adalah PT. Ajinomoto.
3. Kemudian Simpan.
4. Menambahkan Client 2, yakni PT. Tjiwikimia.
5. Kemudian simpan.
6. Menambahkan Web Domain. Server1.oky.com akan membuat domain isp.com.
7. Menambahkan Web Domain. Client PT. Ajinomoto akan membuat domain ajinomoto.com.
8. Menambahkan Web Domain. PT. Tjiwikimia akan membuat domain tjiwikimia.com.
9. Menambahkan E-mail. Server1.oky.com dengan domain isp.com.
10. Menambahkan E-mail. Client PT. Ajinomoto dengan domain ajinomoto.com.
11. Menambahkan E-mail. PT. Tjiwikimia dengan domain tjiwikimia.com.
12. Pengaturan DNS dan pembuatan nama E-mail. server1.oky.com akan di direct ke isp.com.
13. Pengaturan DNS dan pembuatan nama E-mail. Client PT. Ajinomoto akan di direct ke ajinomoto.com.
14. Pengaturan DNS dan pembuatan nama E-mail. Client PT. Tjiwikimia akan di direct ke tjiwikimia.com.
15. Dengan ISP Config space kuota hardisk maupun mailbox adalah unlimited.
16. Tes website isp.com.
17. Tes website ajinomoto.com.
18. Tes website tjiwikimia.com.
19. Remote ke isp.com. Url : https://isp.com:8080
21. Client PT. Tjiwikimia dapat me-remote secara personal. Url : https://tjiwikimia.com:8080
22. Kirim surel menggunakan squirrelmail. PT. Ajinomoto akan mengirim E-mail ke PT. Tjiwikimia. Login squirrelmail PT Ajinomoto.
23. Badan pesan. Klik ‘send’ untuk mengirim. Surel akan dikirim ke PT. Tjiwikimia.
25. Di kotak masuk squirrelmail PT. Tjiwikimia akan ada pesan masuk dari PT. Ajinomoto.
makasih sudah share
ReplyDeleteObeng set