Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Guide] Gitlab 6.7 - Arch Linux 3/2014 - PostgreSQL and nginx #210

Closed
wants to merge 8 commits into from
Closed

[Guide] Gitlab 6.7 - Arch Linux 3/2014 - PostgreSQL and nginx #210

wants to merge 8 commits into from

Conversation

nszceta
Copy link
Contributor

@nszceta nszceta commented Apr 4, 2014

Mostly complete guide to installing Gitlab 6.7 on Arch Linux 3/2014

@jvanbaarsen
Copy link

@nszceta Can you please squash the commits?

wget https://aur.archlinux.org/packages/ru/ruby2.0-headless/ruby2.0-headless.tar.gz
pacman -S gdbm libffi libyaml openssl
cd ruby2.0-headless
makepkg --asroot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May I ask why --asroot? Also why not use the officially packaged ruby? Is there a limitation?

@nszceta
Copy link
Contributor Author

nszceta commented Apr 4, 2014

The guide is written from the root user perspective, much like the CentOS guide.

I will regenerate the pull request with a squashed commit.

Ruby 2.1 is not supported by Gitlab 6.x

Create a `git` user for Gitlab:

userdel git
useradd --system --shell /sbin/nologin --comment 'GitLab User' --create-home --home-dir /home/git/ git
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you tested that setting shell to nologin works? I'm asking because there are quite a few reported issues with the Centos guide.

@nszceta
Copy link
Contributor Author

nszceta commented Apr 4, 2014

It works as expected. Furthermore I will be installing the latest stable Gitlab release on Centos 6.5 in a few minutes and I will continue to update that guide

@nszceta
Copy link
Contributor Author

nszceta commented Apr 4, 2014

Thank you for taking the time to review and comment


### 5.1 PostgreSQL

Install Postgresql 9.1:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason you install postgres 9.1 from AUR and not use 9.3 from the official repos?

@nszceta
Copy link
Contributor Author

nszceta commented Apr 4, 2014

I created the PostgreSQL 9.1 AUR package because that is the version that I tested to work in the past with Gitlab 6.6 and 6.7 on CentOS 6.5. I have no experience with 9.3 and I did not want to update to something untested.


pacman -S nginx
systemctl enable nginx
mkdir "/etc/nginx/conf.d"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you create conf.d since there is sites-available?

@jvanbaarsen
Copy link

The squashed PR can be found here: #211 Closing this one.

@jvanbaarsen jvanbaarsen closed this Apr 4, 2014
@nszceta
Copy link
Contributor Author

nszceta commented Apr 4, 2014

There is no sites-available on a clean Arch Linux installation from 3/2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants