Installation guide for CentOS 7 in PVE LXC (Community edition)
請先使用PleasePVE 下載「download「centos-7-default_20190926_amd64.tar.xz」的LXC範本。template in PVE
建立一個新的「CT」,參考內容如下圖。Create a new CT using "Create CT" button
重新開機後(大約Reboot10and秒就開完了),執行以下安裝指令: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!