科技

2012年2月13日 星期一

GroupOffice install(Linux)

首先去官方網站



到 sourceforge.net  download groupoffice-com-3.02-stable-9.tar.gz  (7/27)

  後來才看到有最新版groupoffice-com-3.02-stable-14.tar.gz  並download 人數是零


解壓縮並把裏面 INSTALL.TXT打開  

他會指引我們去http://www.group-office.com/wiki/Installation




但先必須確定 Apache MySQL PHP 是否都裝好了(圖1為group office 的系統需求)

install database server :  sudo apt-get install mysql-server-5.0
install apache http server: sudo apt-get apache2
install php5 and apache php5 module: sudo apt-get install php5 libapache2-mod-php5

再加上: alt+f2  並輸入 gksu nautilus
restart apache: sudo /etc/inti.d/apache2 restart





再來才裝group office

1.etc/apt/sources.list
第3方軟體中加入
 deb http://repos.groupoffice.eu/ binary/
2.開終端機 並輸入 sudo apt-get update
再輸入apt-get install groupoffice-com groupoffice-mailserver groupoffice-servermanager



{
當做完這些後 哪我的group office 要在哪裡開 怎麼開啟
INSTALL.TXT 說把group office 用browser 連他所在的 url

 可是資料夾裏面的檔 (解壓縮後的檔案)都是.php

開啟都不能不能開啟  用 文字編輯器看也只是一堆php的語法

搞不清楚(卡了半天  看了很多大陸及英文網站有關安裝方法)

其中一個英文論壇的人 http://www.group-office.com/forum/viewtopic.php?t=4413

似乎也遇到同一個問題 但後來他過一個小時他自己又打了一篇
~~I think I figured out the problem. My unzip program did not upzip all the files and the only thing that copied up to the server was the "classes" directory. I guess my first tip-off should have been the 404 error.~~

看了這段我也以為我沒解壓縮好 但這個還是沒解決我的問題

後來又重灌了 apache php mysql

接著找到一個網站也是講安裝的

Unpack the tar archive:
# cd /var/www
# tar zxf groupoffice-com-3.01-stable-2.tar.gz
# mv groupoffice-3.01-stable-2 groupoffice
Create a directory for the Group-Office protected user files:
# mkdir /home/groupoffice
# chown www-data:www-data /home/groupoffice
Create a directory for the Group-Office public files:
# mkdir /var/www/local
# chown www-data:www-data /var/www/local

必須要有權限才可以做

但後來又失敗了

又看了一下網路上的人說把group office 放appser下 在讀取group office的url

可是找不到那路徑  後來知道appser是windows並找到appche2 但又有權限問題

 把檔案移入appche2裡  讀取它的url還是不行

打http://localhost 連不上去  心想是不是apache 沒裝好



}

亂試 打 http://localhost/groupoffice(耗時約7個小時 可以用)

可以登入 和使用模組功能了!

目前還在研究e mail 此模組的設定

http://www.group-office.com/wiki/Mailserver

在終端機下
輸入
1.cd /etc/groupoffice

2.sudo vi config.php

3.加上這一行$config['postfixadmin_autoreply_domain']="autoreply.example.com";儲存並離開

4.cd /etc/postfix

5.sudo vi main.cf

6.加上  # postconf -e 'myhostname = mx-1.example.com'
# postconf -e 'smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)'
# postconf -e 'biff = no'
# postconf -e 'append_dot_mydomain = no'
# postconf -e 'myorigin = example.com'
# postconf -e 'mydestination = $myhostname, localhost, localhost.localdomain'
# postconf -e 'mynetworks = 127.0.0.0/8'
# postconf -e 'recipient_delimiter = +'
# postconf -e 'inet_interfaces = all'
# postconf -e 'proxy_read_maps = $local_recipient_maps $mydestination \
$virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps \
$virtual_mailbox_domains $relay_recipient_maps $relay_domains \
$canonical_maps $sender_canonical_maps $recipient_canonical_maps \
$relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps'

# postconf -e 'smtpd_recipient_restrictions = \
permit_mynetworks, \
reject_unauth_destination, \
reject_rbl_client zen.spamhaus.org, \
permit'
# postconf -e 'message_size_limit=52428800'
# postconf -e 'mailbox_size_limit=0'

儲存並離開
/usr/share/doc/dovecot-common/wiki




主要參考資料:
http://en.wikipedia.org/wiki/Group-Office
http://www.group-office.com/wiki/Installation
http://www.group-office.com/forum/viewtopic.php?t=4413
http://www.howtoforge.com/groupware-server-with-group-office-postfix-dovecot-spamassassin-on-debian-lennyfile:///homefile:///home/fred/%25E6%25A1%258C%25E9%259D%25A2/email.flv/fred/%25E6%25A1%258C%25E9%259D%25A2/email.flv
http://docs.group-office.com/Administrator/Group-Office+installationv
http://www.google.com.tw/search?hl=zh-TW&q=group+office+%E5%AE%89%E8%A3%9D&sourceid=navclient-ff&rlz=1B5_____zh-TWTW335TW335&ie=UTF-8

community 和professional 版本比較

Feature

CommunityProfessional
AddressbookYesYes
E-mailYesYes
CalendarYesYes
TasksYesYes
NotesYesYes
WebsitesYesYes
File sharingYesYes
ProjectsNoYes
Custom e-mail templatesNoYes
Newsletters and Addresslists moduleNoYes
Custom fields for addressbook and projectsNoYes
Synchronization with Outlook, PDA, SmartphoneNoYes
Group-Office Transfer Agent (Edit documents directly in GO)NoYes






沒有留言:

張貼留言