GitLab commands
Friday, March 29th, 2019
$ gitlab-ctl reconfigure
$ gitlab-ctl restart
$ gitlab-ctl reconfigure
$ gitlab-ctl restart
Vagrant.configure(“2”) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
config.vm.define “ansible” do |ansible|
ansible.vm.box = “centos/7”
ansible.vm.network “private_network”, ip: “192.168.10.10”
end
config.vm.define “host1” do |host1|
host1.vm.box = “centos/7”
host1.vm.network “private_network”, ip: “192.168.10.20”
end
$ ssh-keygen -t rsa # press enter on all prompts
$ ssh-copy-id
-i
~/.ssh/id_rsa[IP address]