phpGroupWareでグループウェア
の編集
https://yassu.jp/pukiwiki/index.php?phpGroupWare%A4%C7%A5%B0%A5%EB%A1%BC%A5%D7%A5%A6%A5%A7%A5%A2
[
トップ
] [
編集
|
差分
|
履歴
|
添付
|
リロード
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
-- 雛形とするページ --
(no template pages)
オープンソースなので使ってみた PostgreSQL, Apache, PHP, qmail, Courier-imapはすでに他ページを参考にインストールしてあるものとする *IMAPツールのインストール [#g7a51a8a] PHPからIMAPをサポートするようソースの取得 imap-2002.RC8.tar.Z~ ftp://ftp.cac.washington.edu/imap/ # uncompress -c imap-2002.RC8.tar.Z | tar xvf - (uncompress が使えないときは ncompress-4.2.4-31.i386.rpm 要) # 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-apxs=/usr/local/apache/bin/apxs \ # --enable-trans-sid --enable-mbstring --enable-mbstr-enc-trans --with-imap=../imap-2002.RC8 # 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.tar.gz をget~ 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/apache/htdocs/phpgroupware/phpgwapi/inc # 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/htdocs/phpgroupware/calendar/inc # cp ./0.9.14.jp/calendar/setup/* /usr/local/apache/htdocs/phpgroupware/calendar/setup # mkdir -p /usr/local/apache/htdocs/phpgroupware/files/users # mkdir -p /usr/local/apache/htdocs/phpgroupware/files/groups # chown -R nobody:nobody /usr/local/apache/htdocs/phpgroupware/files # 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? (y/n) n $ 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.tar.Z~ ftp://ftp.cac.washington.edu/imap/ # uncompress -c imap-2002.RC8.tar.Z | tar xvf - (uncompress が使えないときは ncompress-4.2.4-31.i386.rpm 要) # 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-apxs=/usr/local/apache/bin/apxs \ # --enable-trans-sid --enable-mbstring --enable-mbstr-enc-trans --with-imap=../imap-2002.RC8 # 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.tar.gz をget~ 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/apache/htdocs/phpgroupware/phpgwapi/inc # 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/htdocs/phpgroupware/calendar/inc # cp ./0.9.14.jp/calendar/setup/* /usr/local/apache/htdocs/phpgroupware/calendar/setup # mkdir -p /usr/local/apache/htdocs/phpgroupware/files/users # mkdir -p /usr/local/apache/htdocs/phpgroupware/files/groups # chown -R nobody:nobody /usr/local/apache/htdocs/phpgroupware/files # 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? (y/n) n $ 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
テキスト整形のルールを表示する