Skip to main content

Installation guide for Ubuntu 18.04 in PVE LXC (Community edition)

  • 請先使用Please PVEdownload 下載「"ubuntu-18.04-standard_18.04.1-1_amd64.tar.gz」的gz" LXC 範本。template in PVE

image-1592292782630.png

  • 建立一個新的「CT」,參考內容如下圖。Create a new CT using "Create CT" button

image-1592292882270.png

image-1592292961445.png

  • 重新開機後(大約Reboot 20and 秒就開完了),執行以下安裝指令:run the following commands to install needed programs and OxOOL Community edition
apt install vim openssh-server net-tools curl -y
apt update
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
mv ~/oxool.list /etc/apt/sources.list.d/
apt update
apt install oxool -y
  • 設定開機要啟動的服務Start OxOOL Community edition service when booting
systemctl enable oxool
reboot
  • 重新啟動主機,確認Reboot and check if OxOOL Community 正常啟動edition starts normally
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                
tcp6       0      0 :::9980                 :::*                    LISTEN      22383/oxool          

Congratulations and enjoy!