Install Varnish 4 – CentOS 7.2
Installing Varnish on CentOS 7.2 is pretty straight forward, start off by adding the epel-release…
Ruby language is open source, it is simple and focuses on productivity while at the same time has an elegant syntax that is easy to read and understand.
We’ll be installing the latest version released in April 2019, version 2.6.
We’ll begin with a fresh CentOS 7.6 minimal installation.
Start off by first installing the “Development Tools” group
Just to cover our bases, install the epel repo
Now for the dependencies
Note: there are other dependencies but they’ve been covered when we installed the “Development Tools” group.
Next, we need to install RVM. RVM lets you install and manage multiple ruby environments. Install by issuing the following
To set up the environment
Install any dependencies not covered by the steps above
To list the available versions of Ruby we can install, issue the following at the shell
At the time of writing, Ruby 2.6 is the latest version
Install Ruby version 2.6
If you want this version to be the default version, then do the following:
That’s it you’re done.