0495.html 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Host Your Own GitHub Alternative with GitLab</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="GitHub Alternatives,Git,GitLab,Debian,Home Lab,How To Install GitLab,Install Guide,Intall GitLab On Debian,Browser Based,Home Lab Ideas,Self-Hosted,Web Based,Web Based Tools,Linux,Source Control,Self-Hosted GitHub Alternative,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Host Your Own GitHub Alternative with GitLab">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="04/01/2023 06:54:17 AM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Host Your Own GitHub Alternative with GitLab</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is GitLab?</h2>
  26. <p><em>GitLab is an open source end-to-end software development platform with built-in version control, issue tracking, code review, CI/CD, and more. Self-host GitLab on your own servers, in a container, or on a cloud provider.</em> -<a href="https://gitlab.com/gitlab-org/gitlab" target="_blank">https://gitlab.com/gitlab-org/gitlab</a></p>
  27. <h2>Installing GitLab</h2>
  28. <ol>
  29. <li>Log into the Linux device</li>
  30. <li>Run the following commands in a terminal:
  31. <div class="codeBlock"># update software repositories<br />
  32. sudo apt update<br />
  33. # install software updates<br />
  34. sudo apt upgrade -y<br />
  35. # install preprequisites<br />
  36. sudo apt install curl openssh-server ca-certificates perl -y<br />
  37. # add gitlab software repository<br />
  38. curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash<br />
  39. # install gitlab, change the URL in the script below to match the DNS name of the host server<br />
  40. sudo EXTERNAL_URL=&quot;http://DNSofHOST&quot; apt install gitlab-ce</div>
  41. </li>
  42. <li>Open a web browser and navigate to http://DNSorIP</li>
  43. <li>Enter and confirm a new password</li>
  44. <li>Login with the username root and the password created in the previous step</li>
  45. <li>Welcome to GitLab</li>
  46. </ol>
  47. <p>Source: <a href="https://about.gitlab.com/" target="_blank">https://about.gitlab.com/</a></p> </div>
  48. </div>
  49. </body>
  50. </html>