Install Carbonio CE 23.12.0 di Ubuntu 20.04

Install Carbonio 23.12.0 di Ubuntu 20.04

Install Carbonio CE 23.12.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 postgresql-12  -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 named
systemctl enable named

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

cd /opt/
wget https://repo.zextras.io/inst_repo_ubuntu.sh
chmod +x inst_repo_ubuntu.sh
bash inst_repo_ubuntu.sh

11. Install package Carbonio CE

apt install service-discover-server \
carbonio-directory-server carbonio-proxy carbonio-webui \
carbonio-files-ui carbonio-mta carbonio-appserver \
carbonio-user-management carbonio-files-ce \
carbonio-files-db carbonio-tasks-ce carbonio-tasks-db \
carbonio-tasks-ui carbonio-storages-ce carbonio-preview-ce \
carbonio-docs-connector-ce carbonio-docs-editor \
carbonio-prometheus carbonio-message-broker \
carbonio-message-dispatcher carbonio-ws-collaboration-ce \
carbonio-videoserver-ce

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, masukan password (Password: Rahasia10@@@@)

service-discover setup-wizard

16. Cek pending setup Carbonio CE

pending-setups -a

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

read -s -p "Insert Password:" DB_ADM_PWD
su - postgres -c "psql --command=\"CREATE ROLE carbonio_adm WITH LOGIN SUPERUSER encrypted password '$DB_ADM_PWD';\""
su - postgres -c "psql --command=\"CREATE DATABASE carbonio_adm owner carbonio_adm;\""
unset DB_ADM_PWD

18. Membuat Bootstrap Carbonio files databases
Carbonio Files

PGPASSWORD=$DB_ADM_PWD carbonio-files-db-bootstrap carbonio_adm 127.0.0.1

Carbonio Tasks

PGPASSWORD=$DB_ADM_PWD carbonio-tasks-db-bootstrap carbonio_adm 127.0.0.1

Carbonio Workstream Collaboration

PGPASSWORD=$DB_ADM_PWD carbonio-ws-collaboration-db-bootstrap carbonio_adm 127.0.0.1

Carbonio Workstream Collaboration Dispatcher

PGPASSWORD=$DB_ADM_PWD carbonio-message-dispatcher-db-bootstrap carbonio_adm 127.0.0.1

Carbonio Workstream Collaboration migration

PGPASSWORD=$DB_ADM_PWD carbonio-message-dispatcher-migration carbonio_adm 127.78.0.10

19. Restart Carbonio Service

su - zextras
zmcontrol stop
zmcontrol start

20. Ganti password administrator Carbonio CE

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

21. Akses Administrator Carbonio CE

https://111.222.333.444:6071/static/login/

22. Akses Webclient Carbonio CE

https://111.222.333.444

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