Skip to main content

Installation guide for CentOS 7 in PVE LXC (Community edition)

  • 請先使用Please PVE 下載downloadcentos-7-default_20190926_amd64.tar.xz」LXC 範本。template in PVE

image-1592291177864.png

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

image-1592291421110.png

image-1592291560250.png

  • 重新開機後(大約Reboot 10and 秒就開完了),執行以下安裝指令:login as root. Then run the following commands to install needed programs and OxOOL Community edition
yum install vim openssh* net-tools unzip wget -y
cd /etc/yum.repos.d
wget --no-check-certificate https:http://demo.www.oxoffice.com.tw/yum.repo/oxool-community.repo
yum update -y
yum groupinstall "OxOOL Community Group" -y
  • 設定開機要啟動的服務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:

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      1049/oxool          
tcp6       0      0 :::9980                 :::*                    LISTEN      1049/oxool  

Congratulations and enjoy!