●●●●● Setup Repo ●●●●●
root@mail:~# wget https://repo.zextras.io/inst_repo_ubuntu.sh
--2023-10-02 08:18:46-- https://repo.zextras.io/inst_repo_ubuntu.sh
Resolving repo.zextras.io (repo.zextras.io)... 3.160.196.103, 3.160.196.64, 3.160.196.36, ...
Connecting to repo.zextras.io (repo.zextras.io)|3.160.196.103|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 770 [application/x-shellscript]<br>Saving to: ‘inst_repo_ubuntu.sh’<br><br>inst_repo_ubuntu.sh 100%[========================================================================================================================================>] 770 --.-KB/s in 0s 2023-10-02 08:18:47 (20.4 MB/s) - ‘inst_repo_ubuntu.sh’ saved [770/770]
root@mail:~# ls
inst_repo_ubuntu.sh setupdns.sh snap
root@mail:~# chmod +x inst_repo_ubuntu.sh
root@mail:~# ./inst_repo_ubuntu.sh
/etc/apt/sources.list.d/zextras.list does not exist, it will be added to the list of repositories.<br>Executing: /tmp/apt-key-gpghome.IFDzY95X4D/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 52FD40243E584A21
gpg: key 52FD40243E584A21: public key "Zextras SRL <packages@zextras.com>" imported<br>gpg: Total number processed: 1<br>gpg: imported: 1<br>Hit:1 http://id.archive.ubuntu.com/ubuntu focal InRelease<br>Hit:2 http://id.archive.ubuntu.com/ubuntu focal-updates InRelease<br>Hit:3 http://id.archive.ubuntu.com/ubuntu focal-backports InRelease<br>Hit:4 http://id.archive.ubuntu.com/ubuntu focal-security InRelease<br>Get:5 https://repo.zextras.io/release/ubuntu focal InRelease [3,562 B]
Ign:6 https://repo.zextras.io/release/ubuntu focal/main amd64 Packages
Get:6 https://repo.zextras.io/release/ubuntu focal/main amd64 Packages [62.3 kB]
Fetched 65.9 kB in 2s (28.3 kB/s)<br>Reading package lists...
Building dependency tree...<br>Reading state information...<br>All packages are up to date.<br>Carbonio Repositories has been successufilly installed<br>root@mail:~# apt update -y<br>Hit:1 https://repo.zextras.io/release/ubuntu focal InRelease <br>Hit:2 http://id.archive.ubuntu.com/ubuntu focal InRelease <br>Hit:3 http://id.archive.ubuntu.com/ubuntu focal-updates InRelease<br>Hit:4 http://id.archive.ubuntu.com/ubuntu focal-backports InRelease<br>Hit:5 http://id.archive.ubuntu.com/ubuntu focal-security InRelease<br>Reading package lists... Done<br>Building dependency tree <br>Reading state information... Done<br>All packages are up to date.<br>root@mail:~# hostnamectl set-hostname mail.alshifacharity.com<br>root@mail:~# apt upgrade -y<br>Reading package lists... Done<br>Building dependency tree <br>Reading state information... Done<br>Calculating upgrade... Done<br>0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.<br><br> ●●●● install carbonio ●●●●●<br><br>root@mail:~# 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-storages-ce carbonio-preview-ce carbonio-docs-connector-ce carbonio-docs-editor carbonio-prometheus<br>Reading package lists... Done<br>Building dependency tree <br>Reading state information... Done<br>The following additional packages will be installed:<br> carbonio-admin-console-ui carbonio-admin-login-ui carbonio-admin-ui carbonio-altermime carbonio-amavisd carbonio-appserver-conf carbonio-appserver-service carbonio-appserver-store-libs carbonio-appserver-war carbonio-auth-ui<br> carbonio-bdb carbonio-calendars-ui carbonio-certbot carbonio-clamav carbonio-common-appserver-conf carbonio-common-appserver-db carbonio-common-appserver-docs carbonio-common-appserver-native-lib carbonio-common-core-jar<br> carbonio-common-core-libs carbonio-contacts-ui carbonio-core carbonio-curl carbonio-cyrus-sasl carbonio-docs-core carbonio-icu carbonio-innotop carbonio-jemalloc carbonio-jetty-distribution carbonio-krb5 carbonio-libbsd<br> carbonio-libevent carbonio-libmilter carbonio-libsodium carbonio-libtool carbonio-libxml2 carbonio-login-ui carbonio-mails-ui carbonio-mariadb carbonio-memcached carbonio-nginx carbonio-opendkim carbonio-openjdk<br> carbonio-openjdk-cacerts carbonio-openldap carbonio-openssl carbonio-perl-archive-zip carbonio-perl-berkeleydb carbonio-perl-cache-fastmmap carbonio-perl-canary-stability carbonio-perl-carp-clan carbonio-perl-compress-raw-bzip2<br> carbonio-perl-compress-raw-zlib carbonio-perl-config-inifiles carbonio-perl-convert-asn1 carbonio-perl-convert-binhex carbonio-perl-convert-tnef carbonio-perl-convert-uulib carbonio-perl-crypt-openssl-random<br> carbonio-perl-crypt-openssl-rsa carbonio-perl-crypt-saltedhash carbonio-perl-data-uuid carbonio-perl-date-calc carbonio-perl-date-manip carbonio-perl-dbd-mysql carbonio-perl-dbd-sqlite carbonio-perl-dbi carbonio-perl-digest-hmac<br> carbonio-perl-digest-sha1 carbonio-perl-encode-locale carbonio-perl-error carbonio-perl-file-grep carbonio-perl-file-libmagic carbonio-perl-file-listing carbonio-perl-filesys-df carbonio-perl-geography-countries<br> carbonio-perl-html-parser carbonio-perl-http-cookies carbonio-perl-http-daemon carbonio-perl-http-date carbonio-perl-http-message carbonio-perl-http-negotiate carbonio-perl-io-compress carbonio-perl-io-html<br> carbonio-perl-io-socket-inet6 carbonio-perl-io-socket-ip carbonio-perl-io-socket-ssl carbonio-perl-io-stringy carbonio-perl-ip-country carbonio-perl-json-pp carbonio-perl-libwww carbonio-perl-lwp-mediatypes<br> carbonio-perl-lwp-protocol-https carbonio-perl-mail-dkim carbonio-perl-mail-spamassassin carbonio-perl-mail-spf carbonio-perl-mailtools carbonio-perl-math-bigint carbonio-perl-mime-tools carbonio-perl-net-cidr carbonio-perl-net-dns<br> carbonio-perl-net-dns-resolver-programmable carbonio-perl-net-http carbonio-perl-net-ldap carbonio-perl-net-libidn carbonio-perl-net-server carbonio-perl-net-ssleay carbonio-perl-netaddr-ip carbonio-perl-parent carbonio-perl-socket<br> carbonio-perl-term-readkey carbonio-perl-timedate carbonio-perl-unix-getrusage carbonio-perl-unix-syslog carbonio-perl-uri carbonio-perl-www-robotrules carbonio-perl-xml-namespacesupport carbonio-perl-xml-parser carbonio-perl-xml-sax<br> carbonio-perl-xml-sax-base carbonio-perl-xml-sax-expat carbonio-perl-xml-simple carbonio-pflogsumm carbonio-poco carbonio-policyd carbonio-postfix carbonio-prometheus-mysqld-exporter carbonio-prometheus-nginx-exporter<br> carbonio-prometheus-node-exporter carbonio-prometheus-openldap-exporter carbonio-shell-ui carbonio-spamassassin-rules carbonio-timezone-data config-generator cracklib-runtime envoyproxy fontconfig fontconfig-config fonts-dejavu-core<br> jq libcommon-sense-perl libcrack2 libepoxy0 libfontconfig1 libgnutlsxx28 libgraphite2-3 libharfbuzz-icu0 libharfbuzz0b libjq1 libonig5 libpq5 libsnappy1v5 libsocket6-perl libtry-tiny-perl pending-setups postgresql-client<br> postgresql-client-12 postgresql-client-common service-discover-base service-discover-daemon wamerican zip<br>Suggested packages:<br> postgresql-12 postgresql-doc-12<br>The following NEW packages will be installed:<br> carbonio-admin-console-ui carbonio-admin-login-ui carbonio-admin-ui carbonio-altermime carbonio-amavisd carbonio-appserver carbonio-appserver-conf carbonio-appserver-service carbonio-appserver-store-libs carbonio-appserver-war<br> carbonio-auth-ui carbonio-bdb carbonio-calendars-ui carbonio-certbot carbonio-clamav carbonio-common-appserver-conf carbonio-common-appserver-db carbonio-common-appserver-docs carbonio-common-appserver-native-lib<br> carbonio-common-core-jar carbonio-common-core-libs carbonio-contacts-ui carbonio-core carbonio-curl carbonio-cyrus-sasl carbonio-directory-server carbonio-docs-connector-ce carbonio-docs-core carbonio-docs-editor carbonio-files-ce<br> carbonio-files-db carbonio-files-ui carbonio-icu carbonio-innotop carbonio-jemalloc carbonio-jetty-distribution carbonio-krb5 carbonio-libbsd carbonio-libevent carbonio-libmilter carbonio-libsodium carbonio-libtool carbonio-libxml2<br> carbonio-login-ui carbonio-mails-ui carbonio-mariadb carbonio-memcached carbonio-mta carbonio-nginx carbonio-opendkim carbonio-openjdk carbonio-openjdk-cacerts carbonio-openldap carbonio-openssl carbonio-perl-archive-zip<br> carbonio-perl-berkeleydb carbonio-perl-cache-fastmmap carbonio-perl-canary-stability carbonio-perl-carp-clan carbonio-perl-compress-raw-bzip2 carbonio-perl-compress-raw-zlib carbonio-perl-config-inifiles carbonio-perl-convert-asn1<br> carbonio-perl-convert-binhex carbonio-perl-convert-tnef carbonio-perl-convert-uulib carbonio-perl-crypt-openssl-random carbonio-perl-crypt-openssl-rsa carbonio-perl-crypt-saltedhash carbonio-perl-data-uuid carbonio-perl-date-calc<br> carbonio-perl-date-manip carbonio-perl-dbd-mysql carbonio-perl-dbd-sqlite carbonio-perl-dbi carbonio-perl-digest-hmac carbonio-perl-digest-sha1 carbonio-perl-encode-locale carbonio-perl-error carbonio-perl-file-grep<br> carbonio-perl-file-libmagic carbonio-perl-file-listing carbonio-perl-filesys-df carbonio-perl-geography-countries carbonio-perl-html-parser carbonio-perl-http-cookies carbonio-perl-http-daemon carbonio-perl-http-date<br> carbonio-perl-http-message carbonio-perl-http-negotiate carbonio-perl-io-compress carbonio-perl-io-html carbonio-perl-io-socket-inet6 carbonio-perl-io-socket-ip carbonio-perl-io-socket-ssl carbonio-perl-io-stringy<br> carbonio-perl-ip-country carbonio-perl-json-pp carbonio-perl-libwww carbonio-perl-lwp-mediatypes carbonio-perl-lwp-protocol-https carbonio-perl-mail-dkim carbonio-perl-mail-spamassassin carbonio-perl-mail-spf carbonio-perl-mailtools<br> carbonio-perl-math-bigint carbonio-perl-mime-tools carbonio-perl-net-cidr carbonio-perl-net-dns carbonio-perl-net-dns-resolver-programmable carbonio-perl-net-http carbonio-perl-net-ldap carbonio-perl-net-libidn<br> carbonio-perl-net-server carbonio-perl-net-ssleay carbonio-perl-netaddr-ip carbonio-perl-parent carbonio-perl-socket carbonio-perl-term-readkey carbonio-perl-timedate carbonio-perl-unix-getrusage carbonio-perl-unix-syslog<br> carbonio-perl-uri carbonio-perl-www-robotrules carbonio-perl-xml-namespacesupport carbonio-perl-xml-parser carbonio-perl-xml-sax carbonio-perl-xml-sax-base carbonio-perl-xml-sax-expat carbonio-perl-xml-simple carbonio-pflogsumm<br> carbonio-poco carbonio-policyd carbonio-postfix carbonio-preview-ce carbonio-prometheus carbonio-prometheus-mysqld-exporter carbonio-prometheus-nginx-exporter carbonio-prometheus-node-exporter carbonio-prometheus-openldap-exporter<br> carbonio-proxy carbonio-shell-ui carbonio-spamassassin-rules carbonio-storages-ce carbonio-timezone-data carbonio-user-management carbonio-webui config-generator cracklib-runtime envoyproxy fontconfig fontconfig-config<br> fonts-dejavu-core jq libcommon-sense-perl libcrack2 libepoxy0 libfontconfig1 libgnutlsxx28 libgraphite2-3 libharfbuzz-icu0 libharfbuzz0b libjq1 libonig5 libpq5 libsnappy1v5 libsocket6-perl libtry-tiny-perl pending-setups<br> postgresql-client postgresql-client-12 postgresql-client-common service-discover-base service-discover-daemon service-discover-server wamerican zip<br>0 upgraded, 177 newly installed, 0 to remove and 0 not upgraded.<br>Need to get 1,335 MB of archives.<br>After this operation, 4,306 MB of additional disk space will be used.<br>Do you want to continue? [Y/n] Y<br>Get:1 http://id.archive.ubuntu.com/ubuntu focal/main amd64 libcrack2 amd64 2.9.6-3.2 [28.3 kB]<br>Get:2 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgnutlsxx28 amd64 3.6.13-2ubuntu1.8 [14.6 kB]<br>Get:3 http://id.archive.ubuntu.com/ubuntu focal/main amd64 libsnappy1v5 amd64 1.1.8-1build1 [16.7 kB]<br>Get:4 http://id.archive.ubuntu.com/ubuntu focal/main amd64 libcommon-sense-perl amd64 3.74-2build6 [20.1 kB]<br>Get:5 http://id.archive.ubuntu.com/ubuntu focal/main amd64 libtry-tiny-perl all 0.30-1 [20.5 kB]<br>Get:6 http://id.archive.ubuntu.com/ubuntu focal/main amd64 libsocket6-perl amd64 0.29-1build1 [18.9 kB]<br>Get:7 http://id.archive.ubuntu.com/ubuntu focal/universe amd64 libonig5 amd64 6.9.4-1 [142 kB]<br>Get:8 http://id.archive.ubuntu.com/ubuntu focal-updates/universe amd64 libjq1 amd64 1.6-1ubuntu0.20.04.1 [121 kB]<br>Get:9 http://id.archive.ubuntu.com/ubuntu focal-updates/universe amd64 jq amd64 1.6-1ubuntu0.20.04.1 [50.2 kB]<br>Get:10 http://id.archive.ub<br><br><br>------------------------------------------------------<br><br>●●●●●● error carbonio-nginx-prometheus-exporter ●●●●●●<br><br>root@mail:~# systemctl status carbonio-*<br>● carbonio-prometheus-node-exporter.service - Carbonio Prometheus Node Exporter<br> Loaded: loaded (/lib/systemd/system/carbonio-prometheus-node-exporter.service; enabled; vendor preset: enabled)<br> Active: active (running) since Mon 2023-10-02 08:37:28 WIB; 1min 38s ago<br> Main PID: 28309 (carbonio-promet)<br> Tasks: 5 (limit: 19087)<br> Memory: 2.6M<br> CGroup: /system.slice/carbonio-prometheus-node-exporter.service<br> └─28309 /usr/carbonio-prometheus-node-exporter --collector.textfile.directory /opt/zextras/zmstat/prometheus/<br><br>Oct 02 08:37:28 mail.alshifacharity.com carbonio-prometheus-node-exporter[28309]: ts=2023-10-02T01:37:28.695Z caller=node_exporter.go:115 level=info collector=thermal_zone<br>Oct 02 08:37:28 mail.alshifacharity.com carbonio-prometheus-node-exporter[28309]: ts=2023-10-02T01:37:28.695Z caller=node_exporter.go:115 level=info collector=time<br>Oct 02 08:37:28 mail.alshifacharity.com carbonio-prometheus-node-exporter[28309]: ts=2023-10-02T01:37:28.695Z caller=node_exporter.go:115 level=info collector=timex<br>Oct 02 08:37:28 mail.alshifacharity.com carbonio-prometheus-node-exporter[28309]: ts=2023-10-02T01:37:28.695Z caller=node_exporter.go:115 level=info collector=timex<br>Oct 02 08:37:28 mail.alshifacharity.com carbonio-prometheus-node-exporter[28309]: ts=2023-10-02T01:37:28.695Z caller=node_exporter.go:115 level=info collector=timex<br>Oct 02 08:37:28 mail.alshifacharity.com carbonio-prometheus-node-exporter[28309]: ts=2023-10-02T01:37:28.695Z caller=node_exporter.go:115 level=info collector=udp_queues<br>Oct 02 08:37:28 mail.alshifacharity.com carbonio-prometheus-node-exporter[28309]: ts=2023-10-02T01:37:28.695Z caller=node_exporter.go:115 level=info collector=uname<br>Oct 02 08:37:28 mail.alshifacharity.com carbonio-prometheus-node-exporter[28309]: ts=2023-10-02T01:37:28.695Z caller=node_exporter.go:115 level=info collector=vmstat<br>Oct 02 08:37:28 mail.alshifacharity.com carbonio-prometheus-node-exporter[28309]: ts=2023-10-02T01:37:28.695Z caller=node_exporter.go:115 level=info collector=xfs<br>Oct 02 08:37:28 mail.alshifacharity.com carbonio-prometheus-node-exporter[28309]: ts=2023-10-02T01:37:28.695Z caller=node_exporter.go:115 level=info collector=zfs<br>Oct 02 08:37:28 mail.alshifacharity.com carbonio-prometheus-node-exporter[28309]: ts=2023-10-02T01:37:28.695Z caller=node_exporter.go:199 level=info msg="Listening on" address=:9100<br>Oct 02 08:37:28 mail.alshifacharity.com carbonio-prometheus-node-exporter[28309]: ts=2023-10-02T01:37:28.696Z caller=tls_config.go:195 level=info msg="TLS is disabled." http2=false<br><br>● carbonio-prometheus-nginx-exporter.service - Carbonio Prometheus NGINX exporter<br> Loaded: loaded (/lib/systemd/system/carbonio-prometheus-nginx-exporter.service; enabled; vendor preset: enabled)<br> Active: failed (Result: exit-code) since Mon 2023-10-02 08:37:25 WIB; 1min 42s ago<br> Main PID: 27966 (code=exited, status=1/FAILURE)<br><br>Oct 02 08:37:25 mail.alshifacharity.com systemd[1]: carbonio-prometheus-nginx-exporter.service: Scheduled restart job, restart counter is at 8.<br>Oct 02 08:37:25 mail.alshifacharity.com systemd[1]: Stopped Carbonio Prometheus NGINX exporter.<br>Oct 02 08:37:25 mail.alshifacharity.com systemd[1]: carbonio-prometheus-nginx-exporter.service: Start request repeated too quickly.<br>Oct 02 08:37:25 mail.alshifacharity.com systemd[1]: carbonio-prometheus-nginx-exporter.service: Failed with result 'exit-code'.<br>Oct 02 08:37:25 mail.alshifacharity.com systemd[1]: Failed to start Carbonio Prometheus NGINX exporter.<br><br><br><br>--> kemungkinan krena carbonio-nginx (proxy) nya belum up<br><br>root@mail:~# /usr/bin/carbonio-prometheus-nginx-exporter start<br>2023/10/02 09:14:33 Starting NGINX Prometheus Exporter version=0.10.0 commit=7a03d0314425793cf4001f0d9b0b2cfd19563433 date=2021-12-21T19:24:34Z<br>2023/10/02 09:14:33 Could not create Nginx Client: failed to get http://127.0.0.1:8080/stub_status: Get "http://127.0.0.1:8080/stub_status": dial tcp 127.0.0.1:8080: connect: connection refused<br><br><br><br>●●●●● di lanjut bootstrap carbonio dulu ●●●●●●<br><br>root@mail:~# carbonio-bootstrap<br>----------------------------------<br>| Starting Carbonio Bootstrap... |<br>----------------------------------<br>--------------------------------------------------------------------------------<br>Zextras may collect a minimal set of public-facing technical information about <br>your use of Carbonio CE. This data should not contain personal identifiable <br>information, but in case they are subject to Zextras' Privacy Policy <br>[https://www.zextras.com].<br><br>As an additional condition, use of the entire software is conditional upon your <br>acceptance that no liability whatsoever shall be attributable to Zextras except <br>that for gross negligence or malice. Nothing in this condition detracts from <br>the provisions of the single licenses for the same case. Should you not accept <br>this condition you use of the software would not be permitted and your licenses <br>would be terminated.<br><br>No trademark license is granted nor implied. Trademark use, where expressly <br>permitted, is subject to the then-current trademark policy of Zextras. <br>[https://www.zextras.com]<br>--------------------------------------------------------------------------------<br><br>Operations logged to /tmp/zmsetup.20231002-091533.log<br><br>Bootstrap mode: new install<br>Installing LDAP configuration database...done.<br>Setting defaults...<br><br>Querying DNS for "A" record of current hostname mail.alshifacharity.com...<br><br>Querying DNS for "MX" record of alshifacharity.com...<br><br>Querying DNS for "A" record of mail.alshifacharity.com... MX: mail.alshifacharity.com (202.62.9.134)<br><br> Interface: 127.0.0.1<br> Interface: ::1<br> Interface: 192.168.1.1<br> Interface: 192.168.200.115<br><br><br>Querying DNS for "A" record of mail.alshifacharity.com... 202.62.9.134<br><br><br>Querying DNS for "A" record of mail.alshifacharity.com... 202.62.9.134<br><br><br>Querying DNS for "A" record of mail.alshifacharity.com... 202.62.9.134<br><br><br>Querying DNS for "A" record of mail.alshifacharity.com... 202.62.9.134<br><br><br>DNS ERROR - none of the "MX" records for alshifacharity.com<br>resolve to this host<br><br>●● Error krena tidak ada ip 202.62.9.134 di server , jadi di add dulu ke interface 1 tapi bridge nye ke 223.0/24 menghindari bentrok ●●<br><br>●● setelah di add ip 202.62.9.134 bootstart sukses ●●<br><br>----------------------------------<br>| Starting Carbonio Bootstrap... |<br>----------------------------------<br>--------------------------------------------------------------------------------<br>Zextras may collect a minimal set of public-facing technical information about <br>your use of Carbonio CE. This data should not contain personal identifiable <br>information, but in case they are subject to Zextras' Privacy Policy <br>[https://www.zextras.com].<br><br>As an additional condition, use of the entire software is conditional upon your <br>acceptance that no liability whatsoever shall be attributable to Zextras except <br>that for gross negligence or malice. Nothing in this condition detracts from <br>the provisions of the single licenses for the same case. Should you not accept <br>this condition you use of the software would not be permitted and your licenses <br>would be terminated.<br><br>No trademark license is granted nor implied. Trademark use, where expressly <br>permitted, is subject to the then-current trademark policy of Zextras. <br>[https://www.zextras.com]<br>--------------------------------------------------------------------------------<br><br>Operations logged to /tmp/zmsetup.20231002-091922.log<br><br>Bootstrap mode: new install<br>Installing LDAP configuration database...done.<br>Setting defaults...<br><br>Querying DNS for "A" record of current hostname mail.alshifacharity.com...<br><br>Querying DNS for "MX" record of alshifacharity.com...<br><br>Querying DNS for "A" record of mail.alshifacharity.com... MX: mail.alshifacharity.com (202.62.9.134)<br><br> Interface: 127.0.0.1<br> Interface: ::1<br> Interface: 202.62.9.134<br> Interface: 192.168.200.115<br><br><br>Querying DNS for "A" record of mail.alshifacharity.com... 202.62.9.134<br><br><br>Querying DNS for "A" record of mail.alshifacharity.com... 202.62.9.134<br><br><br>Querying DNS for "A" record of mail.alshifacharity.com... 202.62.9.134<br>done.<br>Checking for port conflicts<br><br>Main menu<br><br> 1) Common Configuration: <br> 2) carbonio-antivirus: Enabled <br> 3) carbonio-directory-server: Enabled <br> 4) carbonio-mta: Enabled <br> 5) carbonio-appserver: Enabled <br> 6) carbonio-proxy: Enabled <br> s) Save config to file <br> x) Expand menu <br> q) Quit <br><br>*** CONFIGURATION COMPLETE - press 'y' to apply configuration<br>Select from menu, or press 'y' to apply config (? - help) y<br>Saving config in /opt/zextras/config.34391...done.<br>Operations logged to /tmp/zmsetup.20231002-091922.log<br>Setting<br><br>●●●● service discover ●●●●<br> <br>root@mail:~# service-discover setup-wizard<br>Setup of first service-discover server instance<br>Multiple network cards detected:<br>ens19 192.168.200.115/24, fe80::a43b:2aff:fe22:475c/64<br>ens18 202.62.9.134/28, fe80::587f:f0ff:fec5:381d/64<br>Specify the binding address for service discovery: 202.62.9.134/28<br>Create the cluster credentials password (will be used for setups): <br>Type the credential password again: --- disini di masukan password ---<br><br>●●●● pending-setups ●●●●<br><br>root@mail:~# pending-setups -a<br>Insert the cluster credential password: -- disini di masukan passwd yang di buat di service discover ---<br><br>Executing all setup scripts...<br><br>--------------------------------------------------------------------------------<br>Executing /etc/zextras/pending-setups.d/carbonio-proxy-setup.sh<br>Insert the cluster credential password: <br>Config entry written: service-defaults/carbonio-proxy<br>Configuration reload triggered<br>Setup successful, moving carbonio-proxy-setup.sh to /etc/zextras/pending-setups.d/done/<br>--------------------------------------------------------------------------------<br>--------------------------------------------------------------------------------<br>Executing /etc/zextras/pending-setups.d/carbonio-docs-editor.sh<br>Insert the cluster credential password: <br>/etc/carbonio/docs-editor/service-discover//service-resolver.json configuration file correctly generated<br>/etc/carbonio/docs-editor/service-discover//service-router.json configuration file correctly generated<br>/etc/zextras/service-discover/carbonio-docs-editor.hcl sidecarconfiguration file correctly updated<br>Config entry written: service-defaul<br><br><br>root@mail:~# read -s -p "Password:" DB_ADM_PWD<br>Password: -- disini di masukan passwd untuk DB ---<br>root@mail:~# <br><br>root@mail:~# unset $DB_ADM_PWD<br><br>●●●● setup db untuk carbonio ●●●●<br><br>root@mail:~# su - postgres -c "psql --command=\"CREATE ROLE carbonio_adm WITH LOGIN SUPERUSER encrypted password 'DB_ADM_PWD';\""<br>su: user postgres does not exist<br>root@mail:~# su - postgrees<br><br>●● ini krena ternyata hrus install postgrees sendiri dulu<br><br>root@mail:~# apt install postgresql-12<br>Reading package lists... Done<br>Building dependency tree <br>Reading state information... Done<br>The following additional packages will be installed:<br> libllvm10 postgresql-common ssl-cert<br>Suggested packages:<br> libjson-perl openssl-blacklist<br>The following NEW packages will be installed:<br> libllvm10 postgresql-12 postgresql-common ssl-cert<br>0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.<br>Need to get 29.0 MB of archives.<br>After this operation, 116 MB of additional disk space will be used.<br>Do you want to continue? [Y/n] y<br>Get:1 http://id.archive.ubuntu.com/ubuntu focal/main amd64 libllvm10 amd64 1:10.0.0-4ubuntu1 [15.3 MB]<br>Get:2 http://id.archiv<br><br>●●lanjut setup db setalah selesai install postgres<br><br>root@mail:~# su - postgres<br>postgres@mail:~$ logout<br>root@mail:~# su - postgres -c "psql --command=\"CREATE ROLE carbonio_adm WITH LOGIN SUPERUSER encrypted password 'DB_ADM_PWD';\""<br>CREATE ROLE<br>root@mail:~# su - postgres -c "psql --command=\"CREATE DATABASE carbonio_adm owner carbonio_adm;\""<br>CREATE DATABASE<br>root@mail:~# PGPASSWORD=DB_ADM_PWD carbonio-files-db-bootstrap carbonio_adm 127.0.0.1<br>Database: 127.0.0.1:5432 user carbonio_adm<br>Check postgres connection: OK<br>CREATE ROLE<br>CREATE DATABASE<br>====================================================<br>carbonio-files-db database initialized successfully!<br>====================================================<br>root@mail:~#<br><br>●●●● restart carbonio ●●●●<br><br>root@mail:~# su - zextras <br>zextras@mail:~$ zmcontrol stop<br>Host mail.alshifacharity.com<br> Stopping config service...Done.<br> Stopping service webapp...Done.<br> Stopping stats...Done.<br> Stopping mta...Done.<br> Stopping cbpolicyd...Done.<br> Stopping opendkim...Done.<br> Stopping amavis...Done.<br> Stopping antivirus...Done.<br> Stopping antispam...Done.<br> Stopping proxy...Done.<br> Stopping memcached...Done.<br> Stopping mailbox...Done.<br> Stopping directory-server...Done.<br>zextras@mail:~$ zmcontrol start<br>Host mail.alshifacharity.com<br> Starting directory server...Done.<br> Starting config service...Done.<br> Starting mailbox...Done.<br> Starting memcached...Done.<br> Starting proxy...Done.<br> Starting amavis...Done.<br> Starting antispam...Done.<br> Starting antivirus...Done.<br> Starting opendkim...Done.<br> Starting mta...Done.<br> Starting stats...Done.<br> Starting service webapp...Done.<br>zextras@mail:~$ logout<br><br>●●●● cek lagi service carbonio-prometheus-nginx-exporter setalah semua service runnning ●●●●<br><br>root@mail:~# systemctl restart carbonio-prometheus-nginx-exporter.service<br>root@mail:~# systemctl status carbonio-prometheus-nginx-exporter.service<br>● carbonio-prometheus-nginx-exporter.service - Carbonio Prometheus NGINX exporter<br> Loaded: loaded (/lib/systemd/system/carbonio-prometheus-nginx-exporter.service; enabled; vendor preset: enabled)<br> Active: active (running) since Mon 2023-10-02 09:44:35 WIB; 11s ago<br> Main PID: 78082 (carbonio-promet)<br> Tasks: 9 (limit: 19087)<br> Memory: 2.7M<br> CGroup: /system.slice/carbonio-prometheus-nginx-exporter.service<br> └─78082 /usr/bin/carbonio-prometheus-nginx-exporter -nginx.scrape-uri=https://localhost/nginx_status -nginx.ssl-verify=false<br><br>Oct 02 09:44:35 mail.alshifacharity.com systemd[1]: Started Carbonio Prometheus NGINX exporter.<br>Oct 02 09:44:35 mail.alshifacharity.com carbonio-prometheus-nginx-exporter[78082]: 2023/10/02 09:44:35 Starting NGINX Prometheus Exporter version=0.10.0 commit=7a03d0314425793cf4001f0d9b0b2cfd19563433 date=2021-12-21T19:24:34Z<br>Oct 02 09:44:35 mail.alshifacharity.com carbonio-prometheus-nginx-exporter[78082]: 2023/10/02 09:44:35 Listening on :9113<br>Oct 02 09:44:35 mail.alshifacharity.com carbonio-prometheus-nginx-exporter[78082]: 2023/10/02 09:44:35 NGINX Prometheus Exporter has successfully started<br>root@mail:~# su - zextras <br><br>●●●● update admin password , di carbonio default user admin nya zextras@domain.com ●●●●<br>su - zextras<br>zextras@mail:~$ zmprov setpassword zextras@alshifacharity.com passwdbarunya<br><br><br>-- logs di ---<br>zextras@mail:~$ tail -f /var/log/carbonio.log<br>zextras@mail:~$ cd /opt/zextras/log/<br><br>-- web admin dan mail<br>https://192.168.200.115/carbonio/mails/folder/2/conversation/263<br>https://192.168.200.115:6071/carbonioAdmin/manage/domains/fa2ce678-31ae-4c4e-b974-7f6fdaafdf76/accounts