Trouble installing Gitlab CE in a local server

Hello,

Before installing gitlab ce in the server
I have tried to install it in a virtualBox machine debian 10…
I have checked installation of postegresql, apache2, domain name, …
I have added gitlab as packages source Then i did:
apt-get install gitlab-ce

I have configured external_url ‘http://git.domain.local
Then i launched: gitlab-ctl reconfigure

No errors in configuration… but i cannot see the homePage ?!
I cannot see the configuration of the homepage in the webserver ?
Someone can explain… thanks…

Hi @rickless , welcome to the GitLab Community Forum! :tada:

I believe the error you’re seeing is most likely resulting from having apache2 running on your VM. GitLab-CE uses NGINX as a webserver, and does not require any external web server or database.
NGINX and postgresql are both bundled together with the GitLab Linux package.

I suggest:

  • removing any postgresql and apache2 packages from the VM
  • use the VM’s IP instead of domain name for external_url if you’re using VirtualBox locally (this is easier than configuring DNS to point a domain name to your VirtualBox VM, but optional)

Once you’ve done this, run gitlab-ctl reconfigure followed by gitlab-ctl restart for the changes to take effect.

Let us know how it goes!

It works! By uninstalling Apache and postgresql, installing nginx…and running gitlab-ctl reconfigure…
Thanks @gitlab-greg!

But i was supposed to install gitlab ce on a server where there are already « apache » and several websites ?! :thinking:

How mange nginx+gitlab ce with « apache » ?

are there a version of gitlab ce on apache ?

Can we find gitlab ce in other language (spanish, or french,…)?

1 Like

Hi @rickless, you asked great questions, thanks for your patience.

But i was supposed to install gitlab ce on a server where there are already « apache » and several websites ?! :thinking:

It is possible to run GitLab on a server that is also running this, but honestly I do not recommend it. Running two web servers side-by-side can be challenging, and GitLab is only compatible with nginx.

For best results, I suggest running Gitlab on a separate Linux box or VM that meets the requirements.

How mange nginx+gitlab ce with « apache » ?

are there a version of gitlab ce on apache ?

There is not a version of GitLab that uses Apache, or an official way to use Gitlab with Apache. Best bet is to use the nginx server bundled with it on a machine that is not running another webserver running.

Can we find gitlab ce in other language (spanish, or french,…)?

Yes!

Go to <gitlab_external_url>/profile/preferences > Localization > Language, and choose your language from the dropdown.