Access GitLab
URL: http://<server-ip>
Retrieve the Initial Root Password
GitLab generates a temporary root password at install time.
Run:
cat /etc/gitlab/initial_root_password
Use this password to log in with:
- Username:
root - Password: auto-generated by GitLab
The file /etc/gitlab/initial_root_password is automatically deleted after 24 hours for security.
Make sure to save the password after retrieving it.
Key Directories
- GitLab data:
/var/opt/gitlab - GitLab logs:
/var/log/gitlab - Config files:
/etc/gitlab
Useful Commands
Reconfigure GitLab:
gitlab-ctl reconfigure
Check status:
gitlab-ctl status
Restart all GitLab services:
gitlab-ctl restart