Step by Step Carbonio installation.
1. Prerequisite: preparing the server
i)
Update-Upgrade server
ii)
Install “tzdata”
iii)
Time zone reconfigure
iv)
Install “fdisk”
v)
LVM Create- Disk space increase:
1. df -hT ## check running disk space
2. vgdisplay ## to check volume group name
3. pvdisplay ## to check the physical volume name
4. fdisk -l ## check available disk
5. pvcreate /dev/vdc ## physical volume creates on VDC disk
6. vgextend vgmail /dev/vdc ## extend volume group named "vgmail"
7. lvextend -L+49G /dev/mapper/vgmail-lvmail ## extend logical volume
lvextend -l+100%FREE /dev/ubuntu-vg/ubuntu-lv
8. resize2fs /dev/mapper/vgmail-lvmail ## add the volume to file system
Or
xfs_growfs /dev/mapper/ubuntu--vg-ubuntu—lv ## add the volume to file system
9. df -hT ## check current disk space after upgrade
2.
Installation
of carbonio (Methode-1):
Script: https://www.notion.so/Shared-Items-BOL-1dc95e52b8ab801b9447c4f63ea08315
Copy and paste the script from Root and enter.
i)
We may skip 1 & 2 steps as we already fixed the
hosts/hostname
ii)
Select: 3 and fix the time zone as Asia/Dhaka
iii)
Select: 4 and fix Repository as Public; select 1
iv)
Select: 5 and continue
v)
Select: 6 and select DB as 16; select 2
vi)
Select: 7 and continue
vii)
Select: 8 and we not need to change hostname: type
“no”
viii)
Select: 9 and enter your choice: public IP
ix)
Select: 10 and provide a password
x)
Select: 11 and continue
xi)
Select: 12 and we will continue all the
configuration: Type “no”
xii)
Select: 13 –to 20 select and continue
xiii)
Select: 21- or we can skip it
xiv)
Select: 22 –to 28 and system will be rebooted.
3. After rebooting the server, will login to Carbonio
using the URL with port 6071.
4. We will follow some
Best Practices
i)
Protocol change to
Public Service Protocol https (secure) and
Public Service Port 443
ii)
Time zone select to Dhaka
iii)
Default Class of Service default
2.2 Installation of Carbonio: (Method-2)
i) Hostname
ii) Hosts
iii) Add
Carbonio Repo
Carbonio Repo: https://docs.zextras.com/carbonio-ce/html/install/preliminary.html#configure-repositories
iv) Execute this script [https://docs.zextras.com/carbonio-ce/html/_downloads/bed211d6fc1b9ca35f15be01eb9aa3fc/install_carbonio_ce_singleserver_ubuntu.sh]
Copy these two password:
The service-discover password is:
6see1LvaHGXePJaTi0Q
The PostgreSQL passowrd (DB_ADM_PWD) is: 4J7mqj6NFA9KbmVkII
v)
Execute this command:
PGPASSWORD=4J7mqj6NFA9KbmVkII
carbonio-message-dispatcher-migration carbonio_adm 127.78.0.10 20000
Reference: https://docs.zextras.com/carbonio-ce/html/install/scenarios/single-server-scenario.html
vi)
Reboot Server and execute these commands:
zmcontrol restart
systemctl restart carbonio-message-broker
systemctl restart carbonio-message-dispatcher
systemctl restart carbonio-ws-collaboration
systemctl restart carbonio-videoserver
vii)
zmcontrol status
viii)
Set
password for “zextras” ID
su zextras
carbonio prov sp zextras %b0l@dmnfl
Comments
Post a Comment