Kopano Installation in UBUNTU 18.04
-
Hi Thomas,
Thanks for your response & i have installed kopano following by below commands. & what next how to configure & access kopano core?
mkdir -p /home/kopano/amd64
cd /home/kopano/amd64
wget https://download.kopano.io/community/core:/core-8.6.80.760_0%2B90-Ubuntu_18.04-amd64.tar.gz
tar xfvz core-8.6.80.760_0+90-Ubuntu_18.04-amd64.tar.gz
cd core-8.6.80.760_0+90-Ubuntu_18.04-amd64
cd /home/kopano
apt-ftparchive packages amd64/ > amd64/Packages
echo “deb [trusted=yes] file:/home/kopano amd64/” > /etc/apt/sources.list.d/kopano-com.list
apt update
apt install kopano-server-packages -
i assume you also configured the Database as mentioned in the article and the kopano server process is up and running?
Next would be to install webapp. Information on that you’ll find on https://kb.kopano.io/display/WIKI/Kopano+Groupware+Installation
after that and the first article you can log in Kopana Webapp and “use” kopano.Postfix integration is also needed (https://kb.kopano.io/display/WIKI/Kopano+Groupware+Installation)
-
Hi thomas,
I am getting below error while creating user in mysql as per the link provided you.
please help how to overcome this or is ther any thing in command?this is the output:
mysql> mysql> CREATE USER ‘kopano’@‘localhost’ IDENTIFIED BY ‘<password>’;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘mysql> CREATE USER ‘kopano’@‘localhost’ IDENTIFIED BY ‘<password>’’ at line 1 -
Hi now i got below respose while creating the user kopano in mysql
mysql> GRANT ALL PRIVILEGES ON . TO ‘kopano’@‘localhost’ IDENTIFIED BY ‘password’;
Query OK, 0 rows affected, 1 warning (0.00 sec) -
& one more thing is i am not able to see server.cfg file in /etc/kopano/
only quotamail , userscripts is present in this location.
-
Hi Can you please respond to this .
-
@yaseen said in Kopano Installation in UBUNTU 18.04:
& one more thing is i am not able to see server.cfg file in /etc/kopano/
only quotamail , userscripts is present in this location.
you’ll find config examples
/usr/share/doc/kopano/example-config
here. Just copy them to/etc/kopano/
and edit them to your needs. -
@yaseen said in Kopano Installation in UBUNTU 18.04:
Hi now i got below respose while creating the user kopano in mysql
mysql> GRANT ALL PRIVILEGES ON . TO ‘kopano’@‘localhost’ IDENTIFIED BY ‘password’;
Query OK, 0 rows affected, 1 warning (0.00 sec)After that you edit
server.cfg
to your needs:############################################################## # MYSQL SETTINGS (for database_engine = mysql) # MySQL hostname to connect to for database access #mysql_host = localhost # MySQL port to connect with (usually 3306) #mysql_port = 3306 # The user under which we connect with MySQL mysql_user = kopano # The password for the user (leave empty for no password) mysql_password = *yourPassword* # Override the default MySQL socket to access mysql locally # Works only if the mysql_host value is empty or 'localhost' #mysql_socket = # Database to connect to #mysql_database = kopano # MySQL engine, per default it is InnoDB, which is the only supported # database engine. It is NOT advised to use a non-transactional engine # like MyISAM, Aria, etc. #mysql_engine = InnoDB # Where to place attachments. Value can be 'database', 'files' or 's3' #attachment_storage = files # Enable fsync as method to make sure attachments are stored on disk where # supported and will not be buffered by OS and/or filesystem. Please note # this setting will lower attachment write performance depending on your # environment but enhances data safety with disaster recovery. # Only affects 'files' attachment storage backend. #attachment_files_fsync = yes # When attachment_storage is 'files', use this path to store the files # When attachment_storage is 's3', use this path to set a prefix to all # attachment data of a certain cluster, for example 'attach' #attachment_path = /var/lib/kopano/attachments # Compression level for attachments when attachment_storage is 'files'. # Set compression level for attachments disabled=0, max=9 #attachment_compression = 6
it’s also good to take a look at the documentation https://documentation.kopano.io/kopanocore_administrator_manual/
-
Hi i have copied file from /etc/usr/exmpl-config to /etc/kopano & renamed it as server.cfg but when i opened it using gedit it is a blank file…
-
@yaseen said in Kopano Installation in UBUNTU 18.04:
Hi i have copied file from /etc/usr/exmpl-config to /etc/kopano & renamed it as server.cfg but when i opened it using gedit it is a blank file…
maybe check the permission on the file you copied.
-
in example-config below listed files is there
apparmor.d autorespond.cfg dagent.cfg.gz ical.cfg monitor.cfg server.cfg.gz unix.cfg
autorespond backup.cfg gateway.cfg ldap.cfg search.cfg spooler.cfg.gz -
Hi thomas thanks i have configured mysql as per your guidance & what is next thing to do is ldap or active directory for configuration of kopano or we can configure it later ?
& also provide commands to install kopano webapp…
-
getting belo message while installing appache.
Reading state information… Done
E: Unable to locate package libapache2-mod-php7.0
E: Couldn’t find any package by glob ‘libapache2-mod-php7.0’
E: Couldn’t find any package by regex 'libapache2-mod-php7.0 -
@xthbx said in Kopano Installation in UBUNTU 18.04:
/usr/share/doc/kopano/example-config
can i install appache2 & php7 seperatly ?
-
hi thomas afetr installing apache2 & php seperatly while perfprming this (sudo phpenmod kopano ) command i am getting below error message.
WARNING: Module kopano ini file doesn’t exist under /etc/php/7.1/mods-available
WARNING: Module kopano ini file doesn’t exist under /etc/php/7.1/mods-available -
Hi i am at final installation please help me to configure webapp
-
@yaseen said in Kopano Installation in UBUNTU 18.04:
Hi i am at final installation please help me to configure webapp
please follow https://kb.kopano.io/display/WIKI/Apache there is everything you need for webapp with apache
-
Hi now i am getting below error while using command “sudo phpenmod kopano”
root@test:/etc/kopano# sudo phpenmod kopano
WARNING: Module kopano ini file doesn’t exist under /etc/php/7.0/mods-available
WARNING: Module kopano ini file doesn’t exist under /etc/php/7.0/mods-available -
@yaseen said in Kopano Installation in UBUNTU 18.04:
Hi now i am getting below error while using command “sudo phpenmod kopano”
root@test:/etc/kopano# sudo phpenmod kopano
WARNING: Module kopano ini file doesn’t exist under /etc/php/7.0/mods-available
WARNING: Module kopano ini file doesn’t exist under /etc/php/7.0/mods-availabledid you install
libapache2-mod-php7.2
? -
yes installed