Install Carbonio CE 23.12.0 Workstream Collaboration di Ubuntu 20.04
Install Carbonio CE 23.12.0 Workstream Collaboration 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 Install Carbonio CE 23.12.0 Workstream Collaboration di Ubuntu 20.04 berikut yang harus disiapkan, diantaranya
- Server / VPS – System Requirements
- IP Public / IP Lokal (NAT dari IP Public ke IP Lokal)
- Ubuntu 20.4 – Download
- 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
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;\""
18. Membuat Bootstrap Carbonio files dan tasks 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 CE 23.12.0 Workstream Collaboration Packages Setup
Install workstream collaboration package (carbonio-message-dispatcher-db)
apt install carbonio-message-dispatcher-db -y pending-setups -a PGPASSWORD=$DB_ADM_PWD carbonio-message-dispatcher-db-bootstrap carbonio_adm 127.0.0.1
Install workstream collaboration package (carbonio-message-dispatcher)
apt install carbonio-message-dispatcher -y pending-setups -a PGPASSWORD=$DB_ADM_PWD carbonio-message-dispatcher-migration carbonio_adm 127.78.0.10 20000
Install workstream collaboration package (carbonio-message-broker)
apt install carbonio-message-broker -y pending-setups -a
Install workstream collaboration package (carbonio-ws-collaboration-db)
apt install carbonio-ws-collaboration-db -y pending-setups -a PGPASSWORD=$DB_ADM_PWD carbonio-ws-collaboration-db-bootstrap carbonio_adm 127.0.0.1 unset DB_ADM_PWD
Install workstream collaboration package (carbonio-ws-collaboration-ce)
apt install carbonio-ws-collaboration-ce -y pending-setups -a
Install workstream collaboration package (carbonio-videoserver-ce)
apt install carbonio-videoserver-ce -y pending-setups -a
Install workstream collaboration package (carbonio-ws-collaboration-ui)
apt install carbonio-ws-collaboration-ui -y su - zextras -c "carbonio prov mc default carbonioFeatureChatsEnabled TRUE"
19. Ganti password administrator Carbonio CE
su - zextras carbonio prov setpassword zextras@saad.my.id Rahasia10
20. Restart Carbonio Service
systemctl enable carbonio-tasks systemctl restart carbonio-tasks systemctl enable carbonio-videoserver systemctl restart carbonio-videoserver systemctl restart carbonio-prometheus-nginx-exporter.service su - zextras -c "zmcontrol restart"
21. Additional recommendation: (Modify MTA Trusted Network)
su - zextras -c "carbonio prov ms $(hostname -f) zimbraMtaMyNetworks '127.0.0.0/8 $(hostname -i)/32'" su - zextras -c "zmmtactl restart"
22. Restart Server dan Restart Service workstream collaboration
reboot now systemctl restart carbonio-message-broker systemctl restart carbonio-videoserver systemctl restart carbonio-ws-collaboration systemctl restart carbonio-prometheus-nginx-exporter.service
23. Akses Administrator Carbonio CE
https://111.222.333.444:6071/static/login/
24. 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