Can't access GitLab installation

Discussion in 'HOWTO-Related Questions' started by jpcyrenne, Oct 29, 2017.

  1. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    Good day,

    I followed installation of GitLab on CentOS7 here:
    https://www.howtoforge.com/tutorial/how-to-install-and-configure-gitlab-ce-on-centos-7/

    When I try to reach it it doesn't work. I noticed we never installed Nginx (no port 80 or 443). Don't think this normal?

    [[email protected] gitlab]# ss -nltp
    State Recv-Q Send-Q Local Address:port Peer Address:port
    LISTEN 0 128 *:22 *:* users:(("sshd",pid=2436,fd=3))
    LISTEN 0 100 127.0.0.1:25 *:* users:(("master",pid=1337,fd=13))
    LISTEN 0 128 :::22 :::* users:(("sshd",pid=2436,fd=4))
    LISTEN 0 100 ::1:25 :::* users:(("master",pid=1337,fd=14))
    [[email protected] gitlab]# service nginx start
    Redirecting to /bin/systemctl start nginx.service
    Failed to start nginx.service: Unit not found.

    Should I install nginx, reload gitlab, is there a nginx conf file that has to be created?

    PS: also had to install EPEL for letsencrypt could install.

    Thanks ahead,

    JP
     
  2. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    if I run gitlab-ctl reconfigure
    I get :
    ...
    Running handlers:
    Running handlers complete
    Chef Client finished, 166/478 resources updated in 56 seconds
    gitlab Reconfigured!

    [[email protected] ~]# ss -nltp
    State Recv-Q Send-Q Local Address:port Peer Address:port
    LISTEN 0 128 127.0.0.1:9121 *:* users:(("redis_exporter",pid=1833,fd=3))
    LISTEN 0 128 127.0.0.1:9090 *:* users:(("prometheus",pid=1945,fd=20))
    LISTEN 0 128 127.0.0.1:9187 *:* users:(("postgres_export",pid=1955,fd=5))
    LISTEN 0 128 127.0.0.1:9100 *:* users:(("node_exporter",pid=1761,fd=3))
    LISTEN 0 128 127.0.0.1:9168 *:* users:(("gitlab-mon",pid=1936,fd=8))
    LISTEN 0 128 127.0.0.1:8080 *:* users:(("bundle",pid=990,fd=18),("bundle",pid=988,fd=18),("bundle",pid=969,fd=18))
    LISTEN 0 128 *:22 *:* users:(("sshd",pid=320,fd=3))
    LISTEN 0 100 127.0.0.1:25 *:* users:(("master",pid=394,fd=13))
    LISTEN 0 128 ::1:9168 :::* users:(("gitlab-mon",pid=1936,fd=7))
    LISTEN 0 128 :::22 :::* users:(("sshd",pid=320,fd=4))
    LISTEN 0 100 ::1:25 :::* users:(("master",pid=394,fd=14))

    Still no port 80 or 443. Running MySQL so why postgres_export ?

    JP
     

Share This Page