设为首页 收藏本站
查看: 803|回复: 0

[经验分享] GitLab一键式安装bitnami 专题

[复制链接]

尚未签到

发表于 2018-1-10 13:39:47 | 显示全部楼层 |阅读模式
Bitnami GitLab Stack 8.5.1-0  
==============================
  

  

  
1. OVERVIEW
  

  
The Bitnami Project was created to help spread the adoption of freely
  
available, high quality, open source web applications. Bitnami aims to make
  
it easier than ever to discover, download and install open source software
  
such as document and content management systems, wikis and blogging
  
software.
  

  
You can learn more about Bitnami at https://bitnami.com
  

  
GitLab allows you to keep your code secure on your own server, manage
  
repositories, users and access permissions, communicate through issues,
  
line-commens, wiki pages and perform code reviw with merge requests. It is
  
powered by Ruby on Rails and completely free and open source (MIT license).
  

  
You can learn more about GitLab at http://gitlab.org
  

  
The Bitnami GitLab Stack is an installer that greatly simplifies the
  
installation of GitLab and runtime dependencies. It includes ready-to-run
  
versions of Apache, PostgreSQL and Ruby On Rails. GitLab Stack is distributed
  
for free under the Apache 2.0 license. Please see the appendix for the specific
  
licenses of all open source components included.
  

  
You can learn more about Bitnami Stacks at https://bitnami.com/stacks/
  

  
2. FEATURES
  

  
- Easy to Install
  

  
Bitnami Stacks are built with one goal in mind: to make it as easy as
  
possible to install open source software. Our installers completely automate
  
the process of installing and configuring all of the software included in
  
each Stack, so you can have everything up and running in just a few clicks.
  

  
- Independent
  

  
Bitnami Stacks are completely self-contained, and therefore do not interfere
  
with any software already installed on your system. For example, you can
  
upgrade your system's PostgreSQL or Apache without fear of 'breaking' your
  
Bitnami Stack.
  

  
- Integrated
  

  
By the time you click the 'finish' button on the installer, the whole stack
  
will be integrated, configured and ready to go.
  


  
->  

  
Bitnami Stacks can be installed in any directory. This allows you to have
  
multiple instances of the same stack, without them interfering with each other.
  

  
3. COMPONENTS
  

  
Bitnami GitLab Stack ships with the following software versions:
  

  
- GitLab 8.5.1
  
- Apache 2.4.18
  
- ImageMagick 6.7.5
  
- PostgreSQL 9.4.6
  
- Git 2.6.1
  
- Ruby 2.1.8
  
- Rails 4.2.5.1
  
- RubyGems 1.8.12
  

  
4. REQUIREMENTS
  

  
To install Bitnami GitLab Stack you will need:
  

  
- Intel x86 or compatible processor
  
- Minimum of 2048 MB RAM
  
- Minimum of 150 MB hard drive space
  
- TCP/IP protocol support
  
- Compatible operantig systems:
  
- An x86 Linux operating system.
  

  
5. INSTALLATION
  

  
The Bitnami GitLab Stack is distributed as a binary executable installer.
  
It can be downloaded from:
  

  
https://bitnami.com/stacks/
  

  
The downloaded file will be named something similar to:
  

  
bitnami-gitlab-8.5.1-0-linux-installer.run on Linux or
  
bitnami-gitlab-8.5.1-0-linux-x64-installer.run on Linux 64 bit.
  

  
On Linux, you will need to give it executable permissions:
  

  
chmod 755 bitnami-gitlab-8.5.1-0-linux.run
  

  
To begin the installation process, double-click on that file, and you will
  
be greeted by the 'Welcome' screen. Pressing 'Next' will take you to the
  
Component Selection screen.
  

  
The next screen is the Installation Folder, where you can select where Bitnami
  
stack will be installed. If the destination directory does not exist, it will
  
be created as part of the installation.
  

  
The next screen will prompt you for data necessary to create the initial
  
admin user:
  

  
Username and password: You will use this information to log-in into the
  
administrative interface. The password you provide here will also be used to
  
protect other parts of the installation. Please see the section named
  
"Usernames and Passwords" later in this document.
  

  
Email address: Your email address.
  

  
The next screen will vary, depending on whether the ports needed by the
  
bundled Apache and PostgreSQL are already taken. The default listening port for
  
Apache is 80 and for PostgreSQL is 5432. If those ports are already in use by

  
other applications, you will be prompted for>  

  
The next screen will allow you to configure the final details of your
  
GitLab installation:
  

  
Hostname: The hostname for your blog, such as www.example.com. This
  
information will be used by GitLab when creating certain links. You can
  
use an IP address but there were login issues using different browsers. It
  
is advisable to use a fully qualified domain name.
  

  
Once the information has been entered, the installation will proceed to copy
  
the files to the target installation directory and configure the different
  
components. One this process has  been completed, you will see the
  
'Installation Finished' page. You can choose to launch Bitnami GitLab
  
Stack at this point. If you do so, your default web browser will open and
  
display the Welcome page for the Bitnami GitLab Stack.
  

  
If you received an error message during installation, please refer to
  
the Troubleshooting section.
  

  
The rest of this guide assumes that you installed Bitnami GitLab
  
Stack in /home/user/gitlab-8.5.1-0 on Linux.
  

  
6. STARTING AND STOPPING BITNAMI GITLAB STACK
  

  
To start/stop/restart application on Linux you can use the included ctlscript.sh
  
