Skip to main content

Installation guide for Ubuntu 18.04 (Community edition)

    Please

    下載、安裝download and install the latest version of Ubuntu 18.04 最新的版本(64 位元 Server 版最新版本:下載點,也可以使用 Desktop 的 64 位元版本),安裝方式參考 [1][2][3]
    建議設定成固定 IP,可參考上述安裝文件 [3]
    04.
    • 以一般Reboot Userand 重新登入後執行以下指令來更新、安裝相關指令及login as a normal user. Then run the following commands to install needed programs and OxOOL Community 套件edition

    sudo apt install vim openssh-server net-tools curl -y
    sudo apt update
    sudo apt upgrade -y
    # 如果有重新啟動服務的提示,請選擇Chooese yes 即可if you get any service restarting prompts
    
    curl http://www.oxoffice.com.tw/apt/ubuntu/oxool-deb.key | sudo apt-key add
    echo "deb [arch=amd64] http://www.oxoffice.com.tw/apt/ubuntu/ oxool-v3 main" > ~/oxool.list
    sudo mv ~/oxool.list /etc/apt/sources.list.d/
    sudo apt update
    sudo apt install oxool -y
    • 設定開機要啟動的服務Start OxOOL Community edition service when booting
    sudo systemctl enable oxool
    sudo reboot
    • 重新啟動主機,重新使用Reboot, rootlogin 登入並確認as a normal user, and check if OxOOL Community 正常啟動edition starts normally
    sudo netstat -tlnp

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

    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
    tcp        0      0 127.0.0.1:9981          0.0.0.0:*               LISTEN      22383/oxool               
    tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      6523/systemd-resolv 
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      4389/sshd           
    tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      2575/master         
    tcp6       0      0 :::9980                 :::*                    LISTEN      22383/oxool         tcp6       0      0 :::22                   :::*                    LISTEN      4389/sshd           
    tcp6       0      0 ::1:25                  :::*                    LISTEN      2575/master

    Congratulations and enjoy!

    上述流程感謝Thanks to Franklin (from ezgo 團隊的team) Franklinto 協助提供~provide installation guide for Ubuntu!

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