Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
Installing Java is done as follows:
Code Block | ||
---|---|---|
| ||
sudo apt-get install software-properties-common -y |
...
sudo add-apt-repository ppa:webupd8team/java -y |
...
sudo apt-get update |
...
sudo apt-get install oracle-java8-installer oracle-java8-set-default -y |
If you would like your containers to be automatically started on boot, you'll need to add the following line to /var/lib/lxc/NAME/config
, where NAME is your container's name. By the way, on my system the /var/lib/lxc
directory is only accessible by root.
...