Skip to main content

Installation guide for CentOS 7 (Community edition)

    Please

  • 下載、安裝download and install the latest version of CentOS 7 最新版本(最新版本:2009 載點 MinimalDesktop)– 安裝 CentOS 可參考文件 [1] [2] [3]
建議請記得設定成固定 IP,可參考上述安裝文件
7.

  • Reboot rootand 重新登入後執行以下指令來更新、安裝相關的指令及login as root. Then run the following commands to install needed programs and OxOOL Community 套件edition
yum update -y
yum install vim net-tools unzip wget -y
cd /etc/yum.repos.d
wget http://www.oxoffice.com.tw/yum.repo/oxool-community.repo
yum update -y
yum groupinstall "OxOOL Community Group" -y
  • 關閉Turn off SELinux
vim /etc/selinux/config # vimYou 可代換成任何您慣用的文字編輯器can choose any preferred text editor to edit this file
# 尋找Search "SELinux=enforcingenforcing" 此行並將line, enforcingand 改為change disabled"enforcing" to permissive"disabled" 並存檔離開or "permissive" then save and quit
  • 設定Configure firewalld 並開啟預設的and open the default 9980 port
firewall-cmd --zone=public --permanent --add-service=http
firewall-cmd --zone=public --permanent --add-port=9980/tcp
  • 設定開機要啟動的服務Start OxOOL Community edition service when booting
systemctl enable oxool
reboot
  • 重新啟動主機,重新使用Reboot, rootlogin 登入並確認as root, and check if OxOOL Community 正常啟動edition starts normally
netstat -tlnp

結果如下:You should get some results like this:

tcp      0    0    127.0.0.1:9981	  0.0.0.0:*	LISTEN   644/oxoolwsdoxool
tcp6     0    0    :::9980		      :::*   	LISTEN   644/oxoolwsdoxool

如果出現以上的結果,代表架設成功囉!Congratulations and enjoy!

附註:如果要與 Nextcloud 檔案儲存服務整合,請參考 Nextcloud 16 架設教學Nextcloud 18 架設教學