Category : CentOS 7

How to Fix the Meltdown on a CentOS/RHEL/Fedora/Oracle/Scientific Linux Always keep backups. So backup now to an offsite location. Note the Linux kernel version running the following command: # uname -r Fix the Meltdown on a CentOS/RHEL/Fedora/Oracle/Scientific Linux Type the following yum command: # sudo yum update You must reboot your Linux server using shutdown/reboot ..

Read more

How to Add Proftpd in CentOS 7 for ftp access. Step 1: Add the EPEL Repository ProFTPD is part of Extra Packages for Enterprise Linux (EPEL), which is a community repository of non-standard packages for the RHEL distribution. First, we’ll install the EPEL repository: # rpm -iUvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm Step 2: Install ProFTPD Let’s update first: ..

Read more

CentOS 7 minimal systems, use the commands “ip addr” and “ip link” to find the details of a network interface card. To know the statistics use “ip -s link”. To view the details of the network interface cards, enter the following commands: # ip addr To view the statistics of your network interfaces, enter the ..

Read more

Check services that are enabled on CentOS 7 # systemctl list-unit-files Or for a specific service # systemctl status mysqld Disabling a service on boot in CentOS 7 To disable, it’s simply a matter of running systemctl disable on the desired service. # systemctl disable mysqld Check which services failed to start on boot on ..

Read more

Install MySQL / MariaDB Installing MariaDB is as simple as running just one command: # yum -y install mariadb-server mariadb And then start MySQL, now MariaDB: # systemctl start mariadb Be sure that MySQL/MariaDB starts at boot: # systemctl enable mariadb To check the status of MySQL/MariaDB: # systemctl status mariadb To top MySQL/MariaDB: # ..

Read more

To reset the root password for CentOS 6: Boot Computer and Interrupt while booting at GRUB stage hitting ‘arrow‘ keys or “space bar“. Type ‘a‘ to modify kernel argument. Anytime you can cancel typing ‘ESC‘ key. Append 1 at the end of “rhgb quiet” and press “Enter” key to boot into single user mode. Type ..

Read more

Install ClamAV and set up scheduled scans. Install Epel: # yum install epel-release Install ClmAV # yum install clamav-server clamav-data clamav-update clamav-filesystem clamav clamav-scanner-systemd clamav-devel clamav-lib clamav-server-systemd Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.lax.hugeserver.com * epel: dl.fedoraproject.org * extras: dallas.tx.mirror.xygenhosting.com * updates: linux.mirrors.es.net Package clamav-data-0.98.7-1.el7.noarch already installed and latest version ..

Read more

Nagois error on CentOS 7 make stage… ./stdio.h:456:1: error: ‘gets’ undeclared here (not in a function) Edit the studio.h file, and replace: #undef gets _GL_WARN_ON_USE (gets, “gets is a security hole – use fgets instead”); with #if defined gets #undef gets _GL_WARN_ON_USE (gets, “gets is a security hole – use fgets instead..

Read more

By default the port 80 for http connection is filtered on Redhat 7 as you can only access this port from the actual localhost and not from any other public host. To open a port 80 on RHEL 7 Linux we need to add an iptables rule. For this RHEL7 uses firewall-cmd. First add your ..

Read more