웹사이트 검색

Ubuntu 16.04 LTS에 Kolab 그룹웨어 설치 및 구성


이 페이지에서

  1. 요구 사항\n
  2. 시작하기\n
  3. MariaDB 설치
  4. Kolab 설치
  5. Kolab 구성
  6. Kolab 웹 인터페이스 액세스
  7. Roundcube 웹메일 액세스

Kolab은 이메일 서버, 디렉토리 서비스, 웹 서비스, 캘린더, 작업, 주소록 등을 위한 솔루션을 제공하는 오픈 소스 웹 기반 그룹웨어 소프트웨어 애플리케이션입니다. Kolab은 Outlook, KDE Contact, Thunderbird 및 Roundcube를 포함한 여러 클라이언트를 지원합니다. Kolab은 사용자, 도메인, 공유 폴더 등을 추가, 수정 및 삭제하는 데 사용할 수 있는 사용자 친화적이고 사용하기 쉬운 웹 인터페이스를 제공합니다.

Kolab에는 많은 기능이 포함되어 있으며 그 중 일부는 다음과 같습니다.

  • Outlook, 웹 및 KDE와 같은 혼합 클라이언트 환경을 지원합니다.\n
  • 이메일에는 IMAP 및 POP3를, 구성 데이터 저장에는 LDAP를 사용합니다.\n
  • 공유 주소록 및 캘린더를 지원합니다.\n
  • CardDAV 및 WebDAV, ActiveSync 및 CalDAV에 대한 전체 서버 측 지원.\n

요구 사항

  • Ubuntu 16.04를 실행하는 서버.\n
  • 서버에 sudo 권한이 설정된 비루트 사용자.\n
  • 서버의 정적 IP 192.168.0.190 설정.

시작하기

시작하기 전에 시스템에 정규화된 도메인 이름 또는 호스트 이름을 설정해야 합니다. /etc/hosts 및 /etc/hostname 파일을 편집하여 이를 수행할 수 있습니다.

sudo nano /etc/hosts

파일 끝에 IP 주소와 호스트 이름을 추가합니다.

192.168.0.190 mail.kolab.com mail

파일을 저장하고 닫은 다음 /etc/hostname 파일을 편집합니다.

sudo nano /etc/hostname

다음 줄을 추가합니다.

mail.kolab.com

완료되면 파일을 저장한 다음 시스템을 다시 시작하여 모든 변경 사항을 적용하십시오.

MariaDB 설치

Kolab을 설치하기 전에 서버에 최신 버전의 MariaDB를 설치해야 합니다. 기본적으로 MariaDB는 Ubuntu 16.04 기본 리포지토리에서 사용할 수 없습니다. 따라서 먼저 다음 명령을 사용하여 MariaDB용 APT 키를 다운로드합니다.

sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8

다음으로 다음 명령을 사용하여 Maria-DB 리포지토리를 추가합니다.

sudo add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial main'

그런 다음 리포지토리를 업데이트하고 다음 명령을 사용하여 MariaDB를 설치합니다.

sudo apt-get update -y
sudo apt-get install mariadb-server -y

MariaDB가 설치되면 MariaDB 서비스를 시작하고 다음 명령을 사용하여 부팅 시 시작되도록 활성화합니다.

sudo systemctl start mysql
sudo systemctl enable mysql

다음으로 다음 스크립트를 실행하여 MariaDB 설치를 보호합니다.

sudo mysql_secure_installation

아래와 같이 모든 질문에 답하십시오.

Enter current password for root (enter for none):
Change the root password? [Y/n] n
Remove anonymous users? [Y/n] Y
Disallow root login remotely? [Y/n] Y
Remove test database and access to it? [Y/n] Y
Reload privilege tables now? [Y/n] Y

MariaDB가 보안되면 다음 단계로 진행할 수 있습니다.

코랩 설치

기본적으로 Kolab은 Ubuntu 16.04 기본 리포지토리에서 사용할 수 없습니다. 따라서 Kolab 저장소를 APT에 추가해야 합니다. /etc/apt/sources.list 파일을 편집하여 이를 수행할 수 있습니다.

sudo nano /etc/apt/sources.list

파일 끝에 다음 줄을 추가합니다.

deb http://obs.kolabsys.com/repositories/Kolab:/16/Ubuntu_16.04/ ./
deb-src http://obs.kolabsys.com/repositories/Kolab:/16/Ubuntu_16.04/ ./

파일을 저장하고 닫은 다음 패키지 서명에 사용된 GPG 키를 가져옵니다.

wget -q -O- https://ssl.kolabsys.com/community.asc | sudo apt-key add -

다음으로 Kolab 패키지가 Ubuntu 패키지보다 우선 순위가 있는지 확인해야 합니다. /etc/apt/preferences.d/kolab 파일을 생성하여 이를 수행할 수 있습니다.

sudo nano /etc/apt/preferences.d/kolab

다음 줄을 추가합니다.

Package: *
Pin: origin obs.kolabsys.com
Pin-Priority: 501

파일을 저장하고 다음 명령을 사용하여 리포지토리 메타데이터를 업데이트합니다.

sudo apt-get update -y

마지막으로 다음 명령을 실행하여 Kolab을 설치합니다.

sudo apt-get install kolab -y

Kolab 구성

