This describes on how to install a RedMine server within an LXC container.
Presuming LXC is already installed.
Create container type from selection out of list which is downloaded.
lxc-create -n redmine -t download
For this example we selection ubuntu, focal, amd64
.
Make the the LXC container run at start by changing or adding the following to
the file /var/lib/lxc/redmine/config
.
# Enable auto start of this container.
lxc.start.auto = 1
# Delay start this container 45 seconds from when the host starts.
lxc.start.delay = 45
To get hold of the containers console (root) execute the following.
lxc-attach -n redmine
Make the shell use colors by modifying the .bashrc
and uncomment the line #force_color_prompt=yes
Install the needed packages for easy use of commend line (bash-completion
) and an editor (joe
) or any other.
apt install bash-completion mc joe
Install a RedMine server required packages.
apt install mysql-server mysql-client
See: RedMine Installation