Top things to do for Fresh Installed Centos 7

Before we started to develop or for example installing Control Panel for Centos 7 server.

Below are list of things that I usually do to make sure the development process is smooth.
yum groupinstall "Development Tools" -y


yum install psmisc net-tools systemd-devel libdb-devel perl-DBI xfsprogs rsyslog logrotate crontabs file vim locate


Remember to disable SELinux and also change the SSH port.

Below is an example of command that will change SSH port to 9999:
cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak

cat /etc/ssh/sshd_config.bak | sed s/"#Port 22"/"Port 9999"/g > /etc/ssh/sshd_config
service sshd restart

For SELinux, you may follow command below :
cp /etc/sysconfig/selinux /etc/sysconfig/selinux.bak
cat /etc/sysconfig/selinux.bak | sed s/"SELINUX=enforcing"/"SELINUX=disabled"/g > /etc/sysconfig/selinux


Most important:
yum update -y; reboot

Thank you.