Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
leaddevops authored Apr 27, 2022
1 parent bca600d commit 557f9ad
Showing 1 changed file with 38 additions and 1 deletion.
39 changes: 38 additions & 1 deletion git/gitlab/install/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,39 @@
## Install and Configure GitLab on Ubuntu
## Install and Configure GitLab CE on Ubuntu

> **`Installing Required Dependencies`**
```
sudo apt update
sudo apt install ca-certificates curl openssh-server postfix
cd /tmp
curl -LO https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh
sudo bash /tmp/script.deb.sh
```
> **`Install GitLab CE`**
```
sudo apt install gitlab-ce
```

> **`Set the GitLab URL`**
```
vi /etc/gitlab/gitlab.rb
external_url 'https://gitlab.example.com' or "set your ip"
```

> **`reconfigure Gitlab`**
```
sudo gitlab-ctl reconfigure
```

> **`Login to GitLab UI`**
```
from the browser
http://vmip:80
default credentials
username: root
password: <find from below file on your server>
cat /etc/gitlab/initial_root_password
```

0 comments on commit 557f9ad

Please sign in to comment.