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

- Please download "ubuntu-18.04-standard\_18.04.1-1\_amd64.tar.gz" LXC template in PVE

[![93bf1621.png](https://docs.ossii.com.tw/uploads/images/gallery/2021-04/scaled-1680-/93bf1621.png)](https://docs.ossii.com.tw/uploads/images/gallery/2021-04/93bf1621.png)

- Create a new CT using "Create CT" button (please uncheck "Unprivileged container" for now, or you may encounter some weird issues)

[![30e26bf5.png](https://docs.ossii.com.tw/uploads/images/gallery/2021-04/scaled-1680-/30e26bf5.png)](https://docs.ossii.com.tw/uploads/images/gallery/2021-04/30e26bf5.png)

[![a424720c.png](https://docs.ossii.com.tw/uploads/images/gallery/2021-04/scaled-1680-/a424720c.png)](https://docs.ossii.com.tw/uploads/images/gallery/2021-04/a424720c.png)

[![d9980aac.png](https://docs.ossii.com.tw/uploads/images/gallery/2021-04/scaled-1680-/d9980aac.png)](https://docs.ossii.com.tw/uploads/images/gallery/2021-04/d9980aac.png)

- Reboot and run the following commands to install needed programs and OxOOL Community edition

```Shell
apt update
apt upgrade -y
apt install vim openssh-server net-tools curl gnupg2 -y
# Chooese yes if you get any service restarting prompts

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
```

- Start OxOOL Community edition service when booting

```Shell
systemctl enable oxool
reboot
```

- Reboot and check if OxOOL Community edition starts normally

```
netstat -tlnp
```

You should get some results like this:

```shell
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!

P. S. When steps above are finished, you can use "More"→"Convert to template" to generate new LXC template that contains OxOOL Community edition.