<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>gitlab Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/gitlab/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sun, 10 Jan 2021 20:11:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>Install Gitlab CE on Ubuntu 20.04</title>
		<link>https://www.osradar.com/install-gitlab-ce-ubuntu-20-04/</link>
					<comments>https://www.osradar.com/install-gitlab-ce-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 14 Jan 2021 00:10:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[gitlab]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=27563</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you&#8217;ll learn how to install Gitlab CE in Ubuntu 20.04. This way you&#8217;ll be able to deploy a repository hosting platform that you can manage yourself. If we think of a website to host our git repositories, the first thing that comes to mind is Github but the truth is [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-gitlab-ce-ubuntu-20-04/">Install Gitlab CE on Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p><strong>Hello, friends. In this post, you&#8217;ll learn how to install Gitlab CE in Ubuntu 20.04. This way you&#8217;ll be able to deploy a repository hosting platform that you can manage yourself.</strong></p>



<p>If we think of a website to host our git repositories, the first thing that comes to mind is Github but the truth is that every day more and more projects have been created with Gitlab.</p>



<p><a href="https://about.gitlab.com/" target="_blank" rel="noreferrer noopener">Gitlab</a> is an application designed for the management of the software that is created. This management includes a follow up of the code thanks to Git but also DevOps tools.</p>



<p>Without a doubt, to give an idea of what GitLab is, the fastest way would be to compare it with one of its competitors, GitHub, as the latter is especially well known in the world of software development. However, little by little, it has managed to go even further, offering a wider range of services that will delight not only developers but also DevOps.</p>



<p>You can choose to use the service directly on the project&#8217;s website or you can download it to your servers and manage it yourself. Ideal for companies that want to have even more precise control of the software they develop.</p>



<h2>Install Gitlab CE on Ubuntu 20.04</h2>



<p>The installation is quite simple but requires some preconditions:</p>



<ul><li>A recent installation of Ubuntu 20.04</li><li>A registered domain name</li><li>You need a user who has permission to use sudo.</li></ul>



<p>So let&#8217;s get started.</p>



<p>Open a terminal or connect to your server using <a href="https://www.osradar.com/install-snowflake-ssh-client-ubuntu-20-04/" target="_blank" rel="noreferrer noopener">SSH</a> and update the system:</p>



<pre class="wp-block-preformatted">sudo apt update<br>sudo apt upgrade</pre>



<p>And then install some necessary packages:</p>



<pre class="wp-block-preformatted">sudo apt install ca-certificates curl openssh-server postfix</pre>



<p><strong>Note: If you want to use another solution to send emails, you can skip the Postfix package.</strong></p>



<p>If you have installed Postfix, during the installation you will be asked to configure it. Choose <strong>Internet Site</strong> in this step</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2021/01/1-4-1024x506.png" alt="1.- Configuring Postfix" class="wp-image-27618" srcset="https://www.osradar.com/wp-content/uploads/2021/01/1-4-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/1-4-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/1-4-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/1-4-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/1-4-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/1-4.png 1362w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Configuring Postfix</figcaption></figure>



<p>And in the next one choose your domain name as indicated on the screen output.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="488" src="https://www.osradar.com/wp-content/uploads/2021/01/2-6-1024x488.png" alt="2.- Configuring Postfix with your domain" class="wp-image-27619" srcset="https://www.osradar.com/wp-content/uploads/2021/01/2-6-1024x488.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/2-6-300x143.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/2-6-768x366.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/2-6-696x332.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/2-6-1068x509.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/2-6.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Configuring Postfix with your domain</figcaption></figure>



<p>Then you have to download the installation script. For this, you can use <a href="https://www.osradar.com/the-wget-command/" target="_blank" rel="noreferrer noopener">the wget command</a>.</p>



