Linux

Fix: systemd-run doesn't run correctly on Cron

In systems like Debian and Ubuntu, we have the systemd-run tool, which is part of the systemd system. One of the characteristics of this tool is the ability to control and limit system resources with quotas and limits for each service executed. There are several ways to run systemd-run, but the main reason for this entry is for those times when it

Categories: Computing, Linux

How to unban IP from Fail2ban

When we use Fail2ban we can be sure that brute force attacks will not prosper on our server, but the drawback of this type of protection is that we ourselves, the end users can be blocked or banned by exceeding the maximum attempts allowed in each service, if we have somewhat flexible configurations that only block us for a few minutes and hours

Tags: fail2ban
Categories: Computing, Linux

Fix "curl: option --compressed...doesn't support this" Cygwin

If we are using cURL on Windows with Cygwin, and we want to use the --compressed option, we will encounter the error: curl: option --compressed: the installed libcurl version doesn't support this It seems like a serious situation, but no, one option we have is to simply use Linux;). In any other case, since we are using Windows for

Tags: cygwin, curl
Categories: Linux, Windows

Compress and Decompress entire directories in Linux

As not everything comes with a manual, or many times it is difficult for us to find documentation for some users, especially if it is a new operating system, such is the case of Linux. If you know how to use it, the terminal is a very powerful tool for any user, and you don't necessarily need to be an expert, we just need to know some commands or

Tags: terminal
Categories: Linux

Encrypt and decrypt files with key with GPG in Linux

First, GnuPG or GPG is a tool used for data encryption. It is used via the command line and is quite easy to use. GPL It is recommended to compress or group multiple files instead of encrypting one by one, recommended in the case of backup copies, using zip, tar or with the format of our preference. (adsbygoogle = window.adsbygoogle || []).push({}); Installation I

Categories: Linux

Restart Pure-FTPd in ISPConfig 3 when it cannot be accessed

Pure-FTPd is an FTP server for Linux-based environments that requires little knowledge to run. As not everything is sweet, there are times when we have problems, and there are problems that basically have no explanation, and to solve them it is enough to restart the software services, in the case of computing. A few times it has happened to

Categories: Linux

Add Swap in Linux without having to reboot

In Linux, there are two ways to have swap. The first is with a partition created when installing the system, and the second is with a file in our file system, commonly named swapfile. An example in which we might need to add swap is in the case of servers or virtual machines, since they do not have swap by default and when we have to run an

Tags: debian, ubuntu
Categories: Linux

Service management: Start, Stop, Restart in Debian and Ubuntu

Debian and Ubuntu are Linux operating systems that work practically the same, and have a particular way of handling services, although they now use "Systemd" they still use the "service" command. Although they may seem small, it is always helpful to have certain shortcuts to perform tasks. The services in Debian and Ubuntu that basically run at

Tags: debian, ubuntu
Categories: Linux

Share files with NFS Ubuntu server and Windows 10 client

In this short guide I will talk about how to mount a shared drive that is in an Ubuntu or Debian installation that will be the server with the NFS (Network File System) drive, on a network drive accessible from Windows 10 who will play the role of client. (adsbygoogle = window.adsbygoogle || []).push({}); Installation and configuration in Ubuntu or Debian as a

Categories: Internet, Linux, Windows

Add SVG images support and compression in Nginx

With the arrival of the SVG format (vector images) many years ago, it is necessary to configure our servers correctly to serve it in the best way. Although this is only supported in modern web browsers, using it properly will give us good benefits such as the possibility of using only one scalable version of an image instead of several depending on