Capistrano Automated Deployment Tools installation detailed procedures

Source: Internet
Author: User

Capistrano is a SSH a framework and tool for deploying Web apps to multiple servers. Detailed introduction, you can log on to the official website or other relevant sites to understand.

First, the software version

1. Operating system: CentOS6.8 minimized installation

2. ruby:2.4.0

3. gem:2.6.10

4. capistrano:3.7.2

Second, install Ruby

1. Download

wget https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.0.tar.gz

(Please install Wget:yum install-y wget first)

2. Unzip

Tar XF ruby-2.4.0.tar.gz

3. Installation

1. Install the compilation environment

Yum install-y gcc-c++ zlib zlib-devel openssl-devel

2. Compiling and installing Ruby

./configure

make# compile time is a little bit long, Yum installs version only 1.8

Make install

Third, installation Rubygem

1. Download

wget https://rubygems.org/rubygems/rubygems-2.6.10.tgz

2. Unzip

Tar XF rubygems-2.6.10.tgz

3. Installation

CD rubygems-2.6.10

Ruby Setup.rb

Iv. installation of Capistrano

Gem Install Capistrano

V. Results

Ruby-v; Gem-v; Cap-v

Ruby 2.4.0p0 (2016-12-24 revision 57164) [X86_64-linux]

2.6.10

Capistrano version:3.7.2 (Rake version:12.0.0)

Vi. Summary

Capistrano relies on zlib and OpenSSL, the two packages need to be installed before Ruby is installed, so the installation process will be smooth.

welcome friends to join the QQ Exchange Group I created: 161490064


This article is from the "Ice Front moment" blog, please be sure to keep this source http://ruilan.blog.51cto.com/11948237/1899472

Capistrano Automated Deployment Tools installation detailed procedures

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.