utility, as shown below:
  

  
./ctlscript.sh (start|stop|restart)
  
./ctlscript.sh (start|stop|restart) postgres
  
./ctlscript.sh (start|stop|restart) redis
  
./ctlscript.sh (start|stop|restart) apache
  
./ctlscript.sh (start|stop|restart) sidekiq
  

  
start      - start the service(s)
  
stop       - stop  the service(s)
  
restart    - restart or start the service(s)
  

  

  
That will start Apache service. Once started, you can open your
  
browser and access the following URL on Linux:
  

  
http://127.0.0.1:80/
  

  
If you are accessing the machine remotely, you will need to replace
  
127.0.0.1 with the appropriate IP address or hostname.
  

  
7. DIRECTORY STRUCTURE
  

  
The installation process will create several subfolders under the main
  
installation directory:
  

  
apache2/: Apache Web server.
  
ruby/: Ruby language.
  
redis/: Redis server.
  
postgresql/: PostgreSQL Database.
  
apps/
  
gitlab/: GitLab application folder
  
conf/: GitLab Apache configuration files
  
htdocs/: GitLab application files
  

  
8. DEFAULT USERNAMES AND PASSWORDS
  

  
The GitLab administrative user and password are the ones you set at
  
installation time.
  

  
PostgreSQL admin user is called 'postgres', and its password is the same as the
  
GitLab administrative user password.
  

  
The default PostresSQL non-root account used to access the database is named
  
bitnami, and its password is randomly generated during installation.
  

  
9. TROUBLESHOOTING
  

  
This version of the Bitnami GitLab stack is a preview version, and as
  
such, may contain a number of bugs and be a little bit rough around the

  
edges. We are working on the next>  
improvements along with expanded documentation. In addition to the resources
  
provided below, we encourage you to post your questions and suggestions at:
  

  
https://community.bitnami.com/
  

  
We also encourage you to sign up for our newsletter, which we'll use to

  
announce new>  
https://bitnami.com/newsletter.
  

  
9.1 Installer
  

  
# Installer Payload Error
  

  
If you get the following error while trying to run the installer from the
  
command line:
  

  
"Installer payload initialization failed. This is likely due to an
  
incomplete or corrupt downloaded file"
  

  
The installer binary is not complete, likely because the file was
  
not downloaded correctly. You will need to download the file and
  
repeat the installation process.
  

  
9.2 Apache
  

  
If you find any problem starting Apache, the first place you should check is
  
the Apache error log file:
  

  
/home/user/gitlab-8.5.1-0/apache2/logs/error.log on Linux or
  
/Applications/gitlab-8.5.1-0/apache2/logs/error.log.
  

  

  
10. LICENSES
  

  
GitLab is distributed under the MIT License,
  
which is located at
  
https://github.com/gitlabhq/gitlabhq/blob/master/LICENSE
  

  
Redis is distributed under the terms of the three clause BSD license,
  
wich is located at
  
http://redis.io/topics/license
  

  
Apache Web Server is distributed under the Apache License v2.0, which
  
is located at http://www.apache.org/licenses/LICENSE-2.0
  

  
PostgreSQL is distributed under the GNU General Public License v2, which is
  
located at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
  


  
Ruby is>  
http://www.ruby-lang.org/en/LICENSE.txt
  


  
Rails is>  
http://www.opensource.org/licenses/mit-license.php
  


  
Subversion is>  
terms of the Apache License, which is located at
  
http://subversion.tigris.org/license-1.html
  


  
RubyGems is>  
http://www.ruby-lang.org/en/LICENSE.txt
  


  
Rake is>  
http://www.ruby-lang.org/en/LICENSE.txt
  


  
Thin Web Server is>  
is located at http://www.ruby-lang.org/en/LICENSE.txt
  

  
ImageMagick has its own license, which is located at
  
https://www.imagemagick.org/subversion/ImageMagick/trunk/LICENSE
  


  
Rmagick is>  
http://www.opensource.org/licenses/mit-license.php
  


  
Capistrano is>  
located at http://dev.rubyonrails.org/browser/tools/capistrano/MIT-LICENSE?rev=5270
  


  
OpenSSL is>  
located at http://www.openssl.org/source/license.html
  


  
Ncurses is>  
http://www.opensource.org/licenses/mit-license.php
  


  
Readline is>  
http://www.gnu.org/copyleft/gpl.html
  


  
Zlib is>  
with GPL), which is located at http://www.gzip.org/zlib/zlib_license.html
  


  
Libiconv is>  
http://www.gnu.org/licenses/lgpl.html
  


  
Expat is>  
http://www.opensource.org/licenses/mit-license.php
  


  
Neon is>  
http://www.gnu.org/copyleft/gpl.html
  


  
RedCloth is>  
http://www.opensource.org/licenses/bsd-license.php
  

  
ImageMagick has its own license, which is located at
  
https://www.imagemagick.org/subversion/ImageMagick/trunk/LICENSE
  


  
Rmagick is>  
http://www.opensource.org/licenses/mit-license.php
  


  
Freetype is>  
http://freetype.sourceforge.net/FTL.TXT

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-433553-1-1.html 上篇帖子: ubuntu12.04 gitlab搭建 下篇帖子: 使用Docker快速部署Gitlab
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表