![]() ![]() # Clone the admin repo so SSH adds localhost to known_hosts … $ sudo -u gitlab -H ssh sudo -u gitlab -H ssh sudo -u gitlab -H ssh Test if everything works so far # Add domains to list to the list of known hosts $ passwd gitlab # please choose a good password Learn the six most common pitfalls when upgrading your contact center, and how Amazon Connect can help you avoid them. # Make sure the repositories dir is owned by git and it stays that wayĪvoid Contact Center Outages: Plan Your Upgrade to Amazon Connect When the prompt appears edit the provided file (it’s in a vi-Editor) and set $REPO_UMASK to 0007 $ gl-setup ~/gitlab.pub # this passes the admin key to gitolite # … and use it as the admin key for the Gitolite setup $ sh -c ‘gitolite/install -ln /home/git/bin’ $ sh -c ‘printf “%b\n%b\n” “PATH=\$PATH:/home/git/bin” “export PATH” > /home/git/.profile’ $ git clone -b gl-v320 /home/git/gitolite $ cp /home/gitlab/.ssh/id_rsa.pub /home/git/gitlab.pub #make sure you do this as root ![]() $ adduser –system –shell /bin/sh –comment ‘gitolite’ –create-home –home-dir /home/git git $ adduser –shell /bin/bash –create-home –home-dir /home/gitlab gitlab configure –enable-shared –disable-pthreadĥ. Uninstall Ruby 1.8.7 and reinstall Ruby 1.9īecause only Ruby 1.9 is supported so we need to uninstall the original Ruby 1.8.7 $ yum -y install readline readline-devel ncurses-devel gdbm-devel glibc-devel tcl-devel openssl-devel curl-devel expat-devel db4-devel byacc gitolite 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 readline mysql-devel postgresql-develģ. $ yum -y groupinstall ‘Development Tools’ ‘Additional Development’ ![]() $ cd /installationfiles # you can cd to where you save the download files Note: I assume you have root account or an account you can run sudo –s to play as a root on your. I feel it is very necessary to write a specific guide in steps how to install GitLab on Amazon EC2 Cloud Server (actually it is Redhat Linux). You may follow them to install GitLab on Amazon EC2 Cloud Server but you may meet various problems that stop you from moving forward. The official document in GitHub is also using Ubuntu as example. There are plenty of web pages to guide you how to install GitLab on an Ubuntu server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |