在Ubuntu 18.04 Linux上安装EGroupware CE

这是续集。
请从下面的链接下载并以PDF格式支持本文。

以PDF格式下载指南

关门
这是续集。

这是续集。
这是续集。

EGroupware是根据GNU通用公共许可证(GPL)版本2发行的基于开源协作,基于PHP,JS和HTML的群件软件。您可以通过允许与平台无关的访问的本机Web界面使用EGroupware。或使用CalDAV / CardDAV或ActiveSync协议来使用其他受支持的客户端。本指南介绍了在Ubuntu 18.04 Linux上EGroupware CE的安装。

EGroupware功能

  • 档案管理员 –与外部合作伙伴一起提供更细致的权限管理,归档选项以及对文件的读取访问权限,从而使其更轻松。
  • 行事历 –在线安排会议,假期和小组约会。
  • 网站管理 –维护整个平台所需的许多工具和设置
  • 邮件客户端 –集成的电子邮件客户端与日历和信息日志等其他模块完全连接。
  • 任务和项目 –有效管理整个团队的信息和职责。

既然安装已准备就绪,请按照下一部分中的步骤在Ubuntu 18.04(Bionic Beaver)Linux上安装EGroupware CE。

步骤1:更新您的Ubuntu系统

将系统软件包更新为最新的可用版本。

sudo apt update
sudo apt -y upgrade && sudo systemctl reboot

步骤2:添加EGroupware APT存储库

基于Docker容器安装EGroupware19.x。您需要添加一个存储库,其中提供在Ubuntu上运行EGroupware所需的软件包。

导入存储库GPG密钥:

sudo apt update
sudo apt -y install gnupg
wget -nv https://download.opensuse.org/repositories/server:eGroupWare/xUbuntu_18.04/Release.key -O - | sudo apt-key add -

然后将实际的存储库内容添加到Ubuntu。

echo 'deb http://download.opensuse.org/repositories/server:/eGroupWare/xUbuntu_18.04/ /' | sudo tee /etc/apt/sources.list.d/server:eGroupWare.list

步骤3:在Ubuntu 18.04上安装EGroupware

EGroupware软件包的安装将开始。

sudo apt update
sudo apt install egroupware-docker egroupware-collabora-key egroupware-rocketchat

您可以检查依赖关系并接受安装。

The following additional packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils bridge-utils cgroupfs-mount containerd docker-compose docker.io galera-3
  golang-docker-credential-helpers libaio1 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libcgi-fast-perl libcgi-pm-perl
  libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libencode-locale-perl libfcgi-perl libhtml-parser-perl libhtml-tagset-perl
  libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl libjemalloc1 liblua5.2-0 liblwp-mediatypes-perl libmysqlclient20
  libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libsecret-1-0 libsecret-common libterm-readkey-perl libtimedate-perl liburi-perl
  mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server mariadb-server-10.1 mariadb-server-core-10.1 mysql-common pigz python
  python-asn1crypto python-backports.ssl-match-hostname python-cached-property python-certifi python-cffi-backend python-chardet python-cryptography
  python-docker python-dockerpty python-dockerpycreds python-docopt python-enum34 python-funcsigs python-functools32 python-idna python-ipaddress
  python-jsonschema python-minimal python-mock python-openssl python-pbr python-pkg-resources python-requests python-six python-texttable
  python-urllib3 python-websocket python-yaml python2.7 python2.7-minimal runc socat ssl-cert ubuntu-fan
Suggested packages:
  www-browser apache2-doc apache2-suexec-pristine | apache2-suexec-custom ifupdown aufs-tools debootstrap docker-doc rinse zfs-fuse | zfsutils
  egroupware-epl-jdots egroupware-epl-phpbrain egroupware-epl-sitemgr egroupware-epl-wiki libclone-perl libmldbm-perl libnet-daemon-perl
  libsql-statement-perl libdata-dump-perl libipc-sharedcache-perl libwww-perl mailx mariadb-test tinyca python-doc python-tk python-cryptography-doc
  python-cryptography-vectors python-enum34-doc python-funcsigs-doc python-mock-doc python-openssl-doc python-openssl-dbg python-setuptools
  python-socks python-ntlm python2.7-doc binutils binfmt-support openssl-blacklist
