GitLab: Difference between revisions

From Leo's Notes
This page was last edited on 18 June 2013, at 05:39.
Line 4: Line 4:


Seems like the instructions work quite well. Make sure all the dependencies it lists out are installed first (as it should).
Seems like the instructions work quite well. Make sure all the dependencies it lists out are installed first (as it should).
<syntaxhighlight lang="bash" line start="1" enclose="div">
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
</syntaxhighlight>


[[Category:Todo]]
[[Category:Todo]]

Revision as of 05:39, 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