Install Carbonio CE 23.5.0 di Ubuntu 20.04

Install Carbonio 23.5.0 di Ubuntu 20.04

Install Carbonio CE 23.5.0 di Ubuntu 20.04, Carbonio Community Edition adalah 100% open source: keluarkan potensi penuh dari transparansi dan interoperabilitas. Sesuaikan perangkat lunak dengan kebutuhan Anda. Dirancang untuk tempat kerja yang terhubung, Zextras Carbonio CE tersedia melalui kemasan asli Linux. Instal sekali dan dapatkan semua fiturnya segera. Zextras Carbonio CE siap untuk tempat kerja hibrid kolaboratif saat ini, dengan email penting, panggilan video, manajemen file, dan pengeditan kolaboratif.

Persiapan

Dalam membuat Mail Server dengan Carbonio CE berikut yang harus disiapkan, diantaranya

  1. Server / VPS – System Requirements
  2. IP Public / IP Lokal (NAT dari IP Public ke IP Lokal)
  3. Ubuntu 20.4 – Download
  4. Domain

Langkah Membuat Mail Server dengan Carbonio

1. Setting hostname

hostnamectl set-hostname mail.saad.my.id

2. Update repo

sudo apt-get update

3. Setting Time Zone

timedatectl set-timezone Asia/Jakarta

4. Instalasi Package Tambahan

sudo apt-get remove ufw -y
sudo apt-get install nano wget bind9 bind9utils telnet perl firewalld tar resolvconf  -y

5. Setting host file (mis ip public: 111.222.333.444) atau bisa juga masukan ip lokal

cp /etc/hosts /etc/hosts.backup
> /etc/hosts
echo "111.222.333.444 mail.saad.my.id mail" >> /etc/hosts
echo "127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4" >> /etc/hosts

6. Setting file resolv

systemctl enable resolvconf
systemctl start resolvconf
cp /etc/resolv.conf /etc/resolv.conf.backup
> /etc/resolv.conf
echo "search saad.my.id" >> /etc/resolvconf/resolv.conf.d/head
echo "nameserver 111.222.333.444" >> /etc/resolvconf/resolv.conf.d/head
sudo resolvconf --enable-updates
sudo resolvconf -u

7. Setting named.conf

cp /etc/bind/named.conf.local /etc/bind/named.conf.local.backup
> /etc/bind/named.conf.local
sed -i '/directory*/a\        forwarders {8.8.8.8; 8.8.4.4;};' /etc/bind/named.conf.options
echo "zone  \"saad.my.id\" {
        type master;
                file \"/var/lib/bind/saad.my.id.hosts\";
        allow-transfer {
                127.0.0.1;
                localnets;
                };
        };" >> /etc/bind/named.conf.local
echo "\$ttl 3600
@      IN      SOA     mail.saad.my.id. root.saad.my.id. (
                        1615364925
                        3600
                        600
                        1209600
                        3600 )
saad.my.id.       IN      NS      mail.saad.my.id.
mail.saad.my.id.  IN      A       111.222.333.444
saad.my.id.       IN      MX      10 mail" >> /var/lib/bind/saad.my.id.hosts

8. Restart bind9

systemctl restart bind9
systemctl enable bind9

9. Restart firewalld dan open port

systemctl restart firewalld
systemctl enable firewalld
firewall-cmd --permanent --zone=public --add-port=25/tcp
firewall-cmd --permanent --zone=public --add-port=80/tcp
firewall-cmd --permanent --zone=public --add-port=110/tcp
firewall-cmd --permanent --zone=public --add-port=143/tcp
firewall-cmd --permanent --zone=public --add-port=443/tcp
firewall-cmd --permanent --zone=public --add-port=465/tcp
firewall-cmd --permanent --zone=public --add-port=587/tcp
firewall-cmd --permanent --zone=public --add-port=993/tcp
firewall-cmd --permanent --zone=public --add-port=995/tcp
firewall-cmd --permanent --zone=public --add-port=3443/tcp
firewall-cmd --permanent --zone=public --add-port=5222/tcp
firewall-cmd --permanent --zone=public --add-port=5223/tcp
firewall-cmd --permanent --zone=public --add-port=9071/tcp
firewall-cmd --permanent --zone=public --add-port=8443/tcp
firewall-cmd --permanent --zone=public --add-port=6071/tcp
firewall-cmd --permanent --zone=public --add-port=53/tcp
firewall-cmd --permanent --zone=public --add-port=53/udp
firewall-cmd --reload

10. Add repo Carbonio

echo "deb https://repo.zextras.io/release/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/zextras.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 52FD40243E584A21
apt update -yq

11. Install package Carbonio CE

sudo apt-get install service-discover-server -y
sudo apt-get install carbonio-directory-server -y
sudo apt-get install carbonio-proxy -y
sudo apt-get install carbonio-webui -y
sudo apt-get install carbonio-files-ui
sudo apt-get install carbonio-mta -y
sudo apt-get install carbonio-appserver -y
sudo apt-get install carbonio-user-management -y
sudo apt-get install carbonio-files-ce -y
sudo apt-get install carbonio-files-db -y
sudo apt-get install carbonio-storages-ce -y
sudo apt-get install carbonio-preview-ce -y
sudo apt-get install carbonio-docs-connector-ce -y
sudo apt-get install carbonio-docs-editor -y
sudo apt-get install postgresql-12 -y
sudo apt-get install carbonio-docs-editor -y

12. Konfigurasi Carbonio CE

carbonio-bootstrap

Ketik y kemudian enter
13. Restart carbonio-prometheus-nginx-exporter.service

systemctl restart carbonio-prometheus-nginx-exporter.service

14. Cek status service Carbonio.CE

systemctl status carbonio-*

15. Masukan IP Public/IP lokal sesuai pilihan yang muncul

service-discover setup-wizard

16. Cek pending setup Carbonio CE

pending-setups -a

17. Membuat Role dan database untuk Carbonio CE (Password: Rahasia10@@@@)

su - postgres -c "psql --command=\"CREATE ROLE carbonio_adm WITH LOGIN SUPERUSER encrypted password 'Rahasia10@@@@';\""
su - postgres -c "psql --command=\"CREATE DATABASE carbonio_adm owner carbonio_adm;\""
PGPASSWORD=Rahasia10@@@@ carbonio-files-db-bootstrap carbonio_adm 127.0.0.1

18. Ganti password administrator Carbonio CE

su - zextras
carbonio prov setpassword zextras@saad.my.id Rahasia10

19. Akses Administrator Carbonio CE

https://mail.saad.my.id:6071/static/login/

20. Akses Webclient Carbonio CE

https://mail.saad.my.id

Selamat mencoba..

Bila membutuhkan jasa instalasi Carbonio CE bisa menghubungi melalui kontak WhatsApp di pojok kanan bawah

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *

×

Hello!

Klik salah satu dibawah untuk chat WhatsApp atau kirim email kepada kami ke info@saad.web.id

× WhatsApp Kami