在 Ubuntu 18.04 PVE LXC 環境下安裝(社群版)

image-1592292782630.png

8d44c28a.png

5fd99f76.png

df65e257.png

apt update
apt upgrade -y
apt install vim openssh-server net-tools curl gnupg2 -y
# 如果有重新啟動服務的提示,請選擇 yes 即可

curl http://www.oxoffice.com.tw/apt/ubuntu/oxool-deb.key | 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 oxoffice* -y
systemctl enable oxool
reboot
netstat -tlnp

結果如下:

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          

備註:執行完以上步驟後,可使用「更多」→「轉換成範本」來生成包含 OxOOL 社群版的 LXC 範本。


Revision #7
Created 16 June 2020 07:28:59 by kevin
Updated 6 April 2021 03:41:08 by Jeff Huang