Nota Acap
  • Introduction
  • Linux Guide
    • Fresh Installed Centos 7
    • Changing Network Interfaces in Centos 7
    • Lockdown SSH
    • Recursively change permission Linux
    • Proxy Server IPtables
    • Provisioning Web Server with Custombuild
    • MySQL Basic Management
    • Increasing Existing LVM Disk
  • Windows Guide
  • Application Guide
    • WEB Port IPtables Rate Limit
    • Simple Email Piping Script
    • HTTP Dead
    • Email Relay Outgoing
    • Compiling Extra PHP version (Directadmin)
    • Finding the SPAM (cPanel)
    • HTTP Basic Virtual Host
    • Update Kernel for DRBD Hosts
  • Migration Related
    • Cpanel -> Cpanel (Bulk)
    • IMAPSYNC Basic Scripts
    • Directadmin -> cPanel (Copy/Sync Emails)
    • Basic Rsync Script
Powered by GitBook
On this page

Was this helpful?

  1. Linux Guide

Fresh Installed Centos 7

Top things to do with Fresh Installed Centos 7

I just finished 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 -y

Remember to disable SELinux and also change the SSH port.

Disabling SELinux permanently :

cp /etc/sysconfig/selinux /etc/sysconfig/selinux.bakcat /etc/sysconfig/selinux.bak | sed s/"SELINUX=enforcing"/"SELINUX=disabled"/g > /etc/sysconfig/selinux

Disabling SELinux temporary :

setenforce 0

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

Once done, you may proceed to reboot after updating system :

yum update -y; reboot
PreviousIntroductionNextChanging Network Interfaces in Centos 7

Last updated 6 years ago

Was this helpful?