GNU/Linux >> Linux の 問題 >  >> Debian

Debian8にSOGoをインストールする

SOGoは、無料で最新のスケーラブルなグループウェアサーバーです。豊富なAJAXベースのWebインターフェイスを提供し、CalDAV、CardDAV、GroupDAV、MicrosoftActiveSyncなどの標準プロトコルを使用して複数のネイティブクライアントをサポートします。 SOGoは、お気に入りのWebブラウザーを介して、Mozilla ThunderbirdやLightningなどのネイティブクライアントを使用して、共有カレンダー、名簿、および電子メールを提供します。

この記事では、Debian8VPSにSOGoをインストールするために必要な手順を説明します。

要件

このチュートリアルでは、SSD 1LinuxVPSホスティングプランを使用します。

SSH経由でサーバーにログインします

# ssh root@server_ip

次のコマンドを使用して、サーバーに適切なバージョンのDebianがインストールされているかどうかを確認できます。

# lsb_release -a

これにより、下の出力が得られるはずです:

Distributor ID: Debian
Description: Debian GNU/Linux 8.2 (jessie)
Release: 8.2
Codename: jessie

システムを更新する

サーバーが完全に最新であることを確認してください。

# apt-get update && apt-get upgrade

次に行う必要があるのは、SOGoリポジトリをサーバーソースに追加することです。テキストエディタとしてvimを使用しますが、あなたのスキルに最も適したものを自由に使用できます。

# vim /etc/apt/sources.list

/etc/apt/sources.listを開いたら 、ファイルの下部に次の行を追加します:

# deb http://inverse.ca/debian jessie jessie

SOGoビルドの署名を確認するには、GPG公開鍵をaptキーリングに追加する必要があります。これを行うには、次のコマンドを実行します。

# apt-key adv --keyserver keys.gnupg.net --recv-key 0x810273C4

パッケージインデックスを更新します:

# apt-get update

SOGOをインストール

以下のコマンドを使用して、SOGoといくつかの必要なアプリケーションをインストールします。

# apt-get install sogo sope4.9-gdl1-mysql memcached rpl

次に、非常に必要なApacheモジュールを有効にします。

# a2enmod proxy proxy_http headers rewrite

変更を有効にするには、Apacheを再起動します。

# service apache2 restart

tmpreaderの警告を削除します:

# rpl 'SHOWWARNING=true' 'SHOWWARNING=false' /etc/tmpreaper.conf

Memcachedの構成:

# rpl '127.0.0.1' localhost /etc/memcached.conf

次に、MySQLのインストール後スクリプトmysql_secure_installationを実行します:

# mysql_secure_installation

次のように構成します:

- Set root password? [Y/n] y
- 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

MySQLとMemcachedを再起動します:

# service mysql restart

# service memcached restart

次に、SOGoのデータベースを作成します。ルートとしてMySQLを入力してください:

# mysql -u root -p

mysql> CREATE DATABASE sogo;

mysql> GRANT ALL ON sogo.* TO 'sogou'@'localhost' IDENTIFIED BY 'your_password';

mysql> USE sogo;

mysql> CREATE TABLE sogo_users (c_uid VARCHAR(10) PRIMARY KEY, c_name VARCHAR(10), c_password VARCHAR(32), c_cn VARCHAR(128), mail VARCHAR(128));

mysql> INSERT INTO sogo_users VALUES ('tom', 'tom', MD5('your_password'), 'Tom User', '[email protected]'); mysql> flush privileges; mysql> exit

SOGoの構成は、「 sogo」で行う必要があります ‘ユーザー自体。以下のコマンドを入力して、「 your_domain」を置き換えます ‘および‘ your_password ‘上記のデータベース作成手順で使用した実際のドメインとパスワードの値:

# su - sogo -s /bin/bash

# defaults write sogod SOGoTimeZone "US/Central"

# defaults write sogod SOGoMailDomain "your_domain"

# defaults write sogod SOGoLanguage "English"

# defaults write sogod SOGoUserSources '({canAuthenticate = YES; displayName = "SOGo Users"; id = users; isAddressBook = YES; type = sql; userPasswordAlgorithm = md5; viewURL ="mysql://sogoUSER:[email protected]:3306/sogoDB/sogo_users";})'

# defaults write sogod SOGoProfileURL 'mysql://sogoUSER:[email protected]:3306/sogoDB/sogo_user_profile'

# defaults write sogod OCSFolderInfoURL 'mysql://sogoUSER:[email protected]:3306/sogoDB/sogo_folder_info'

# defaults write sogod OCSSessionsFolderURL 'mysql://sogoUSER:[email protected]:3306/sogoDB/sogo_sessions_folder'

# defaults write sogod SOGoAppointmentSendEMailNotifications YES

# defaults write sogod SOGoLoginModule Calendar

# defaults write sogod SOGoSieveScriptsEnabled YES

# defaults write sogod SOGoSieveServer sieve://localhost:4190

# defaults write sogod SOGoVacationEnabled YES

# defaults write sogod SOGoMailMessageCheck every_5_minutes

# defaults write sogod SOGoFirstDayOfWeek 1

# defaults write sogod SOGoSuperUsernames '( "admin" )'

# defaults write sogod SOGoDraftsFolderName "INBOX.Drafts"

# defaults write sogod SOGoSentFolderName "INBOX.Sent"

# defaults write sogod SOGoTrashFolderName "INBOX.Trash"

# defaults write sogod NGImap4ConnectionStringSeparator "."

# exit

SOGo構成ファイルの構成:

# sed -i 's#yourhostname#your_domain#g' /etc/apache2/conf-available/SOGo.conf

# sed -i 's#"x-webobjects-server-port" "443"#"x-webobjects-server-port" "80"#' /etc/apache2/conf-available/SOGo.conf

# sed -i 's#https#http#' /etc/apache2/conf-available/SOGo.conf

SOGoを再起動します:

# service sogo restart

次に、お気に入りのブラウザを開いて、 http:// your_domain / SOGoに移動します。 。下の画像と同じページが表示されます:

それでおしまい。これで、Debian8VPSにSOGoが正常にインストールされました。

もちろん、Linux VPSホスティングサービスのいずれかを使用している場合は、これを行う必要はありません。その場合は、専門のLinux管理者にSOGoのインストールを依頼するだけです。 24時間年中無休でご利用いただけます。リクエストはすぐに処理されます。

PS。この投稿が気に入った場合は、左側のボタンを使用してソーシャルネットワーク上の友達と共有するか、下に返信を残してください。ありがとう。


Debian
  1. Debian11にGnomeをインストールする

  2. Debian – Debianの月光?

  3. Debian6VPSにSOGoをインストールする方法

  1. Debian7にGLPIをインストールする

  2. Debian8にosCommerceをインストールします

  3. DebianにExpressionEngineをインストールする

  1. Debian 10(バスター)のインストール方法

  2. FirefoxDebianのインストール

  3. Debian10にGitLabをインストールする