●●●●● 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]
Saving to: ‘inst_repo_ubuntu.sh’
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.
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
gpg: Total number processed: 1
gpg: imported: 1
Hit:1 http://id.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://id.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://id.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://id.archive.ubuntu.com/ubuntu focal-security InRelease
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)
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
Carbonio Repositories has been successufilly installed
root@mail:~# apt update -y
Hit:1 https://repo.zextras.io/release/ubuntu focal InRelease
Hit:2 http://id.archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://id.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://id.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:5 http://id.archive.ubuntu.com/ubuntu focal-security InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
root@mail:~# hostnamectl set-hostname mail.alshifacharity.com
root@mail:~# apt upgrade -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
●●●● install carbonio ●●●●●
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
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
postgresql-client-12 postgresql-client-common service-discover-base service-discover-daemon wamerican zip
Suggested packages:
postgresql-12 postgresql-doc-12
The following NEW packages will be installed:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
postgresql-client postgresql-client-12 postgresql-client-common service-discover-base service-discover-daemon service-discover-server wamerican zip
0 upgraded, 177 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,335 MB of archives.
After this operation, 4,306 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://id.archive.ubuntu.com/ubuntu focal/main amd64 libcrack2 amd64 2.9.6-3.2 [28.3 kB]
Get:2 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgnutlsxx28 amd64 3.6.13-2ubuntu1.8 [14.6 kB]
Get:3 http://id.archive.ubuntu.com/ubuntu focal/main amd64 libsnappy1v5 amd64 1.1.8-1build1 [16.7 kB]
Get:4 http://id.archive.ubuntu.com/ubuntu focal/main amd64 libcommon-sense-perl amd64 3.74-2build6 [20.1 kB]
Get:5 http://id.archive.ubuntu.com/ubuntu focal/main amd64 libtry-tiny-perl all 0.30-1 [20.5 kB]
Get:6 http://id.archive.ubuntu.com/ubuntu focal/main amd64 libsocket6-perl amd64 0.29-1build1 [18.9 kB]
Get:7 http://id.archive.ubuntu.com/ubuntu focal/universe amd64 libonig5 amd64 6.9.4-1 [142 kB]
Get:8 http://id.archive.ubuntu.com/ubuntu focal-updates/universe amd64 libjq1 amd64 1.6-1ubuntu0.20.04.1 [121 kB]
Get:9 http://id.archive.ubuntu.com/ubuntu focal-updates/universe amd64 jq amd64 1.6-1ubuntu0.20.04.1 [50.2 kB]
Get:10 http://id.archive.ub
------------------------------------------------------
●●●●●● error carbonio-nginx-prometheus-exporter ●●●●●●
root@mail:~# systemctl status carbonio-*
● carbonio-prometheus-node-exporter.service - Carbonio Prometheus Node Exporter
Loaded: loaded (/lib/systemd/system/carbonio-prometheus-node-exporter.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-10-02 08:37:28 WIB; 1min 38s ago
Main PID: 28309 (carbonio-promet)
Tasks: 5 (limit: 19087)
Memory: 2.6M
CGroup: /system.slice/carbonio-prometheus-node-exporter.service
└─28309 /usr/carbonio-prometheus-node-exporter --collector.textfile.directory /opt/zextras/zmstat/prometheus/
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
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
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
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
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
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
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
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
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
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
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
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
● carbonio-prometheus-nginx-exporter.service - Carbonio Prometheus NGINX exporter
Loaded: loaded (/lib/systemd/system/carbonio-prometheus-nginx-exporter.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2023-10-02 08:37:25 WIB; 1min 42s ago
Main PID: 27966 (code=exited, status=1/FAILURE)
Oct 02 08:37:25 mail.alshifacharity.com systemd[1]: carbonio-prometheus-nginx-exporter.service: Scheduled restart job, restart counter is at 8.
Oct 02 08:37:25 mail.alshifacharity.com systemd[1]: Stopped Carbonio Prometheus NGINX exporter.
Oct 02 08:37:25 mail.alshifacharity.com systemd[1]: carbonio-prometheus-nginx-exporter.service: Start request repeated too quickly.
Oct 02 08:37:25 mail.alshifacharity.com systemd[1]: carbonio-prometheus-nginx-exporter.service: Failed with result 'exit-code'.
Oct 02 08:37:25 mail.alshifacharity.com systemd[1]: Failed to start Carbonio Prometheus NGINX exporter.
--> kemungkinan krena carbonio-nginx (proxy) nya belum up
root@mail:~# /usr/bin/carbonio-prometheus-nginx-exporter start
2023/10/02 09:14:33 Starting NGINX Prometheus Exporter version=0.10.0 commit=7a03d0314425793cf4001f0d9b0b2cfd19563433 date=2021-12-21T19:24:34Z
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
●●●●● di lanjut bootstrap carbonio dulu ●●●●●●
root@mail:~# carbonio-bootstrap
----------------------------------
| Starting Carbonio Bootstrap... |
----------------------------------
--------------------------------------------------------------------------------
Zextras may collect a minimal set of public-facing technical information about
your use of Carbonio CE. This data should not contain personal identifiable
information, but in case they are subject to Zextras' Privacy Policy
[https://www.zextras.com].
As an additional condition, use of the entire software is conditional upon your
acceptance that no liability whatsoever shall be attributable to Zextras except
that for gross negligence or malice. Nothing in this condition detracts from
the provisions of the single licenses for the same case. Should you not accept
this condition you use of the software would not be permitted and your licenses
would be terminated.
No trademark license is granted nor implied. Trademark use, where expressly
permitted, is subject to the then-current trademark policy of Zextras.
[https://www.zextras.com]
--------------------------------------------------------------------------------
Operations logged to /tmp/zmsetup.20231002-091533.log
Bootstrap mode: new install
Installing LDAP configuration database...done.
Setting defaults...
Querying DNS for "A" record of current hostname mail.alshifacharity.com...
Querying DNS for "MX" record of alshifacharity.com...
Querying DNS for "A" record of mail.alshifacharity.com... MX: mail.alshifacharity.com (202.62.9.134)
Interface: 127.0.0.1
Interface: ::1
Interface: 192.168.1.1
Interface: 192.168.200.115
Querying DNS for "A" record of mail.alshifacharity.com... 202.62.9.134
Querying DNS for "A" record of mail.alshifacharity.com... 202.62.9.134
Querying DNS for "A" record of mail.alshifacharity.com... 202.62.9.134
Querying DNS for "A" record of mail.alshifacharity.com... 202.62.9.134
DNS ERROR - none of the "MX" records for alshifacharity.com
resolve to this host
●● 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 ●●
●● setelah di add ip 202.62.9.134 bootstart sukses ●●
----------------------------------
| Starting Carbonio Bootstrap... |
----------------------------------
--------------------------------------------------------------------------------
Zextras may collect a minimal set of public-facing technical information about
your use of Carbonio CE. This data should not contain personal identifiable
information, but in case they are subject to Zextras' Privacy Policy
[https://www.zextras.com].
As an additional condition, use of the entire software is conditional upon your
acceptance that no liability whatsoever shall be attributable to Zextras except
that for gross negligence or malice. Nothing in this condition detracts from
the provisions of the single licenses for the same case. Should you not accept
this condition you use of the software would not be permitted and your licenses
would be terminated.
No trademark license is granted nor implied. Trademark use, where expressly
permitted, is subject to the then-current trademark policy of Zextras.
[https://www.zextras.com]
--------------------------------------------------------------------------------
Operations logged to /tmp/zmsetup.20231002-091922.log
Bootstrap mode: new install
Installing LDAP configuration database...done.
Setting defaults...
Querying DNS for "A" record of current hostname mail.alshifacharity.com...
Querying DNS for "MX" record of alshifacharity.com...
Querying DNS for "A" record of mail.alshifacharity.com... MX: mail.alshifacharity.com (202.62.9.134)
Interface: 127.0.0.1
Interface: ::1
Interface: 202.62.9.134
Interface: 192.168.200.115
Querying DNS for "A" record of mail.alshifacharity.com... 202.62.9.134
Querying DNS for "A" record of mail.alshifacharity.com... 202.62.9.134
Querying DNS for "A" record of mail.alshifacharity.com... 202.62.9.134
done.
Checking for port conflicts
Main menu
1) Common Configuration:
2) carbonio-antivirus: Enabled
3) carbonio-directory-server: Enabled
4) carbonio-mta: Enabled
5) carbonio-appserver: Enabled
6) carbonio-proxy: Enabled
s) Save config to file
x) Expand menu
q) Quit
*** CONFIGURATION COMPLETE - press 'y' to apply configuration
Select from menu, or press 'y' to apply config (? - help) y
Saving config in /opt/zextras/config.34391...done.
Operations logged to /tmp/zmsetup.20231002-091922.log
Setting
●●●● service discover ●●●●
root@mail:~# service-discover setup-wizard
Setup of first service-discover server instance
Multiple network cards detected:
ens19 192.168.200.115/24, fe80::a43b:2aff:fe22:475c/64
ens18 202.62.9.134/28, fe80::587f:f0ff:fec5:381d/64
Specify the binding address for service discovery: 202.62.9.134/28
Create the cluster credentials password (will be used for setups):
Type the credential password again: --- disini di masukan password ---
●●●● pending-setups ●●●●
root@mail:~# pending-setups -a
Insert the cluster credential password: -- disini di masukan passwd yang di buat di service discover ---
Executing all setup scripts...
--------------------------------------------------------------------------------
Executing /etc/zextras/pending-setups.d/carbonio-proxy-setup.sh
Insert the cluster credential password:
Config entry written: service-defaults/carbonio-proxy
Configuration reload triggered
Setup successful, moving carbonio-proxy-setup.sh to /etc/zextras/pending-setups.d/done/
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Executing /etc/zextras/pending-setups.d/carbonio-docs-editor.sh
Insert the cluster credential password:
/etc/carbonio/docs-editor/service-discover//service-resolver.json configuration file correctly generated
/etc/carbonio/docs-editor/service-discover//service-router.json configuration file correctly generated
/etc/zextras/service-discover/carbonio-docs-editor.hcl sidecarconfiguration file correctly updated
Config entry written: service-defaul
root@mail:~# read -s -p "Password:" DB_ADM_PWD
Password: -- disini di masukan passwd untuk DB ---
root@mail:~#
root@mail:~# unset $DB_ADM_PWD
●●●● setup db untuk carbonio ●●●●
root@mail:~# su - postgres -c "psql --command=\"CREATE ROLE carbonio_adm WITH LOGIN SUPERUSER encrypted password 'DB_ADM_PWD';\""
su: user postgres does not exist
root@mail:~# su - postgrees
●● ini krena ternyata hrus install postgrees sendiri dulu
root@mail:~# apt install postgresql-12
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libllvm10 postgresql-common ssl-cert
Suggested packages:
libjson-perl openssl-blacklist
The following NEW packages will be installed:
libllvm10 postgresql-12 postgresql-common ssl-cert
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 29.0 MB of archives.
After this operation, 116 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://id.archive.ubuntu.com/ubuntu focal/main amd64 libllvm10 amd64 1:10.0.0-4ubuntu1 [15.3 MB]
Get:2 http://id.archiv
●●lanjut setup db setalah selesai install postgres
root@mail:~# su - postgres
postgres@mail:~$ logout
root@mail:~# su - postgres -c "psql --command=\"CREATE ROLE carbonio_adm WITH LOGIN SUPERUSER encrypted password 'DB_ADM_PWD';\""
CREATE ROLE
root@mail:~# su - postgres -c "psql --command=\"CREATE DATABASE carbonio_adm owner carbonio_adm;\""
CREATE DATABASE
root@mail:~# PGPASSWORD=DB_ADM_PWD carbonio-files-db-bootstrap carbonio_adm 127.0.0.1
Database: 127.0.0.1:5432 user carbonio_adm
Check postgres connection: OK
CREATE ROLE
CREATE DATABASE
====================================================
carbonio-files-db database initialized successfully!
====================================================
root@mail:~#
●●●● restart carbonio ●●●●
root@mail:~# su - zextras
zextras@mail:~$ zmcontrol stop
Host mail.alshifacharity.com
Stopping config service...Done.
Stopping service webapp...Done.
Stopping stats...Done.
Stopping mta...Done.
Stopping cbpolicyd...Done.
Stopping opendkim...Done.
Stopping amavis...Done.
Stopping antivirus...Done.
Stopping antispam...Done.
Stopping proxy...Done.
Stopping memcached...Done.
Stopping mailbox...Done.
Stopping directory-server...Done.
zextras@mail:~$ zmcontrol start
Host mail.alshifacharity.com
Starting directory server...Done.
Starting config service...Done.
Starting mailbox...Done.
Starting memcached...Done.
Starting proxy...Done.
Starting amavis...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting opendkim...Done.
Starting mta...Done.
Starting stats...Done.
Starting service webapp...Done.
zextras@mail:~$ logout
●●●● cek lagi service carbonio-prometheus-nginx-exporter setalah semua service runnning ●●●●
root@mail:~# systemctl restart carbonio-prometheus-nginx-exporter.service
root@mail:~# systemctl status carbonio-prometheus-nginx-exporter.service
● carbonio-prometheus-nginx-exporter.service - Carbonio Prometheus NGINX exporter
Loaded: loaded (/lib/systemd/system/carbonio-prometheus-nginx-exporter.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-10-02 09:44:35 WIB; 11s ago
Main PID: 78082 (carbonio-promet)
Tasks: 9 (limit: 19087)
Memory: 2.7M
CGroup: /system.slice/carbonio-prometheus-nginx-exporter.service
└─78082 /usr/bin/carbonio-prometheus-nginx-exporter -nginx.scrape-uri=https://localhost/nginx_status -nginx.ssl-verify=false
Oct 02 09:44:35 mail.alshifacharity.com systemd[1]: Started Carbonio Prometheus NGINX exporter.
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
Oct 02 09:44:35 mail.alshifacharity.com carbonio-prometheus-nginx-exporter[78082]: 2023/10/02 09:44:35 Listening on :9113
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
root@mail:~# su - zextras
●●●● update admin password , di carbonio default user admin nya zextras@domain.com ●●●●
su - zextras
zextras@mail:~$ zmprov setpassword zextras@alshifacharity.com passwdbarunya
-- logs di ---
zextras@mail:~$ tail -f /var/log/carbonio.log
zextras@mail:~$ cd /opt/zextras/log/
-- web admin dan mail
https://192.168.200.115/carbonio/mails/folder/2/conversation/263
https://192.168.200.115:6071/carbonioAdmin/manage/domains/fa2ce678-31ae-4c4e-b974-7f6fdaafdf76/accounts
Related
No Comments, Be The First!