WebCalendar インストール
Google カレンダー、Windows Live on MSN や Yahoo!カレンダー などなどオンラインサービス系のスケジューラは、色んなところが手がけているかと思います。つい最近では、遅ればせながらのサイボウズLive なんていうのもあります。
オープンソースでサーバにインストールできるアプリはないかと探してみたら色々ありました。
その中の一つであるWebCalendar を インストールしてみた。
理由として、
・ユーザ以外にもカレンダーが公開できる。
・携帯にも対応している。
・icalフォーマットに対応したインポート・エクスポート機能が装備されている。
とりあえず、いじくってみたいという人は、公開元の online demo. (Login with username “demo” and password “demo”.) で
実際に操作してみてください。
では、インストール手順いってみる!
PHPのインストール
PHPをインストールについての記事 を参照にしてください。
MySQLのインストール
MySQLをインストールしたときの記事 を参照にしてください。
WebCaleandarのインストール
ソース取得
# wget http://sourceforge.net/projects/webcalendar/files/webcalendar%201.2/1.2.1/WebCalendar-1.2.1.tar.gz/download
ソース解凍
# tar -zxvf WebCalendar-1.2.1.tar.gz
データユーザ作成
# mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 70180 Server version: 5.1.46-community-log MySQL Community Server (GPL) Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL v2 license Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.mysql> grant all privileges on hogedb.* to hoge@localhost identified by 'hoge123'; Query OK, 0 rows affected (0.03 sec)
データベース作成
# mysql -u hoge -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 70208 Server version: 5.1.46-community-log MySQL Community Server (GPL) Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL v2 license Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> create database hogedb; Query OK, 1 row affected (0.03 sec)
インストール先へコピー
# cp -Rf WebCalendar-1.2.1 /home/hoge/yotei
所有者・パーミッション変更
# chown -R takeda-ts.takeda-ts takeda-ts-yotei/
# chmod 777 includes/
初期起動
“index.php” へアクセス
http://hoge.com/yotei/index.php
設定用のパスワードを設定し、「パスワード設定」押下
設定用のパスワードを入力し、「ログイン」押下
「次へ」押下
データベースの設定を入力し、「接続テスト」押下
「WebCalendar 起動」押下
インストール終了後、installディレクトリを削除、又は、パーミッションを変更
$ chmod 000 install
晴れて、インストール完了!!ヽ( ´¬`)ノ ワ~イ !!
設定の詳細については、参考サイト等を参考にしてください。(*- -)(*_ _)ペコリ
参考サイト:WebCalendar 日本語解説
関連記事:











コメントはまだありません。