Linux
Linux, cPanel, CentoOs
Articles
What Is OSPF (Open Shortest Path First)? How It Works, with a Linux Example
OSPF (Open Shortest Path First) is a routing protocol that routers inside one network use to find each other and share how they are connected. Every router builds the...
What Is PHPSUEXEC and How Does It Secure PHP Files?
When using the common PHP installation on a web server, PHP runs as the user nobody and it doesn't require the execute flag to be enabled. The problem with this is...
What Is SSH (Secure Shell) and How Does It Work?
Secure Shell (SSH), known as Secure Socket Shell, is a UNIX-based command interface and protocol for securely getting access to a remote computer. It is widely used by...
What Is the Linux OOM Killer and How to Prevent It
The OOM (out of memory) killer is part of the Linux kernel. When the system runs out of memory and swap, it stops a process, usually the one using the most memory, to...
What Is udev in Linux? A Beginners Guide to udev Rules
udev is the part of Linux that reacts when you plug in or remove a device. It sets up the device's entry in /dev, adds easy names for it and decides who may use it,...
What are the sysctl tunables for the OOM Killer configuration?
Understanding and Configuring the Linux OOM Killer
Linux is well known for its strong memory management capabilities, but even the most optimized systems can...
What is the path to public html in php?
On cPanel hosting, your main domain's files are in:
/home/your-cpanel-username/public_html
Replace your-cpanel-username with your cPanel username. Some servers use a...
What version of Apache do you support?
Our cPanel servers run Apache 2.4 through cPanel's EasyApache 4, kept up to date with cPanel's security releases. Some servers use LiteSpeed, which reads the same...
Whoami Command in Linux
The syntax for the whoami command is as follows:
whoami [OPTION]
To display the name of the user who is currently logged on to the system, invoke the command...
Why do you restrict outgoing port access? Why do you charge for a dedicated IP?
Why some outgoing ports are restricted
On shared hosting, many accounts share one server and IP address. To protect that IP's reputation and the other customers, some...
XFS error: Unable to mount filesystem With Noacl Permission in CentOS/RHEL 7
The Problem
User is unable to mount xfs with noacl permission. noactl mount option for xfs file system is set in /etc/fstab file.
<# cat /etc/fstab /dev/sbb1 /mnt...
cPanel addon domain creation: The domain already exists in the Apache configuration
We might get an error when adding an addon or parked domain via cPanel. The domain name never shows up under Addon Domains in cPanel but it does exists anywhere in the...
cPanel copy an account from another server failed
You might have encountered following error while using ” Copy an Account From Another Server With an Account Password ”
Starting "TRANSFER" for "Account"...
cPanel not loading properly after enabling Cloudflare: solution
Cloudflare
My cPanel won't load or keep logging me out after enabling Cloudflare. cPanel has an option called "Cookie IP Validation". This setting checks that the IP...
ccat: Show cat Command Output with Syntax Highlighting or Colorizing
ccat is command line similar to cat command in Linux that displays the content of a file with syntax high lighting for the following programming languages: Javascript,...
cloc: Count Lines of Code in Many Programming Languages
cloc ("count lines of code") counts the lines in a project and splits them into code, comments and blank lines, per programming language. It is useful for estimating...
dnf history and yum history: Package Versions, Undo, Rollback
To check which version of a package is installed, run rpm -q rsync or dnf list --installed rsync (yum works the same, because on AlmaLinux, Rocky Linux and RHEL 8 to...
dutree: A CLI Tool to Analyze Disk Usage in Coloured Output
dutree is a free open-source, fast command-line tool for analyzing disk usage, written in Rust programming language. It is developed from durep (disk usage reporter)...
fd: A Simple and Fast Alternative to Find Command
fd, is a simple, fast and user-friendly tool meant to simply perform faster compared to find. It is not meant to completely replace find, but rather give you an easy...
fkill: Interactively Kill Processes by Name, PID or Port in Linux
fkill is a small command-line tool that stops processes by PID, by name or by the network port they listen on. Run without arguments, it shows an interactive list you...
fping Command on Linux: Ping Many Hosts at Once (Examples and Options)
The fping command pings many hosts at once. Run fping host1 host2 host3 and each target is reported as "is alive" or "is unreachable"; run fping -a -q -g 192.0.2.0/24...
fsck in Linux and Ubuntu: Run It Manually, Options and NTFS
fsck (file system consistency check) checks a Linux file system and repairs it. To run it manually, unmount the partition and force a full check: sudo umount...
mimipenguin: Dump Login Passwords From Current Linux Users
Mimipenguin is a free and open source, simple yet powerful Shell/Python script used to dump the login credentials (usernames and passwords) from the current Linux...
netstat: command not found? How to Install net-tools or Use ss and nstat
netstat: command not found means the net-tools package isn’t installed. Current distributions don’t install it by default; its replacement, ss from...
openSUSE Update Command: Update Leap, Tumbleweed and SUSE Linux Enterprise with zypper
The openSUSE update command is zypper. On openSUSE Leap and SUSE Linux Enterprise Server (SLES), refresh the repositories and install the official patches:
sudo zypper...