Got the newest CentOS 8 (4.18.0-305.12.1.el8_4.x86_64) and ready to install newest Rails 7 and here is the steps.
Disable SELinux
|
Install locale
|
Turn on EPEL and install htop
|
Install node.js 16 & yarn
|
Install dependencies required by rbenv and Ruby
|
Setup second user account
|
Install rbenv and ruby-build
|
Install Ruby 3.0.2
|
Fix permission for CentOS
|
Install nginx
|