<pre class="wp-block-preformatted">wget https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh
--2021-01-09 22:18:35--  https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh
 Resolving packages.gitlab.com (packages.gitlab.com)… 2600:1f1c:2d4:8900:17a1:2e94:9f90:f91e, 54.153.54.194
 Connecting to packages.gitlab.com (packages.gitlab.com)|2600:1f1c:2d4:8900:17a1:2e94:9f90:f91e|:443… connected.
 HTTP request sent, awaiting response… 200 OK
 Length: 5933 (5.8K) [text/install_instructions]
 Saving to: ‘script.deb.sh’
 script.deb.sh                              100%[=====================================================================================>]   5.79K  --.-KB/s    in 0s      
 2021-01-09 22:18:35 (2.06 GB/s) - ‘script.deb.sh’ saved [5933/5933]</pre>



<p>Now you need to run it:</p>



<pre class="wp-block-preformatted">sudo bash script.deb.sh
Detected operating system as Ubuntu/focal.
 Checking for curl…
 Detected curl…
 Checking for gpg…
 Detected gpg…
 Running apt-get update… done.
 Installing apt-transport-https… done.
 Installing /etc/apt/sources.list.d/gitlab_gitlab-ce.list…done.
 Importing packagecloud gpg key… done.
 Running apt-get update… done.
 The repository is setup! You can now install packages.</pre>



<p>By adding the Gitlab repository, you can start the installation. To do this you have to add the domain you have. And to set it up as HTTPS the installer will automatically download and install a Let&#8217;s Encrypt certificate. For this example, I will use my test domain, remember to change it to yours.</p>



<pre class="wp-block-preformatted">sudo EXTERNAL_URL="https://angtest.ga" apt-get install gitlab-ce</pre>



<p>Then it will start the whole installation process which can take a few minutes according to the power of your server. Please be patient.</p>



<p>At the end you will see the following output on the screen:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="898" height="596" src="https://www.osradar.com/wp-content/uploads/2021/01/3-5.png" alt="3.- Gitlab installed on Ubuntu 20.04" class="wp-image-27620" srcset="https://www.osradar.com/wp-content/uploads/2021/01/3-5.png 898w, https://www.osradar.com/wp-content/uploads/2021/01/3-5-300x199.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/3-5-768x510.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/3-5-696x462.png 696w" sizes="(max-width: 898px) 100vw, 898px" /><figcaption>3.- Gitlab installed on Ubuntu 20.04</figcaption></figure>



<p>Now we can verify the installation.</p>



<h3>Access to Gitlab on Ubuntu 20.04</h3>



<p>Now go to the address you specified in the Gitlab installation and you will see the change password screen. Here you have to set the initial password for the root user.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2021/01/4-3-1024x506.png" alt="4.- Creating the root user with the password" class="wp-image-27621" srcset="https://www.osradar.com/wp-content/uploads/2021/01/4-3-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/4-3-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/4-3-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/4-3-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/4-3-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/4-3.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>4.- Creating the root user with the password</figcaption></figure>



<p>Then you will see the login screen where you can log in with the <strong>root</strong> user and the previously defined password.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2021/01/5-1-1024x506.png" alt="5.- Gitlab login screen" class="wp-image-27622" srcset="https://www.osradar.com/wp-content/uploads/2021/01/5-1-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/5-1-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/5-1-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/5-1-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/5-1-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/5-1.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>5.- Gitlab login screen</figcaption></figure>



<p>And then you&#8217;ll see the Gitlab Instance Management screen.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2021/01/6-2-1024x506.png" alt="6.- Gitlab CE on Ubuntu 20.04" class="wp-image-27623" srcset="https://www.osradar.com/wp-content/uploads/2021/01/6-2-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/6-2-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/6-2-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/6-2-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/6-2-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/6-2.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>6.- Gitlab CE on Ubuntu 20.04</figcaption></figure>



<p>Enjoy it.</p>



<h2>Conclusion</h2>



<p>Gitlab is a very popular solution these days that GitHub has been bought by Microsoft. That&#8217;s why it&#8217;s good to know how to install it and be the one who manages all that collection of possibilities.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-gitlab-ce-ubuntu-20-04/">Install Gitlab CE on Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-gitlab-ce-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
