Disable root Logins via ssh on Redhat

Before you disable root logins you should add an administrative user that can ssh into the server and become root with su. First, you will need to add the user. In the following example we will use the user name “admin”. The command adduser will automatically create the user, initial

Enable quotas on RedHat server with no control panel

As the root user, edit file /etc/fstab to add qualifier “usrquota” or “grpquota” to the partition you want quotas enabled for as shown below: /dev/hda2 /home ext3 defaults,usrquota,grpquota 1 1 This enables user and group quotas support on the /home file system. You can finish initializing quota support by simply

Redhat / CentOS / Fedora Linux Open Port

Red Hat Enterprise Linux 3 / 4 / 5 and above => Old Red hat Linux version => CentOS 4 and above => Fedora Linux 1) Open port 80 Open flle /etc/sysconfig/iptables: # vi /etc/sysconfig/iptables Append rule as follows: -A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport

Top 5 Linux Server Distributions for 2024

Overview 2023 was an active year in the Linux world! Red Hat, the biggest open-source company decided to lock the source code behind a paywall, Ubuntu dropped default support for Flatpak for all its flavors, Vim creator, Bram Moolenar, passed away, and Linux rose above MacOS in gaming stats with

What is Linux, How Does it Work, and What Can I do as a SuperUser?

What is Linux? Linux is a family of open-source operating systems that are based on the Linux kernel, first released on 09/17/1991 by Linus Torvalds. You can find the Linux OS packaged into distributions that include the kernel and supporting system software, libraries, and packages. Linux is a popular and

Linux: The Open-Source Solution – Benefits and Overview

Overview This blog post is intended to provide you with information and an overview of crucial topic points involving the Linux OS. Whether you are reviewing and contemplating which OS to use for your production environment or your desktop setup, the following seven topics will assist with understanding what Linux

How to Create a Group in Linux

If your Linux distribution is supporting multiple users, it can often be easier to assign user permissions based on groups, rather than basing them on individual users. By creating groups with specific permissions, then assigning existing users to these groups, you can pass along the permissions of the group to

How to Uninstall MySQL

If you find yourself needing to uninstall MySQL, it can be tricky sometimes to know if you’ve uninstalled it completely. Whether your running MySQL on Linux or Windows, just follow these instructions to uninstall MySQL and its associated data completely. How to Uninstall MySQL in Linux Need to uninstall MySQL

How to Zip a Folder in Linux

With Linux, as with any other operating system, the size of your files and applications makes a difference to the overall stability of your system. After all, servers only have a finite amount of storage, and once that storage is used up, processes can quickly grind to a halt. This