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