Linux – scp transfer files (passwordless) between systems

SSH (Secure SHELL) is a network protocol that is used to login into remote servers for execution of commands and programs. It is also used to transfer files from one computer to another computer over the network using secure copy (SCP) Protocol. Let’s see how to automate, passwordless, using Public/Private keys, file transfers between systems. Read More …

Ubuntu 18.04 – Restart network

Here are shown several ways how to restart networking from command line as well as from Graphical User Interface (GUI) on Ubuntu 18.04 Bionic Beaver distribution. Read More …

CentOS / RHEL 7 / Debian – Disable IPv6

If network troubleshooting leads you to believe there’s an issue with IPv6, you may need to shut down that protocol on your Linux machines. Since some hardware doesn’t take advantage of IPv6 (and most admins are still working with IPv4), a temporary and easy solution is to disable IPv6. Read More …

CentOS / RHEL – Managing Networking Service

One of the most common activities on a Linux system is, usually, modify some networking parameters to adapt the system to the actual network; so how can we restart networking service using command line options without restarting the whole system? How can I start / stop and restart networking service on a CentOS/RHEL 7 based system? Read More …

Check mySQL and MariaDB Server Version

There are circumstances where you need to know the version of your database server, e.g., when upgrading the database or patching any known server vulnerabilities. There are a few ways to find out what the version of your MariaDB server is. Read More …

Linux – Make immutable a file

The chattr command is used by system administrators to restrict the users from changing a file in a particular way or even the administrator can by mistake delete a critical file because of a mis-typed command. But if the immutable flag is set, these mistakes can be avoided. Read More …

Linux – Removing Apache HTTP Server

Removing Apache HTTP Server ensures that, it’s existing files or services will not create conflict when we install Apache HTTP Server from the source code. Read More …

Enable EPEL Repository (RHEL/CentOS 7.x/6.x/5.x)

EPEL (Extra Packages for Enterprise Linux) is open source and free community based repository project from Fedora team which provides 100% high quality add-on software packages for Linux distribution including RHEL (Red Hat Enterprise Linux), CentOS, and Scientific Linux. Read More …

Managing Uploads, Timeouts and PHP Limits in Nginx and Apache

There are software likes Apache, Nginx, PHP, and phpMyAdmin have multiple configuration settings that define and set limits to: Memory Usage (Allocation), PHP Script Run Times, Upload File Sizes. Read More …

SSH X-Forwarding (a more secure alternative to VNC)

X is a popular window system for Unix/Linux workstations (similar to explorer.exe for Windows systems), and one of its best features is its transparency. A great feature about using X is that you can run remote X applications that open their windows on your local display (and vice versa, running local applications on remote displays). Read More …