Friday, September 16, 2022

ຕິດຕັ້ງ ເມວເຊີເວີ ດ້ວຍໃຊ້ iredmail ໃນ Ubuntu 20.04

ມີຂັນຕອນດັ່ງນີ້:
1.

apt-get update -y

2.

hostnamectl set-hostname mail.websitefortesting.com

3.

vim /etc/hosts
45.56.112.153 mail.websitefortesting.com mail

4.

wget https://github.com/iredmail/iRedMail/archive/1.4.0.tar.gz

5.

tar -xvzf 1.4.0.tar.gz

6.

cd iRedMail-1.4.0
chmod +x iRedMail.sh
./iRedMail.sh

7.

yes, next, ngixn next, [mariadb] next, [put domain next, [passwd] next, select the component and click Next

8.

y, y

9.

reboot now


For Let’s Encrypt certificate

The Lets Encrypt certificate created are created under /etc/letsencrypt/live// and archived under /etc/letsencrypt/archive//.

Change permission for above directory to 0644 so other applications can access them.

$ sudo chmod 0755 /etc/letsencrypt/{live,archive}

Move the existing iRedmail certificates as done before and then create a symbolic link:

$ sudo ln -s /etc/letsencrypt/live/yourdomain/fullchain.pem /etc/pki/tls/certs/iRedMail.crt
$ sudo ln -s /etc/letsencrypt/live/yourdomain/privkey.pem /etc/pki/tls/private/iRedMail.key

arc: https://linoxide.com/how-to-install-iredmail-server-on-ubuntu-20-04/

Subscribe

  • RSS Atom

ອອນລາຍ: 1 | ມື້ນີ້: 13 | ວານນີ້: 25 | ທິດນີ້: 93 | ເດືອນນີ້: 872 | ປີນີ້: 11832 | ລວມ: 78935