Pada beberapa tahun yang lalu penulis sudah menulis artikel mengenai instalasi iRedMail 0.3.3 . Seiring berlalunya waktu maka iRedMail saat ini sudah sampai pada versi iRedMail 0.9.9. Berikut akan disampaikan catatan mengenai instalasi iRedMail pada Centos 7.
Catatan instalasi iRedMail pada Centos 0.9.9
- Persiapkan FQDN atau full qualified domain
Membuat full qualified domain name
a. Perintahnya: hostnamectl set-hostname hostname
b. Kemudian ipnya disimpan di /etc/hosts silahkan: vi /etc/hosts
- Disable SELinux
#vi /etc/selinux/config
Kemudian set SELINUX=disabled - Reboot server
- Persiapkan repository dan instal epel-release
[root@localhost yum.repos.d]# pwd
/etc/yum.repos.d
[root@localhost yum.repos.d]# ls -al
total 44
drwxr-xr-x. 2 root root 4096 Dec 3 2015 .
drwxr-xr-x. 74 root root 8192 May 2 02:03 ..
-rw-r–r–. 1 root root 1664 Dec 9 2015 CentOS-Base.repo
-rw-r–r–. 1 root root 1309 Dec 9 2015 CentOS-CR.repo
-rw-r–r–. 1 root root 649 Dec 9 2015 CentOS-Debuginfo.repo
-rw-r–r–. 1 root root 290 Dec 9 2015 CentOS-fasttrack.repo
-rw-r–r–. 1 root root 630 Dec 9 2015 CentOS-Media.repo
-rw-r–r–. 1 root root 1331 Dec 9 2015 CentOS-Sources.repo
-rw-r–r–. 1 root root 1952 Dec 9 2015 CentOS-Vault.repo
[root@localhost yum.repos.d]# yum install epel-release
- Instal wget dan paket kompresi untuk keperluan instalasi
[root@localhost yum.repos.d]# yum install wget
[root@localhost yum.repos.d]# wget https://bitbucket.org/zhb/iredmail/downloads/iRedMail-0.9.9.tar.bz2
[root@localhost yum.repos.d]# yum install bzip2
[root@localhost yum.repos.d]# tar xjf iRedMail-0.9.9.tar.bz2
[root@localhost yum.repos.d]# cd iRedMail-0.9.9[root@mail5 iRedMail-0.9.9]# pwd
/root/iRedMail-0.9.9
[root@mail5 iRedMail-0.9.9]# ls
ChangeLog dialog functions pkgs samples
conf Documentations iRedMail.sh README.md tools
[root@localhost yum.repos.d]# bash iRedMail.sh
- Versi instalasi adalah : Nginx, fail2ban, MariaDb, Roundcubeemail, iRedAdmin
Seperti defaultnya, SOGo tidak perlu diinstall.
- Lanjut
iRedMail MySQL configiration : Yes
Password MySQL root
First mail domain name
Password untuk postmaster@firstdomain
- Reboot dan masuk ke https://ip/mail dan login sebagai postmaster@firstdomain
Untuk netdata: https://ip/netdata/
PHPMydmin
- Instal phpmyadmin versi 4.4.0 pada /var/www/html
[root@mail5 html]# pwd
/var/www/html
[root@mail5 html]# ls
index.html robots.txt
[root@mail5 html]# wget https://files.phpmyadmin.net/phpMyAdmin/4.4.0/phpMyAdmin-4.4.0-all-languages.zip
[root@mail5 html]# unzip phpMyAdmin-4.4.0-all-languages.zip
[root@mail5 html]# mv phpMyAdmin-4.4.0-all-languages phpmyadmin
- Masuk https://ip/phpmyadmin
- Ternyata password masing-masing email yang disimpan di database di iRedMail 0.3.3 dapat digunakan di iRedMail 0.9.9
Fetchmail
Kita mungkin membutuhkan fetchmail. Jika membutuhkan silahkan melakukan instalasi:
#yum install fetchmail
Itulah pengantar catatan mengenai instalasi iRedMail 0.9.9. Informasi lebih lanjut silahkan mengunjungi https://docs.iredmail.org/install.iredmail.on.rhel.html .
Kunjungi www.proweb.co.id untuk menambah wawasan anda.
Catatan instalasi iRedMail 0.9.9 pada Centos 7