Tips

CalDAV / DAViCALの構築 クライアントツールの使い方(3)

クライアントツールの使い方(3)

さまざまなDAViCALクライアント

今回は、「PHP iCalendar」を用いたCalDAVサーバとの連携した例を紹介します。
「PHP iCalendar」は、フリーソフトでPHP言語を使って動作するホームページ上のカレンダーとなります。

(1)「PHP iCalendar」のインストール

※「PHP iCalendar」のURL
http://phpicalendar.net/

まず「PHP iCalendar」をダウンロードします。

# cd /usr/local/src/ ← 「/usr/local/src/」ディレクトリに移動

# wget http://jaist.dl.sourceforge.net/sourceforge/phpicalendar/phpicalendar2.31.tgz ← ソースコードをダウンロード
–2012-10-09 14:36:23– http://jaist.dl.sourceforge.net/sourceforge/phpicalendar/phpicalendar2.31.tgz
jaist.dl.sourceforge.net をDNSに問いあわせています… 150.65.7.130
jaist.dl.sourceforge.net|150.65.7.130|:80 に接続しています… 接続しました。
HTTP による接続要求を送信しました、応答を待っています… 302 Found
場所: http://downloads.sourceforge.net/sourceforge/phpicalendar/phpicalendar2.31.tgz?download&failedmirror=jaist.dl.sourceforge.net [続く] –2012-10-09 14:36:24– http://downloads.sourceforge.net/sourceforge/phpicalendar/phpicalendar2.31.tgz?download&failedmirror=jaist.dl.sourceforge.net
downloads.sourceforge.net をDNSに問いあわせています… 216.34.181.59
downloads.sourceforge.net|216.34.181.59|:80 に接続しています… 接続しました。
HTTP による接続要求を送信しました、応答を待っています… 301 Moved Permanently
場所: http://downloads.sourceforge.net/project/phpicalendar/phpicalendar/phpicalendar2.31/phpicalendar2.31.tgz?download=&failedmirror=jaist.dl.sourceforge.net [続く] –2012-10-09 14:36:24– http://downloads.sourceforge.net/project/phpicalendar/phpicalendar/phpicalendar2.31/phpicalendar2.31.tgz?download=&failedmirror=jaist.dl.sourceforge.net
downloads.sourceforge.net:80 への接続を再利用します。
HTTP による接続要求を送信しました、応答を待っています… 302 Found
場所: http://nchc.dl.sourceforge.net/project/phpicalendar/phpicalendar/phpicalendar2.31/phpicalendar2.31.tgz [続く] –2012-10-09 14:36:25– http://nchc.dl.sourceforge.net/project/phpicalendar/phpicalendar/phpicalendar2.31/phpicalendar2.31.tgz
nchc.dl.sourceforge.net をDNSに問いあわせています… 211.79.60.17
nchc.dl.sourceforge.net|211.79.60.17|:80 に接続しています… 接続しました。
HTTP による接続要求を送信しました、応答を待っています… 200 OK
長さ: 346602 (338K) [application/x-gzip] `phpicalendar2.31.tgz’ に保存中

100%[===================================================================================>] 346,602 84.2K/s 時間 4.0s

2012-10-09 14:36:29 (84.2 KB/s) – `phpicalendar2.31.tgz’ へ保存完了 [346602/346602]

ダウンロードしたファイルを解凍し、ドキュメントディレクトリへ移動します。

# tar xfz phpicalendar2.31.tgz ← ソースコードを解凍

# chown apache.apache -R phpicalendar2.31 ← 所有権・所有グループの権限を変更

# mv phpicalendar2.31/phpicalendar /usr/local/apache2/htdocs/phpical ← 「phpicalendar」ディレクトリをドキュメントルートに移動

# cd /usr/local/apache2/htdocs/phpical ← 「/usr/local/apache2/htdocs/phpical」ディレクトリへ移動

Linux認定資格 LPICを取るなら・・

Linux資格 「LPIC Lv1」徹底解説 連載目次

Recent News

Recent Tips

Tag Search