How to change SSH port on CoreOS

Change SSH port First you need to go to the settings of the /usr/lib/systemd/system/sshd.socket file and open it in a text editor Next, find the ListenStream option and change the port to the new SSH port of your choice. Then you need to save the file Restarting SSH If you […]

How To Install HTMLDoc on CoreOS

HTMLDoc is a special dynamic PostScript document parser (PDF 1.6). This guide is for installing HTMLDoc on CoreOS. After installing HTMLDoc, the creation of a simple one-page document will continue without any headers, footers, borders, or additional elements. Install HTMLDoc First you need to log in to root and create […]

How to Install Python 2 on Ubuntu 20.04

Python 2 has been removed from Ubuntu, but if you use programs that are more obsolete, then you need Python. It must be installed and configured. Install Python 2 Connect to your server Ubunt 20.04 and install Python 2 with apt. Check out the Python version Check available Python versions […]

Cybercrime As One Of The Biggest Threats To Society in 2020

In early 2020, the World Economic Forum (WEF) published an annual report on global risks, and oddly enough, cybercrime was one of the five global risks for all of humanity! Cyber ​​attacks on infrastructure, the destruction of natural ecosystems, extreme heat waves, political polarization and economic confrontations are ranked in […]

How To Enable Automatic Updates on Linux

Keeping your services up to date is very important and at the same time a very simple task. This requires a small amount of time, and in turn, it is critically necessary in order to secure your data. Before making any changes to your server, you should be familiar with […]

How To Use The DENSE_RANK () Function on MySQL

DENSE_RANK () is a window function that assigns the rank of each row within a section or result set without spaces in the ranking of values.The row rank is increased by one from among the different rank values ​​that go before the row. The syntax for the DENSE_RANK () function […]

How To Use The Whoami Command on Linux

The Whoami command prints the username with a valid user ID. This command is able to display the name of the logged in user. Using whoami Command syntax whoami [OPTION] To display the username, enter the following: whoami Next, you will see the username (example – user1): user1 The command […]

How To Use Uptime Command on Linux

The main goal of the Uptime team is to show how long the system has been running. Also, this command will display the time for you, the number of registered users as well as the average load of your system. Using Uptime The syntax for this command is as follows: […]

How To Enable The General MySQL Query Log on Linux

There are two potential possibilities to accomplish this: 1. Add to my.cnf file permanently or 2. include general queries for MySQL on versions higher than 5.1.29 1. Add to my.cnf file forever vim /etc/my.cnf log = /home/general-query.log Install via MySQL Console SET general_log = 1; Start server systemctl restart mysqld […]