iRedMail Installation with MariaDB: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 10: Line 10:


<pre>
<pre>
yum -y install vim wget bzip2 deltarpm yum-cron openchange
yum -y install vim wget bzip2 deltarpm yum-cron openchange epel-release
rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-7.noarch.rpm
</pre>
</pre>


<pre>
<pre>
cd /usr/src
cd /usr/src
wget https://bitbucket.org/zhb/iredmail/downloads/iRedMail-0.9.5-1.tar.bz2
wget https://bitbucket.org/zhb/iredmail/downloads/iRedMail-0.9.9.tar.bz2
bzip2 -dk iRedMail-0.9.5-1.tar.bz2
bzip2 -dk iRedMail-0.9.9.tar.bz2
tar xvf iRedMail-0.9.5-1.tar
tar xvf iRedMail-0.9.9.tar
rm -f iRedMail-0.9.5-1.t*
rm -f iRedMail-0.9.9.t*
cd iRedMail-0.9.5-1
cd iRedMail-0.9.9
bash iRedMail.sh
bash iRedMail.sh
</pre>
</pre>
Line 33: Line 32:
|-
|-
|Sensitive Info
|Sensitive Info
|/usr/src/iRedMail-0.9.5-1/config
|/usr/src/iRedMail-0.9.9/config
|-
|-
|Post installation information
|Post installation information
|/root/iRedMail-x.y.z/iRedMail.tips
|/root/iRedMail-0.9.9/iRedMail.tips
|}
|}


Line 55: Line 54:
|}
|}


= SSL Certificates =
= Done =
I'm not going into specific details hereI use StartSSL certificates as they are free for private use.<br>
That is it for the installNow the configuration is the difficult part if you need any special customisation otherwise the iRedAdmin will suffice.
'''Note''': I have noticed that if you try going to your WEB server and you get a blank page, I found this occurs when the SSL certificate does not match the certificate name or SAN on the certificate.


Certificate path location.
Refer to [[:Category:iRedMail]] for specific configuration tasks.
<pre>
/etc/pki/tls/certs/
</pre>
 
<pre>
openssl req -newkey rsa:2048 -nodes -keyout /etc/pki/tls/certs/sogo.key -out /etc/pki/tls/certs/sogo.csr
</pre>
 
<pre>
vi /etc/httpd/conf.d/ssl.conf
</pre>
 
<pre>
SSLCertificateFile /etc/pki/tls/certs/2_mail.myserver.com.crt
SSLCertificateKeyFile /etc/pki/tls/certs/sogo.key
SSLCACertificateFile /etc/pki/tls/certs/1_root_bundle.crt
</pre>


[[Category : iRedMail]]
[[Category : iRedMail]]

Latest revision as of 04:55, 24 June 2019

The following instructions were performed on CentOS 7.2 with a minimal install.
iRedMail provides self hosting email with SOGo providing Exchange Active Sync operations.

Installation

Before proceeding make sure that when you ping the hostname and FQDN of your computer/server that the reply address is 127.0.0.1

yum -y update
reboot
yum -y install vim wget bzip2 deltarpm yum-cron openchange epel-release
cd /usr/src
wget https://bitbucket.org/zhb/iredmail/downloads/iRedMail-0.9.9.tar.bz2
bzip2 -dk iRedMail-0.9.9.tar.bz2
tar xvf iRedMail-0.9.9.tar
rm -f iRedMail-0.9.9.t*
cd iRedMail-0.9.9
bash iRedMail.sh

--> Wait. Looks like nothing is happening or broken but it is background processing.
--> Be patient. 10 minutes plus depending on CPU and internet speed.

Post Installation Information

Mailboxes /var/mail
Sensitive Info /usr/src/iRedMail-0.9.9/config
Post installation information /root/iRedMail-0.9.9/iRedMail.tips


URL's

Roundcube webmail https://your_server/mail/
SOGo Groupware https://your_server/SOGo
Web admin panel httpS://your_server/iredadmin/
Awstats httpS://your_server/awstats

Done

That is it for the install. Now the configuration is the difficult part if you need any special customisation otherwise the iRedAdmin will suffice.

Refer to Category:iRedMail for specific configuration tasks.