Install Samba on CentOS 7

Install Samba Once the installation is completed, start the Samba services and enable them to start automatically on system boot: The smbd service provides file sharing and printing services and listens on TCP ports 139 and 445. The nmbd service provides NetBIOS over IP naming services to clients and listens on UDP port 137.

Install ZFS on CentOS 7.9

Here ya go! Now go to: http://download.zfsonlinux.org/epel/ Find the zfs-release version Mine is zfs-release.el7_9.noarch.rpm Install ZFS repository should be added. There are two ways ZFS module can be loaded to the kernel, DKMS and kABI. The difference between these is that if you install DKMS based ZFS module, and then for some reason you update … Read more

Fix the Meltdown on a CentOS/RHEL/Fedora/Oracle/Scientific Linux

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: Fix the Meltdown on a CentOS/RHEL/Fedora/Oracle/Scientific Linux Type the following yum command: You must reboot your Linux server using shutdown/reboot command: Run the following dnf command if … Read more

Install Proftpd in CentOS 7

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: Step 2: Install ProFTPD Let’s update first: Then let’s install ProFTPD … Read more

Ifconfig Command Not Found In CentOS 7

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: To view the statistics of your network interfaces, enter the command: OR How … Read more

Check services on CentOS 7

Check services that are enabled on CentOS 7 Or for a specific service Disabling a service on boot in CentOS 7 To disable, it’s simply a matter of running systemctl disable on the desired service. Check which services failed to start on boot on CentOS 7 As a bonus, systemctl allows you to list all … Read more

How To Install MySQL – MariaDB on CentOS 7

Install MySQL / MariaDB Installing MariaDB is as simple as running just one command: And then start MySQL, now MariaDB: Be sure that MySQL/MariaDB starts at boot: To check the status of MySQL/MariaDB: To top MySQL/MariaDB: Check the installation with the command client:

Reset CentOS Root Password

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 on CentOS 7

Install ClamAV and set up scheduled scans. Install Epel: Install ClmAV Copy a the clamd.conf template, in case you don’t have a configuration file yet: Change the file and Comment out “Example” Change this… To this… Configure SELinux for ClamAV. Check if selinux in on: Write this command to get it working with SELinux if … Read more