OpenAnolis released as alternative distribute linux of CentOS. After got a server at Aliyun double 11 sales, I try to install my familiar Rails web framework on it.
I start installing the Linux server by do a system upgrade:
|
But install htop
in Anolis linux is not as easy as CentOS, it’s require enable epel
explicitly.
|
Install locale
|
Create the deployer user
|
Enable deployer as sudo
|
Secure the ssh by turn off root and password
sudo tail /etc/ssh/sshd_config
|
Install memcached & redis
|
Install node.js 16 & yarn
|
Install dependencies required by rbenv and Ruby
|
Install rbenv and ruby-build in deployer user
|
Install ruby 3.0.2
|
Create postgresql db user and import DB
|
Install snapd
|
Install certbot
|