Remote Desktop – Black Screen Of Death

Remote Desktop – Black Screen Of Death

The Issue – When using Windows Remote Desktop client the remote screen turns black right after login and you have no control. The issue can affect workstations and servers, laptops or desktops and…

How to Install and Configure CSF (Config Server Firewall)

How to Install and Configure CSF (Config Server Firewall)

Config Server Firewall / CSF is firewall application suite for Linux servers. CSF is also a Login/Intrusion Detection for applications like SSH, SMTP, IMAP, Pop3, the "su" command and many more.…

Linux: Delete Files Older Than X Days

Linux: Delete Files Older Than X Days

Log directory was out of control today since we have been archiving for years now, decided to keep only the past 30 days. I used the  find command to find…

Delete files older than X days on Windows 10

Delete files older than X days on Windows 10

How to use ForFiles to delete files older than X days on Windows 10 If you have different folders with a lot of files and you would like to cleanup…

How to change the listening port for Remote Desktop

How to change the listening port for Remote Desktop

Follow these steps to change the Remote Desktop server port: Open up Registry Editor by clicking on the Start Button, type in regedit and then hit Enter. In Registry Editor, navigate to…

How to zip a folder in Linux

How to zip a folder in Linux

Installing ZIP utility in Ubuntu sudo apt install zip unzip Installing ZIP utility in CentOS yum install zip unzip How do I use zip command to compress a folder? zip…

Resetting Administrator Password in Windows Server

Resetting Administrator Password in Windows Server

One of the worst things is forgetting your Administrator passwords since no one creates recovery disks. Instructions To reset the password on your Windows 2012 server, simply complete the following…

How To Reset Root Password On CentOS 7

How To Reset Root Password On CentOS 7

In boot grub select your top option and press e to edit. Go to the line of Linux 16 and change ro with rw init=/sysroot/bin/sh. Now press Control+x to start…

Reset Root Password on CentOS 5 & 6

Reset Root Password on CentOS 5 & 6

Boot Computer and Interrupt while booting at GRUB stage hitting ‘arrow‘ keys. Highlight your operating system using the arrow keys. Now press "e" to edit. Append single  at the end…

How do I mount a folder from another partition?

How do I mount a folder from another partition?

mount --bind /media/fl1/folder /home/user/dir This is not permanent, and will not be available on next restart. If you want it to persist, you'll need something in your /etc/fstab like this:…

RPM and YUM Commands Cheat Sheet for CentOS 7

RPM and YUM Commands Cheat Sheet for CentOS 7

Overview /etc­/yu­m.c­onf YUM config­uration file /etc­/yu­m/r­epo­s.d/ YUM drop in directory List yum list all list all installed and available packages yum list glob_­exp­res­sion list installed and available packages matching glob_­exp­res­sion yum list installed glob_­exp­res­sion list installed packages matching glob_­exp­res­sion…

How to disable IPv6 on Linux

How to disable IPv6 on Linux

Command line On a Red Hat-based system: As root To Disable IPV6 sysctl -w net.ipv6.conf.all.disable_ipv6=1 sysctl -w net.ipv6.conf.default.disable_ipv6=1 To enable IPv6: sysctl -w net.ipv6.conf.all.disable_ipv6=0 sysctl -w net.ipv6.conf.default.disable_ipv6=0 On a Debian-based…

Critical root vulnerability on server [CVE-2019-10149 Exim <4.92]

Critical root vulnerability on server [CVE-2019-10149 Exim <4.92]

Got an Email today from the LMD software (Linux Malware Detect) on my DirectAdmin server that Exim has a root vulnerability. Disable Exim: touch /etc/eximdisable service exim stop systemctl disable…