phpGroupWareでグループウェア
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
オープンソースなので使ってみた
PostgreSQL, Apache, PHP, qmail, Courier-imapはすでに他ペ...
*IMAPツールのインストール [#g7a51a8a]
PHPからIMAPをサポートするようソースの取得 imap-2002.RC8.t...
ftp://ftp.cac.washington.edu/imap/
# uncompress -c imap-2002.RC8.tar.Z | tar xvf - (uncompr...
# cd imap-2002.RC8
# make lrh
security/pam_appl.h が無いといわれたら pam と pam-devel ...
まだ足りないときは db4 を入れる
*PHPの再インストール [#b29248f1]
# cd ../php-4.2.2
# make distclean
# ./configure --with-pgsql --enable-track-vars --with-ap...
# --enable-trans-sid --enable-mbstring --enable-mbstr-en...
# make
# make install
*Leafnodeのインストール [#a7d3c6d6]
ソースをget http://www.leafnode.org/download.html
# tar xvzf leafnode-2.0b8.tar.gz
# cd leafnode-2.0b8
# ./configure
# make
# make install-strip
*phpGroupWareソースの展開 [#f49a9400]
phpgroupware-0.9.14.000.tar.gz をダウンロード~
http://www.phpgroupware.org/downloads/
# tar xvzf phpgroupware-0.9.14.000.tar.gz
# cp -pr phpgroupware /usr/local/apache/htdocs
phpgw_email_0.9.14.jp.tar.gz と phpgw_calendar_0.9.14.jp....
http://www.itheart.com/phpgw/jpdl.html
# cd /usr/local/src
# tar xvzf phpgw_email_0.9.14.jp.tar.gz
# cp ./0.9.14.jp/phpgwapi/inc/class.codecv* /usr/local/a...
# cd /usr/local/apache/htdocs
# patch -p0 < /usr/local/src/patch.txt
# cd /usr/local/src
# tar xvzf phpgw_calendar_0.9.14.jp.tar.gz
# cp ./0.9.14.jp/calendar/inc/class.* /usr/local/apache/...
# cp ./0.9.14.jp/calendar/setup/* /usr/local/apache/htdo...
# mkdir -p /usr/local/apache/htdocs/phpgroupware/files/u...
# mkdir -p /usr/local/apache/htdocs/phpgroupware/files/g...
# chown -R nobody:nobody /usr/local/apache/htdocs/phpgro...
# chmod -R 700 /usr/local/apache/htdocs/phpgroupware/files
# chown :nobody /usr/local/apache/htdocs/phpgroupware
# chmod 770 /usr/local/apache/htdocs/phpgroupware
*データベースの作成 [#rac41461]
# su - postgres
$ createuser -P
Enter name of user to add: phpgroupware
Enter password for user "phpgroupware":
Enter it again:
Shall the new user be allowed to create databases? (y/n) y
Shall the new user be allowed to create more new users? ...
$ createdb -U phpgroupware phpgroupware
TCP/IP接続を許可する
# vi /usr/local/pgsql/data/postgresql.conf
#tcpip_socket = false -> tcpip_socket = true
# su - postgres
$ pg_ctl stop
$ pg_ctl -w start
*セットアップ [#kec454fb]
ブラウザで http://example.com/phpgroupware/setup へアクセス
ServerRoot -> /usr/local/apache/htdocs/phpgroupware
Include Root -> /usr/local/apache/htdocs/phpgroupware
Admin password to header manager -> header.inc.php を編...
DB Host -> localhost
DB Name -> phpgroupware
DB User -> phpgroupware
DB Password -> データベース作成の際に設定したパスワード
DB Type -> pgsql
Configuration Password -> 環境設定をする場合のパスワード
write config をクリック
あとはテーブル作成等順にこなして完了
#exlink
終了行:
オープンソースなので使ってみた
PostgreSQL, Apache, PHP, qmail, Courier-imapはすでに他ペ...
*IMAPツールのインストール [#g7a51a8a]
PHPからIMAPをサポートするようソースの取得 imap-2002.RC8.t...
ftp://ftp.cac.washington.edu/imap/
# uncompress -c imap-2002.RC8.tar.Z | tar xvf - (uncompr...
# cd imap-2002.RC8
# make lrh
security/pam_appl.h が無いといわれたら pam と pam-devel ...
まだ足りないときは db4 を入れる
*PHPの再インストール [#b29248f1]
# cd ../php-4.2.2
# make distclean
# ./configure --with-pgsql --enable-track-vars --with-ap...
# --enable-trans-sid --enable-mbstring --enable-mbstr-en...
# make
# make install
*Leafnodeのインストール [#a7d3c6d6]
ソースをget http://www.leafnode.org/download.html
# tar xvzf leafnode-2.0b8.tar.gz
# cd leafnode-2.0b8
# ./configure
# make
# make install-strip
*phpGroupWareソースの展開 [#f49a9400]
phpgroupware-0.9.14.000.tar.gz をダウンロード~
http://www.phpgroupware.org/downloads/
# tar xvzf phpgroupware-0.9.14.000.tar.gz
# cp -pr phpgroupware /usr/local/apache/htdocs
phpgw_email_0.9.14.jp.tar.gz と phpgw_calendar_0.9.14.jp....
http://www.itheart.com/phpgw/jpdl.html
# cd /usr/local/src
# tar xvzf phpgw_email_0.9.14.jp.tar.gz
# cp ./0.9.14.jp/phpgwapi/inc/class.codecv* /usr/local/a...
# cd /usr/local/apache/htdocs
# patch -p0 < /usr/local/src/patch.txt
# cd /usr/local/src
# tar xvzf phpgw_calendar_0.9.14.jp.tar.gz
# cp ./0.9.14.jp/calendar/inc/class.* /usr/local/apache/...
# cp ./0.9.14.jp/calendar/setup/* /usr/local/apache/htdo...
# mkdir -p /usr/local/apache/htdocs/phpgroupware/files/u...
# mkdir -p /usr/local/apache/htdocs/phpgroupware/files/g...
# chown -R nobody:nobody /usr/local/apache/htdocs/phpgro...
# chmod -R 700 /usr/local/apache/htdocs/phpgroupware/files
# chown :nobody /usr/local/apache/htdocs/phpgroupware
# chmod 770 /usr/local/apache/htdocs/phpgroupware
*データベースの作成 [#rac41461]
# su - postgres
$ createuser -P
Enter name of user to add: phpgroupware
Enter password for user "phpgroupware":
Enter it again:
Shall the new user be allowed to create databases? (y/n) y
Shall the new user be allowed to create more new users? ...
$ createdb -U phpgroupware phpgroupware
TCP/IP接続を許可する
# vi /usr/local/pgsql/data/postgresql.conf
#tcpip_socket = false -> tcpip_socket = true
# su - postgres
$ pg_ctl stop
$ pg_ctl -w start
*セットアップ [#kec454fb]
ブラウザで http://example.com/phpgroupware/setup へアクセス
ServerRoot -> /usr/local/apache/htdocs/phpgroupware
Include Root -> /usr/local/apache/htdocs/phpgroupware
Admin password to header manager -> header.inc.php を編...
DB Host -> localhost
DB Name -> phpgroupware
DB User -> phpgroupware
DB Password -> データベース作成の際に設定したパスワード
DB Type -> pgsql
Configuration Password -> 環境設定をする場合のパスワード
write config をクリック
あとはテーブル作成等順にこなして完了
#exlink
ページ名: