1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CentOS6にサイボウズ Office 10デモ版をインストール

Last updated at Posted at 2014-11-04

サイボウズ Office 10の動作環境の注意

  • 必要なミドルウェアのはapacheだけ。
    • cgiで動作します。
    • 64bitOSを使用している場合、ld-linux.so.2を別途インストールのこと。
    • CentOS7では提供されていないためインストールが出来ない。
  • PATH情報が含まれるファイルは以下。
    • /var/www/cgi-bin/cbag/ag.ini
    • /var/local/cybozu/office/cbag/sched.ini

インストール概要

Dockerfile
from centos:centos6

RUN \
  unlink /etc/localtime ;\
  ln -s /usr/share/zoneinfo/Japan /etc/localtime ;\
  localedef -f UTF-8 -i ja_JP ja_JP.UTF-8 ;\
  echo "setup" ;\
  yum install -y tar wget httpd ld-linux.so.2 ;\
  cd /tmp ;\
  wget -q http://download.cybozu.co.jp/office10/cbof-10.2.0-linux-k0.bin ;\
  service httpd start ;\
  sh cbof-10.2.0-linux-k0.bin ;\
  rm -f cbof-10.2.0-linux-k0.bin ;\
  service httpd stop ;\
  yum clean all

EXPOSE 80
ENTRYPOINT service httpd start && tail -F /var/log/httpd/*log

これでインストールが出来るかと思ったが、

sh cbof-10.2.0-linux-k0.bin

ここの入力待ちで先に進まないので手動で進めた。

コミット -> tar化

$ docker commit -a "tukiyo3 <tukiyo3@gmail.com>" 3672ce59e2e3 private/cybozu10
$ docker save -o cybozu10.tar private/cybozu10
  • http://server-ip/cgi-bin/cbag/ag.cgiにアクセスしてログインできることを確認。
    • 初期ユーザのパスワードは空です。

スマホから操作

  • Cybozu ガルーンを使用する。
    • アクセスURLは http://server-ip/cgi-bin/cbag/ag.cgi を指定する。
    • サイボウズ側でのアクセスするための準備は以下の手順
      1. 右上の歯車アイコンをクリック -> システム設定 -> ユーザ -> 変更する -> ログイン名 と パスワード を設定。

メールサーバ登録

  • トップページ -> システム設定(基本)-> メールサーバーの登録 -> 追加する

Basic認証対応

  • サイボウズクナイは以下注意
    1. Basic認証なしでログインし設定を済ませる。
    2. Basic認証ありでログインし設定を済ませると、syncできなくなる。
    3. その場合はサイボウズクナイをアンインストールし再度インストールすればよい。
認証ファイルを作成
htpasswd -c /var/www/htpasswd user1
/etc/httpd/conf/httpd.conf
<Directory "/var/www/cgi-bin">
    ...
    AuthType Basic
    AuthName "Secret Zone"
    AuthUserFile /var/www/htpasswd
    Require user user1
    ...
</Directory>
service httpd restart

デスクトップ通知

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?