<h4>1. Install and configure the necessary dependencies</h4><p>On CentOS 6 (and RedHat/Oracle/Scientific Linux 6), the commands below
will also open HTTP and SSH access in the system firewall.</p><pre class="command">sudo yum install -y curl policycoreutils-python openssh-server cronie
sudo lokkit -s http -s ssh</pre><p>Next, install Postfix to send notification emails. If you want
to use another solution to send emails please skip this step and <a href="https://docs.gitlab.com/omnibus/settings/smtp.html">configure an external SMTP server</a> after GitLab has been installed.</p><pre class="command">sudo yum install postfix
sudo service postfix start
sudo chkconfig postfix on</pre><p>During Postfix installation a configuration screen may appear.
Select 'Internet Site' and press enter. Use your server's external
DNS
for 'mail name' and press enter. If additional screens appear, continue
to press enter to accept the defaults.</p><h4>2. Add the GitLab package repository and install the package</h4><p>Add the GitLab package repository.</p><pre class="command">curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash</pre><p>Next, install the GitLab package. Change
`http://gitlab.example.com` to the
URL at which you want to access your
GitLab instance. Installation will automatically configure and start
GitLab at that
URL. HTTPS requires <a href="https://docs.gitlab.com/omnibus/settings/nginx.html#enable-https">additional configuration</a> after installation.</p><pre class="command">sudo EXTERNAL_
URL="http://gitlab.example.com" yum -y install gitlab-ee</pre><h4>3. Browse to the hostname and login</h4><p>On your first
visit, you'll be redirected to a password reset screen. Provide the
password for the initial administrator account and you will be
redirected back to the login screen. Use the default account's username to login.</p><p>See our <a href="https://docs.gitlab.com/omnibus/README.html#installation-and-configuration-using-omnibus-package">documentation for detailed instructions on installing and configuration</a>.</p><h4>4. Set up your communication preferences</h4><p>Visit our <a href="https://page.gitlab.com/SubscriptionCenter.html">email subscription preference center</a>
to let us know when to communicate with you. We have an explicit email
opt-in policy so you have complete control over what and how often we
send you emails.</p><p>Twice a month, we send out the GitLab news you
need to know, including new features, integrations, docs, and behind
the scenes stories from our dev teams. For critical security updates
related to bugs and system performance, sign up for our dedicated
security newsletter.</p><p class="alert alert-warning">IMPORTANT NOTE: If you do not opt-in to the security newsletter, you will not receive security alerts.</p><p><br/></p>