Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:devops [2016/07/16 01:17]
stwn [Gitlab] minor update
doc:devops [2016/10/04 00:58] (current)
stwn [Gitlab] +reconfigure
Line 28: Line 28:
 web_server['​username'​] = '​gitlab-www'​ web_server['​username'​] = '​gitlab-www'​
 web_server['​group'​] = '​gitlab-www'</​code>​ web_server['​group'​] = '​gitlab-www'</​code>​
-  - Restart ​Gitlab. <​code>​$ sudo gitlab-ctl restart</​code>​Use this command to see the log of Gitlab. <​code>​$ sudo gitlab-ctl tail</​code>​+  - Reconfigure and restart ​Gitlab. <​code>​$ sudo gitlab-ctl reconfigure 
 +$ sudo gitlab-ctl restart</​code>​Use this command to see the log of Gitlab. <​code>​$ sudo gitlab-ctl tail</​code>​
 ===== Gitlab-CI ===== ===== Gitlab-CI =====
  
 ===== Dokku ===== ===== Dokku =====
-  - Download ISO image of Ubuntu 14.04.4 and install ​it on virtual machine ​over KVM hypervisor+  - Download ISO image of Ubuntu 14.04.4and put it in a place which is accesible by Proxmox VE. Boot the virtual machine ​through the web-based management and follow the steps of the Ubuntu installer
-  - Configure ​network. <​code>/​etc/​network/​interfaces +  - Login to the Console of the web-based management or via SSH from your local computer/​laptop. ​Configure ​the interface of the Dokku server. <​code>​$ sudo nano /​etc/​network/​interfaces</​code>​Put these lines in that file.<​code>​iface eth0 inet static
-iface eth0 inet static+
       address 10.16.7.128       address 10.16.7.128
       netmask 255.255.248.0       netmask 255.255.248.0
       gateway 10.16.7.1       gateway 10.16.7.1
       dns-nameservers 10.16.7.1</​code>​       dns-nameservers 10.16.7.1</​code>​
-  - Edit sources.list file. <​code>​$ sudo nano /​etc/​apt/​sources.list</​code>​+  - Edit the sources.list file to configure the packages repository server. <​code>​$ sudo nano /​etc/​apt/​sources.list</​code>​
   - Update packages list and upgrade all packages. <​code>​$ sudo apt-get update   - Update packages list and upgrade all packages. <​code>​$ sudo apt-get update
 $ sudo apt-get upgrade</​code>​ $ sudo apt-get upgrade</​code>​
-  - Upgrade ​distribution. <​code>​$ sudo apt-get dist-upgrade</​code>​ +  - After that, upgrade the distribution. <​code>​$ sudo apt-get dist-upgrade</​code>​ 
-  - Download bootstrap.sh from Dokku. <​code>​$ wget https://​raw.githubusercontent.com/​dokku/​dokku/​v0.5.5/​bootstrap.sh</​code>​+  - Download bootstrap.sh ​script ​from Dokku repository. <​code>​$ wget https://​raw.githubusercontent.com/​dokku/​dokku/​v0.5.5/​bootstrap.sh</​code>​
   - Run the script. <​code>​$ sudo DOKKU_TAG=v0.5.5 bash bootstrap.sh</​code>​We need to relax waiting for this command to complete. It depends on the Internet connection. Please watch the network status of the server, if it has on going/​active traffic then the script must be working and we should be sit back while it really accomplishes its mission :D   - Run the script. <​code>​$ sudo DOKKU_TAG=v0.5.5 bash bootstrap.sh</​code>​We need to relax waiting for this command to complete. It depends on the Internet connection. Please watch the network status of the server, if it has on going/​active traffic then the script must be working and we should be sit back while it really accomplishes its mission :D
-  - Setup SSH key. Get public key from Gitlab server with our user in it, e.g. stwn.These commands should be run on Gitlab server.<​code>​$ ssh-keygen -t rsa+  - Setup SSH key pairs. Get the public key from Gitlab server with our user in it, e.g. stwn. These commands should be run on the Gitlab server.<​code>​$ ssh-keygen -t rsa
 $ cat .ssh/​id_rsa.pub</​code>​ $ cat .ssh/​id_rsa.pub</​code>​
-  - Visit local web configuration of Dokku in http://​dokku.server/​ and copy the content of the output of the last command to Public Key section.+  - Visit the local web configuration of Dokku in http://​dokku.server/​ and copy the content of the output of the previous ​last command to the Public Key section. 
 + 
 +===== Workflow ===== 
 + 
 
doc/devops.1468631863.txt.gz · Last modified: 2016/07/16 01:17 by stwn · [Old revisions]
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki