Differences between revisions 4 and 5
Revision 4 as of 2019-05-08 08:49:47
Size: 755
Editor: Praveen A
Comment:
Revision 5 as of 2019-09-19 10:04:00
Size: 870
Editor: Praveen A
Comment:
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,

  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.

  2. During installation, choose gitlab.lxc as the hostname

  3. Disable https in debconf wizard
  4. 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

  5. Visit http://gitlab.lxc on host browser