Nginx – Password Protect Web Directories

Managers of web projects often need to protect their work one way or another. Often people ask how to password protect their website while it is still in development. On an Apache web server, it’s possible to password protect a directory using .htaccess and .htpasswd files. However, .htaccess files are not supported on Nginx. Read More …

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 …

Powershell – Find computer name and domain

Sometimes it’s useful to know the computer name and domain you are working on. The first of the following commands returns the FQDN of the computer on the format whereas the second one returns a list of information about the system. Read More …

Microsoft Edge – Open from Run or Command Prompt

As many (almost all) applications available on Microsoft Windows platforms can be called from Run command (as even from Command Prompt and Powershell). Users who have been experiencing issues with the Start menu or Start menu search can use the Run command to launch their favorite programs, admin tools and settings. 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 7 – Regenerate UUID for Network Cards (Physical and Virtualized Environments)

Usually, when cloning VMs on virtualized systems (Hyper-V or VMware, for example) an issue could occur related to vNICs: a vNIC could be renamed and so no more the same of the old VMs (obviously). 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 …

Powershell – Force gpupdate on all Domain Computers

Client computers update Group Policies every 90 minutes by default, in a functional and working domain. In this brief article Read More …

Configuring Let’s Encrypt TLS Certificates

Let’s Encrypt® has revolutionized the way to obtain, install and use TLS/SSL certificates for websites and other services. With its 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 …