ISP Config debian 8 jesie
Hallo sobat kali inin saya akan memberikan pengertian isp config, ISPConfig adalah open source hosting control panel untuk Linux , berlisensi lisensi BSD dan dikembangkan oleh perusahaan ISPConfig UG. Proyek ISPConfig dimulai pada musim gugur 2005 oleh GmbH perusahaan Jerman projektfarm.(Sumber WIKI)
Ituah sedikit mengenai ISPConfig untuk tahap penginstalan saya belum terlalu bisa karena proses instalasi yang banyak dan saya belum hafal.
Tapi saya akan memberikan website resmi nya yaitu perfect server jika anda ingin menyoba nya silahkan,
Oke langsung saja :
1. Install ssh server terlebih dahulu dengan perintah
apt-get install ssh openssh-server
2. Install shell text editor dengan perintah
apt-get install nano vim-nox
3. Silahkan konfigurasi hostname anda dengan perintah
nano /etc/hostsContoh :
127.0.0.1 localhost.localdomain localhost 192.168.1.100 server1.example.com server1 # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters
Jika sudah di samakan ketikan perintah berikut
echo namaanda.net > /etc/hostname4. Update debian anda dengan perintah
/etc/init.d/hostname.sh
apt-get update
lalu
apt-get upgrade
dpkg-reconfigure dashJIka ada pilihan seperti ini "Use dash as the default system shell (/bin/sh)?" pilih "no"
6. Sinkronkan waktu anda dengan server dengan perintah
apt-get install ntp ntpdate
7. Install lah postfix,Devecot,Mysql,Phpmyadmin,Rkhunter,Binutlis dengan perintah
apt-get install postfix postfix-mysql postfix-doc mariadb-client mariadb-server openssl getmail4 rkhunter binutils dovecot-imapd dovecot-pop3d dovecot-mysql dovecot-sieve dovecot-lmtpdSamakan seperti perintah :
8. Lalu open TSL/SSL dan submision ports di postfix dengan perintahGeneral type of mail configuration: <-- Internet Site
System mail name: <-- server1.example.com
New password for the MariaDB "root" user: <-- yourrootsqlpassword
Repeat password for the MariaDB "root" user: <-- yourrootsqlpassword
nano /etc/postfix/master.cfLalu isikan berikut :
Restart postfix anda dengan perintah :submission inet n - - - - smtpd -o syslog_name=postfix/submission -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject # -o smtpd_reject_unlisted_recipient=no # -o smtpd_client_restrictions=$mua_client_restrictions # -o smtpd_helo_restrictions=$mua_helo_restrictions # -o smtpd_sender_restrictions=$mua_sender_restrictions # -o smtpd_recipient_restrictions= # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject # -o milter_macro_daemon_name=ORIGINATING smtps inet n - - - - smtpd -o syslog_name=postfix/smtps -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject # -o smtpd_reject_unlisted_recipient=no # -o smtpd_client_restrictions=$mua_client_restrictions # -o smtpd_helo_restrictions=$mua_helo_restrictions # -o smtpd_sender_restrictions=$mua_sender_restrictions # -o smtpd_recipient_restrictions= # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject # -o milter_macro_daemon_name=ORIGINATING
service postfix restartLalu ketikan perintah ini
nano /etc/mysql/my.cnfSamakan dengan ini
Restart mysql anda dengan perintah :# Instead of skip-networking the default is now to listen only on # localhost which is more compatible and is not less secure. #bind-address = 127.0.0.1
service mysql restartLalu coba cek dengan perintah berikut
netstat -tap | grep mysql9. Sekarang kita Install Amavisd-new, SpamAssassin And Clamav
Lalu edit dengan perintahapt-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
ubahnano /etc/clamav/clamd.conf
AllowSupplementaryGroups false menjadi true
Lalu ketikan perintah
service spamassassin stop10. Lalu instal Install Apache2 , PHP5 , phpMyAdmin , FCGI , suexec , Pear , Dan mcrypt dengan perintah
systemctl disable spamassassin
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 libruby libapache2-mod-python php5-curl php5-intl php5-memcache php5-memcached php5-pspell php5-recode php5-sqlite php5-tidy php5-xmlrpc php5-xsl memcached libapache2-mod-passengerJika muncul gambar diatas pilih apache2
lalu tentukan password
Jika sudah ketikan perintah
a2enmod suexec rewrite ssl actions include dav_fs dav auth_digest cgidan
service apache2 restart11. Install x-cache dan php fpm dengan perintah
apt-get install php5-xcacheLalu restart apache anda
service apache2 restartJangan lupa install paket dari php-fpm dengan perintah
apt-get install libapache2-mod-fastcgi php5-fpmlalu
a2enmod actions fastcgi alias12. Berikutnya Instal PureFTPd Dan Kuota dengan perintah
service apache2 restart
apt-get install pure-ftpd-common pure-ftpd-mysql quota quotatool
Lalu edit dengan perintah
Sesuaikannano /etc/default/pure-ftpd-common
Lalu ketikan perintah berikut[...] STANDALONE_OR_INETD=standalone [...] VIRTUALCHROOT=true [...]
echo 1 > /etc/pure-ftpd/conf/TLSJika sudah buat directori dengan perintah
mkdir -p /etc/ssl/private/Lalu ketikan perintah berikut
openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pemSesuaikan
Country Name (2 letter code) [AU]: <-- Enter your Country Name (e.g., "DE").JIka sudah ketikan perintah berikut
State or Province Name (full name) [Some-State]: <-- Enter your State or Province Name.
Locality Name (eg, city) []: <-- Enter your City.
Organization Name (eg, company) [Internet Widgits Pty Ltd]: <-- Enter your Organization Name (e.g., the name of your company).
Organizational Unit Name (eg, section) []: <-- Enter your Organizational Unit Name (e.g. "IT Department").
Common Name (eg, YOUR name) []: <-- Enter the Fully Qualified Domain Name of the system (e.g. "server1.example.com").
Email Address []: <-- Enter your Email Address.
chmod 600 /etc/ssl/private/pure-ftpd.pemDan
service pure-ftpd-mysql restart
Lalu ketikan
mount -o remount /Dan
quotacheck -avugm
quotaon -avug
13. Install jailkit dengan perintah
apt-get install build-essential autoconf automake libtool flex bison debhelper binutilsLalu ketikan perintah berikut satu persatu
cd /tmpDan ketikan perintah ini satu persatu
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
cd ..14. Install squirrelmail dengan perintah
dpkg -i jailkit_2.17-1_*.deb
rm -rf jailkit-2.17*
apt-get install squirrelmailLalu konfigurasi dengan perintah
squirrelmail-configureLalu samakan seperti ini
SquirrelMail Configuration : Read: config.php (1.4.0)Jika sudah ketikan perintah ini satu persatu
---------------------------------------------------------
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
---------------------------------------------------------
While we have been building SquirrelMail, we have discovered some
preferences that work better with some servers that don't work so
well with others. If you select your IMAP server, this option will
set some pre-defined settings for that server.
Please note that you will still need to go through and make sure
everything is correct. This does not change everything. There are
only a few settings that this will change.
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
---------------------------------------------------------
While we have been building SquirrelMail, we have discovered some
preferences that work better with some servers that don't work so
well with others. If you select your IMAP server, this option will
set some pre-defined settings for that server.
Please note that you will still need to go through and make sure
everything is correct. This does not change everything. There are
only a few settings that this will change.
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
cd /etc/apache2/conf-enabled/Lalu konfigurasi dengan perintah
ln -s ../../squirrelmail/apache.conf squirrelmail.conf
service apache2 reload
nano /etc/apache2/conf-enabled/squirrelmail.confTambah kan baris berikut
<Directory /usr/share/squirrelmail>
Options FollowSymLinks
<IfModule mod_php5.c>
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc Off
php_flag track_vars On
php_admin_flag allow_url_fopen Off
php_value include_path .
php_admin_value upload_tmp_dir /var/lib/squirrelmail/tmp
php_admin_value open_basedir /usr/share/squirrelmail:/etc/squirrelmail:/var/lib/squirrelmail:/etc/hostname:/etc/mailname
php_flag register_globals off
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
# access to configtest is limited by default to prevent information leak
<Files configtest.php>
order deny,allow
deny from all
allow from 127.0.0.1
</Files>
</Directory>
Jika sudah buat directory dengan perintah
mkdir /var/lib/squirrelmail/tmpLalu beri hak akses dengan perintah
chown www-data /var/lib/squirrelmail/tmpLalu restart apache
service apache2 reloadSilahkan coba ketik di url
http://192.168.0.100/squirrelmail15. Install isp config nya dengan perintah
http://www.example.com/squirrelmail
Ketikan perintah ini satu persatu
cd /tmpLalu
wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
tar xfz ISPConfig-3-stable.tar.gz
cd ispconfig3_install/install/
php -q install.phpAkan muncul tampilan ini
>> Initial configuration
Operating System: Debian or compatible, unknown version.Tekan Enter sampai selesai, jika sudah ketikan pada URL
Following will be a few questions for primary configuration so be careful.
Default values are in [brackets] and can be accepted with .
Tap in "quit" (without the quotes) to stop the installer.
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
Generating a 4096 bit RSA private key
.............................................................++
.........................................................................................................................++
writing new private key to 'smtpd.key'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
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
Generating RSA private key, 4096 bit long modulus
.................................................................................................++
........++
e is 65537 (0x10001)
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
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
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []: <-- ENTER
An optional company name []: <-- ENTER
writing RSA key
Configuring DBServer
Installing ISPConfig crontab
no crontab for root
no crontab for getmail
Restarting services ...
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld ..
Checking for tables which need an upgrade, are corrupt or were
not closed cleanly..
Stopping Postfix Mail Transport Agent: postfix.
Starting Postfix Mail Transport Agent: postfix.
Stopping amavisd: amavisd-new.
Starting amavisd: amavisd-new.
Stopping ClamAV daemon: clamd.
Starting ClamAV daemon: clamd .
Restarting IMAP/POP3 mail server: dovecot.
[Tue May 07 02:36:22 2013] [warn] NameVirtualHost *:443 has no VirtualHosts
[Tue May 07 02:36:22 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
[Tue May 07 02:36:23 2013] [warn] NameVirtualHost *:443 has no VirtualHosts
[Tue May 07 02:36:23 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
Restarting web server: apache2 ... waiting .
Restarting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -H -O clf:/var/log/pure-ftpd/transfer.log -Y 1 -D -u 1000 -A -E -b -8 UTF-8 -B
Installation completed
https://192.168.99.20:8080Atau
https://Ip server anda:8080Thank to PERFECT SERVER
INI lah hasil akhirnya
Sekian Dan Thanks
Post a Comment for "ISP Config debian 8 jesie"