¥ª¡¼¥×¥ó¥½¡¼¥¹¤Ê¤Î¤Ç»È¤Ã¤Æ¤ß¤¿ PostgreSQL, Apache, PHP, qmail, Courier-imap¤Ï¤¹¤Ç¤Ë¾¥Ú¡¼¥¸¤ò»²¹Í¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¢¤ë¤â¤Î¤È¤¹¤ë IMAP¥Ä¡¼¥ë¤Î¥¤¥ó¥¹¥È¡¼¥ë †PHP¤«¤éIMAP¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤è¤¦¥½¡¼¥¹¤Î¼èÆÀ imap-2002.RC8.tar.Z # 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 ¤òÆþ¤ì¤Æ¤ß¤è¤¦ PHP¤ÎºÆ¥¤¥ó¥¹¥È¡¼¥ë †# 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¤Î¥¤¥ó¥¹¥È¡¼¥ë †¥½¡¼¥¹¤òget http://www.leafnode.org/download.html # tar xvzf leafnode-2.0b8.tar.gz # cd leafnode-2.0b8 # ./configure # make # make install-strip phpGroupWare¥½¡¼¥¹¤ÎŸ³« †phpgroupware-0.9.14.000.tar.gz ¤ò¥À¥¦¥ó¥í¡¼¥É # 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 # 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 ¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎºîÀ® †# 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 ¥»¥Ã¥È¥¢¥Ã¥× †¥Ö¥é¥¦¥¶¤Ç 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 ¤ò¥¯¥ê¥Ã¥¯ ¤¢¤È¤Ï¥Æ¡¼¥Ö¥ëºîÀ®Åù½ç¤Ë¤³¤Ê¤·¤Æ´°Î» |