The following NEW packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils bridge-utils cgroupfs-mount containerd docker-compose docker.io egroupware-collabora-key
  egroupware-docker egroupware-rocketchat galera-3 golang-docker-credential-helpers libaio1 libapr1 libaprutil1 libaprutil1-dbd-sqlite3
  libaprutil1-ldap libcgi-fast-perl libcgi-pm-perl libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libencode-locale-perl libfcgi-perl
  libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl libjemalloc1 liblua5.2-0
  liblwp-mediatypes-perl libmysqlclient20 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libsecret-1-0 libsecret-common
  libterm-readkey-perl libtimedate-perl liburi-perl mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server mariadb-server-10.1
  mariadb-server-core-10.1 mysql-common pigz python python-asn1crypto python-backports.ssl-match-hostname python-cached-property python-certifi
  python-cffi-backend python-chardet python-cryptography python-docker python-dockerpty python-dockerpycreds python-docopt python-enum34
  python-funcsigs python-functools32 python-idna python-ipaddress python-jsonschema python-minimal python-mock python-openssl python-pbr
  python-pkg-resources python-requests python-six python-texttable python-urllib3 python-websocket python-yaml python2.7 python2.7-minimal runc socat
  ssl-cert ubuntu-fan
0 upgraded, 87 newly installed, 0 to remove and 0 not upgraded.
Need to get 95.7 MB of archives.
After this operation, 537 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

确保将docker和mariadb服务设置为在启动时启动。

sudo systemctl enable --now mariadb docker

检查Docker容器的状态。

$ sudo docker ps
CONTAINER ID        IMAGE                                     COMMAND                  CREATED              STATUS              PORTS                      NAMES
fc4f352cd34c        nginx:stable-alpine                       "nginx -g 'daemon of…"   About a minute ago   Up About a minute   127.0.0.1:8080->80/tcp     egroupware-nginx
f82e275de510        egroupware/egroupware:latest              "/entrypoint.sh php-…"   About a minute ago   Up About a minute   9000/tcp                   egroupware
01010b89de5e        containrrr/watchtower                     "/watchtower --sched…"   About a minute ago   Up About a minute                              egroupware-watchtower
aa469bef5375        rocketchat/rocket.chat:latest             "bash -c 'for i in `…"   About a minute ago   Up About a minute   127.0.0.1:3000->3000/tcp   rocketchat
789500f3ef5e        mongo:4.0                                 "docker-entrypoint.s…"   About a minute ago   Up About a minute   27017/tcp                  rocketchat-mongo
b95c75e8a053        quay.io/egroupware/collabora-key:stable   "/bin/sh -c 'bash st…"   3 minutes ago        Up 3 minutes        127.0.0.1:9980->9980/tcp   collabora-key

步骤4:访问EGroupware CE仪表板

在Ubuntu 18.04 LTS上安装EGroupware后,获取您的登录凭据。

$ cat /var/lib/egroupware/egroupware-docker-install.log 
Fix APC(u) configuration, set apc.shm_size=128M in /etc/php/7.3/cli/conf.d/20-apcu.ini
Timezones updated to version 2.2019c (546 records updated).
Timezones aliases updated to version 2020-04-09 09:54:19 (87 records updated).
You might need to clear the cache for changes to be visiable: Admin >> Clear cache!

EGroupware successful installed
===============================

Please note the following user names and passwords:

Setup username:      admin
      password:      [email protected]

EGroupware username: sysop
           password: uka(x3j2OO|?=2gZ

You can log into EGroupware by pointing your browser to http://localhost/egroupware/
Please replace localhost with the appropriate hostname, if you connect remote.

*** Database has no root password set, please fix that immediatly: mysqladmin -u root password NEWPASSWORD

要使用您的凭据登录到仪表板,请转到http://example.org/egroupware页面。

使用Docker compose运行输出中显示的凭据登录。

在Ubuntu 18.04 Linux上安装EGroupware CE

您可以开始配置EGroupware和配置第三方集成。

在Ubuntu 18.04 Linux上安装EGroupware CE

对于CentOS,请参阅以下内容。

在CentOS 7 / CentOS 8上安装EGroupware CE

这是续集。
请从下面的链接下载并以PDF格式支持本文。

以PDF格式下载指南

关门
这是续集。

这是续集。
这是续集。

Sidebar