755
Comment:
|
870
|
Deletions are marked like this. | Additions are marked like this. |
Line 11: | Line 11: |
1. Enable `contrib` section in `/etc/apt/sources.list`. `apt update && apt install gitlab` | 1. Enable `contrib` section in `/etc/apt/sources.list`. `apt update && apt install gitlab`. ''Note: when gitlab is broken in ustable, install from experimental following instructions given at [[gitlab]].'' |
# lxc-create -n gitlab -t debian -- -r unstable # lxc-start -n gitlab # lxc-attach -n gitlab
See LXC for more details on managing a container. The steps given below are available as an ansible playbook
Now inside the container,
Enable contrib section in /etc/apt/sources.list. apt update && apt install gitlab. Note: when gitlab is broken in ustable, install from experimental following instructions given at gitlab.
During installation, choose gitlab.lxc as the hostname
- Disable https in debconf wizard
After installation is complete, add ip address of container (ip a will list the ip address) in host machine's /etc/hosts to resolve gitlab.lxc. 192.168.122.104 gitlab.lxc # Change ip address
Visit http://gitlab.lxc on host browser