-
Notifications
You must be signed in to change notification settings - Fork 421
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
Conversation
@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 |
There was a problem hiding this comment.
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?
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 |
There was a problem hiding this comment.
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.
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 |
Thank you for taking the time to review and comment |
|
||
### 5.1 PostgreSQL | ||
|
||
Install Postgresql 9.1: |
There was a problem hiding this comment.
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?
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" |
There was a problem hiding this comment.
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
?
The squashed PR can be found here: #211 Closing this one. |
There is no sites-available on a clean Arch Linux installation from 3/2014 |
Mostly complete guide to installing Gitlab 6.7 on Arch Linux 3/2014