Ubuntu 20.04 LTS
Follow these simple steps in your terminal:
- Download the following script using
wget https://repo.zextras.io/inst_repo_ubuntu.sh
- Give it the permission
chmod +x inst_repo_ubuntu.sh
- And finally execute the script
./inst_repo_ubuntu.sh
- Set Hostname
vi /etc/hosts
- Install Package
apt install service-discover-server \
carbonio-directory-server \
carbonio-proxy \
carbonio-webui carbonio-files-ui \
carbonio-admin-login-ui \
carbonio-mta \
carbonio-appserver carbonio-logger \
carbonio-user-management \
carbonio-files-ce carbonio-files-db \
carbonio-storages-ce \
carbonio-preview-ce \
carbonio-docs-connector-ce carbonio-docs-editor \
carbonio-admin-ui carbonio-admin-console-ui \
postgresql-12 - configure and launch Carbonio CE
carbonio-bootstrap
- Carbonio Mesh is required to allow communication between Carbonio CE and its components.
service-discover setup-wizard
- To complete Carbonio Mesh installation
pending-setups -a
- One final command is needed to fix access permission to Carbonio Mesh tokens.
chmod a+r /etc/zextras/carbonio-mailbox/token
- The first step is to create a role and password with administrative rights.
su - postgres -c "psql --command=\"CREATE ROLE carbonio_adm WITH LOGIN SUPERUSER encrypted password 'PASSWORD_FOR_DB';\""
- The second step is to create the database.
su - postgres -c "psql --command=\"CREATE DATABASE carbonio_adm owner carbonio_adm;\""
- First, we bootstrap the database.
PGPASSWORD=$DB_ADM_PWD carbonio-files-db-bootstrap carbonio_adm 127.0.0.1
- Then restart the main mailbox process as the zextras user.
su - zextras
zmmailboxdctl restart
- (Optional) Change Password for System User
su - zextras
carbonio prov setpassword [email protected] newpassword
- Then restart the main mailbox process as the zextras user.
su - zextras
zmmailboxdctl restart
- The syntax is the standard used by systemctl, hence you can use
systemctl start|stop|status carbonio*
- to start, stop or verify the status of all the carbonio units and
journalctl -u carbonio*
systemctl list-units "carbonio*"
- End.
How to upgrade
You can always upgrade to the latest version simply by executing
apt update && apt upgrade