reset password

Set Up Centos 7 Server

Installation Selections

  • Software Selection: Minimal Install
  • KDump: disable
  • Security Policy: default

The Minimal Install includes OpenSSH and Postfix but no other server software (that I notice).

Additional Tools

> sudo yum -y install nmap mutt
> sudo yum -y groupinstall "Development Tools"

Auto Update

> sudo yum -y install yum-cron

Edit /etc/yum/yum-cron.conf so that

  • update_cmd = default
  • update_messages, download_updates, apply_updates = yes
  • emit_via = email
  • email_to = the admin user account

Set yum-cron service to auto-start and start it:

> sudo systemctl enable yum-cron
> sudo systemctl start yum-cron

Node.js and Global Packages 

> curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
> sudo yum -y install nodejs
> sudo npm install -g 

 

References

This page has been viewed 5313 times.