Kolab을 설치한 후 Kolab Groupware를 설정해야 합니다. 다음 명령을 실행하여 이를 수행할 수 있습니다.

sudo setup-kolab

Kolab 설정 중에 다음 질문을 받게 됩니다. 함께 제공된 지침을 따르십시오.

#Please supply a password for the LDAP administrator user 'admin', used to login to the graphical console of 389 Directory server.

Administrator password [JAOw_2oIhlezXlK]: 
Confirm Administrator password: 

#Please supply a password for the LDAP Directory Manager user, which is the administrator user you will be using to at least initially log in to the Web
#Admin, and that Kolab uses to perform administrative tasks.

Directory Manager password [QXML8Suxv-YTUFr]: 
Confirm Directory Manager password: 

#Please choose the system user and group the service should use to run under. These should be existing, unprivileged, local system POSIX accounts with no shell.

User [dirsrv]: 
Group [dirsrv]: 

#This setup procedure plans to set up Kolab Groupware for the following domain name space. This domain name is obtained from the reverse DNS entry on your
#network interface. Please confirm this is the appropriate domain name space.

kolab.com [Y/n]: Y

#The standard root dn we composed for you follows. Please confirm this is the root dn you wish to use.

dc=kolab,dc=com [Y/n]: Y

#Setup is now going to set up the 389 Directory Server. This may take a little while (during which period there is no output and no progress indication).

Created symlink from /etc/systemd/system/multi-user.target.wants/dirsrv.target to /lib/systemd/system/dirsrv.target.

#Please supply a Cyrus Administrator password. This password is used by Kolab to execute administrative tasks in Cyrus IMAP. You may also need the password
#yourself to troubleshoot Cyrus IMAP and/or perform other administrative tasks against Cyrus IMAP directly.

Cyrus Administrator password [h3IbKvhbKGUwhy5]: 
Confirm Cyrus Administrator password: 

#Please supply a Kolab Service account password. This account is used by various services such as Postfix, and Roundcube, as anonymous binds to the LDAP server
#will not be allowed.

Kolab Service password [KhHTzhSYh4w11Vw]: 
Confirm Kolab Service password: 

What MySQL server are we setting up?
 - 1: Existing MySQL server (with root password already set).
 - 2: New MySQL server (needs to be initialized).
Choice:  - 1: Existing MySQL server (with root password already set).
 - 2: New MySQL server (needs to be initialized).
Choice:  - 1: Existing MySQL server (with root password already set).
 - 2: New MySQL server (needs to be initialized).
Choice: 2

#Please supply the root password for MySQL, so we can set up user accounts for other components that use MySQL.

MySQL root password: 

#Please supply a password for the MySQL user 'kolab'. This password will be used by Kolab services, such as the Web Administration Panel.

MySQL kolab password [2-Zz7j_AjGI8QF0]: 
Confirm MySQL kolab password: 

#Please supply the timezone PHP should be using. You have to use a Continent or Country / City locality name like 'Europe/Berlin', but not just 'CEST'.

Timezone ID [UTC]: Asia/Kolkata

#Please supply a password for the MySQL user 'roundcube'. This password will be used by the Roundcube webmail interface.

MySQL roundcube password [OVwJoKktzbOMAys]: 
Confirm MySQL roundcube password: 

Kolab 설정이 완료되면 Kolab 웹 인터페이스에 액세스할 수 있습니다.

Kolab 웹 인터페이스에 액세스

웹 브라우저를 열고 URL http://192.168.0.190/kolab-webadmin을 입력합니다. 아래와 같이 Kolab 로그인 페이지로 리디렉션됩니다.

사용자 이름을 cn=Directory Manager로 입력하고 위 단계에서 설정한 비밀번호를 제공합니다. 그런 다음 로그인 버튼을 클릭합니다. 다음 화면이 표시됩니다.

다음으로 웹 인터페이스에서 사용자 아이콘을 클릭하고 아래와 같이 메일 사용자를 생성합니다.

그런 다음 연락처 탭을 클릭하여 사용자 ID를 확인하십시오.

그런 다음 시스템 탭을 클릭하여 이메일 사용자 비밀번호를 설정합니다.

그런 다음 구성 탭을 클릭하여 사용자의 이메일 할당량을 설정합니다.

완료되면 제출 버튼을 클릭하여 모든 구성을 저장합니다.

Roundcube 웹메일에 액세스

이제 메일 사용자가 생성되었으며 Rouncube 웹메일을 통해 메일에 액세스할 시간입니다.

웹 브라우저를 열고 URL http://mail.kolab.com/roundcubemail을 입력합니다. 다음 화면이 표시됩니다.

위의 단계에서 설정한 기본 이메일 ID 및 비밀번호로 사용자 이름을 제공하십시오. 그런 다음 로그인 버튼을 클릭합니다. 다음 화면에 Roundcube 웹 인터페이스가 표시되어야 합니다.

이 인터페이스를 사용하면 이메일에 쉽게 액세스하여 보내고 주소록, 일정 및 작업을 관리할 수 있습니다.

축하해요! Ubuntu 16.04 서버에 Kolab Groupware를 성공적으로 설치했습니다. 이제 쉽게 이메일을 주고받고, 연락처, 작업 및 주소록을 관리할 수 있습니다.