Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
omnibus-heptapod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
heptapod
omnibus-heptapod
Commits
f0ae2e0836fc
Commit
f0ae2e0836fc
authored
1 year ago
by
Achilleas Pipinellis
Browse files
Options
Downloads
Patches
Plain Diff
SSoT for initial root password
parent
88417e4159e2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!109
heptapod#1351: making Heptapod 0.41 the new oldstable
,
!105
heptapod#1283: making 0.41 the new stable
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/installation/index.md
+7
-1
7 additions, 1 deletion
doc/installation/index.md
doc/settings/configuration.md
+2
-6
2 additions, 6 deletions
doc/settings/configuration.md
with
9 additions
and
7 deletions
doc/installation/index.md
+
7
−
1
View file @
f0ae2e08
...
...
@@ -59,7 +59,12 @@
-
Pass the
`GITLAB_ROOT_PASSWORD`
environment variable to the
[
installation command
](
https://about.gitlab.com/install/
)
provided
the hostname for the server is set up correctly.
the hostname for the server is set up correctly:
```
shell
sudo
GITLAB_ROOT_PASSWORD
=
"<strongpassword>"
EXTERNAL_URL
=
"http://gitlab.example.com"
apt
install
gitlab-ee
```
If during the installation GitLab doesn't automatically perform a
reconfigure, you have to pass the
`GITLAB_ROOT_PASSWORD`
variable to the
first
`gitlab-ctl reconfigure`
run.
...
...
@@ -63,6 +68,7 @@
If during the installation GitLab doesn't automatically perform a
reconfigure, you have to pass the
`GITLAB_ROOT_PASSWORD`
variable to the
first
`gitlab-ctl reconfigure`
run.
-
Before the first reconfigure, edit
`/etc/gitlab/gitlab.rb`
(create it if it
doesn't exist) and set:
...
...
This diff is collapsed.
Click to expand it.
doc/settings/configuration.md
+
2
−
6
View file @
f0ae2e08
...
...
@@ -693,12 +693,8 @@
## Set initial root password on installation
The initial password for the administrator user
`root`
can be set at the installation time
with the
`GITLAB_ROOT_PASSWORD`
environment variable:
```
shell
sudo
GITLAB_ROOT_PASSWORD
=
"<strongpassword>"
EXTERNAL_URL
=
"http://gitlab.example.com"
apt
install
gitlab-ee
```
The initial password for the administrator user
`root`
can be set at installation time. For more information, see
[
Set up the initial password
](
../installation/index.md#set-up-the-initial-password
)
.
## Set allowed hosts to prevent host header attacks
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment