GitLab: Difference between revisions
From Leo's Notes
This page was last edited on 18 June 2013, at 05:52.
No edit summary |
|||
| Line 34: | Line 34: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<syntaxhighlight lang="text" line start="1" enclose="div"> | |||
<VirtualHost *:80> | |||
ServerName gitlab.home.steamr.com | |||
ProxyRequests Off | |||
<Proxy *> | |||
Order deny,allow | |||
Allow from all | |||
</Proxy> | |||
ProxyPreserveHost On | |||
ProxyPass / http://localhost:3000/ | |||
ProxyPassReverse / http://localhost:3000/ | |||
</VirtualHost> | |||
</syntaxhighlight> | |||
<syntaxhighlight lang="bash" line start="1" enclose="div"> | |||
setsebool -P httpd_can_network_connect on | |||
cd /etc/mail | |||
vim /etc/mail/sendmail.mc | |||
</syntaxhighlight> | |||
[[Category:Todo]] | [[Category:Todo]] | ||
Revision as of 05:52, 18 June 2013
Installation
Consult https://github.com/nielsbasjes/gitlab-recipes/blob/master/install/CentOS_6.md
Seems like the instructions work quite well. Make sure all the dependencies it lists out are installed first (as it should).
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum -y groupinstall 'Development Tools'
### 'Additional Development'
yum -y install vim-enhanced httpd readline readline-devel ncurses-devel gdbm-devel glibc-devel \
tcl-devel openssl-devel curl-devel expat-devel db4-devel byacc \
sqlite-devel gcc-c++ libyaml libyaml-devel libffi libffi-devel \
libxml2 libxml2-devel libxslt libxslt-devel libicu libicu-devel \
system-config-firewall-tui python-devel redis sudo mysql-server wget \
mysql-devel crontabs logwatch logrotate sendmail-cf qtwebkit qtwebkit-devel \
perl-Time-HiRes
yum update
chkconfig redis on
service redis start
chkconfig mysqld on
service mysqld start
/usr/bin/mysql_secure_installation
rm /etc/httpd/conf.d/welcome.conf
vi /etc/httpd/conf.d/gitlab.conf
<VirtualHost *:80>
ServerName gitlab.home.steamr.com
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPreserveHost On
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/
</VirtualHost>
setsebool -P httpd_can_network_connect on
cd /etc/mail
vim /etc/mail/sendmail.mc