Categories
Linux Servers Tools Useful

Disk Partitions Commands in Ubuntu/Debian Server – LINUX Tools

1. fdisk The fdisk command can display the partitions and details like file system type, model, zise. In Ubuntu 20.04 report the size of each partitions, but not in all Linux distributions! @ sudo fdisk -l Disk /dev/nvme0n1: 232.91 GiB, 250059350016 bytes, 488397168 sectors Disk model: Samsung SSD 970 EVO 250GB Units: sectors of 1 […]

Categories
Linux PHP Servers

Where is the php.ini configuration and enabled PHP modules? – Ubuntu Server

PHP configuration folders is usually in /etc/php/ and the installed version, in my case is in /etc/php/7.4/ The active version can be found with the following command in Ubuntu (ubuntu 20.04 for my case): @ php -version PHP 7.4.13 (cli) (built: Dec 10 2020 08:08:23) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) […]

Categories
Linux Security Servers Useful

Delete UFW Firewall Rules on Ubuntu & Debian Server – Linux

If you want to delete active rules (filters) from UFW – Uncomplicated Firewall – , find out that it is very simple and there are two methods to do this, but first of all you have to make sure that UFW is installed and active (enabled): @ sudo ufw status If the displayed result is […]

Categories
Linux Security Useful

How to Change default SSH Port 22 to Increase Security

By default, the SSH service runs on port 22, but to prevent automated robots and malicious users from brute-forcing into your server, you should consider changing the default 22 SSH port with another randomly selected one.. To prevent incorrect server configuration, you should choose a port from the range of dynamic / private ports (i.e., […]

Categories
Linux Useful

Convert Subtitles SRT from ISO-8859-16 to UTF-8 – iconv – Linux

On the current personal NAS server, which is more like a Media Server for a Home Theater, I installed Jellyfin instead of more “popular” but not one of the most suitable for Home Media Center, such as Open Media Vault, or Amahi. The current configuration replaced an older server for which I used OMV (Open Media […]

Categories
Linux Useful

How to Remove Files Recursively using Wildcard? – Linux Command Line

A short time ago I had to delete a lot of files created by a script, which I didn’t need anymore, but those files were scattered all over the disk, in many folders and subfolders. After scouring the whole internet, reading all sorts of scripts and commands, I finally found a close solution, which I […]

Categories
Linux Tools

Linux ext4-exFat Copy problem with MC (Midnight Commander) file manager

Not lon ago I encountered a rather bizarre situation using MC file manager, an application that I have been using for a long time in Linux, maybe out of nostalgia from the times when I used Norton Commander or Norton Desktop on the MS-DOS operating system . Generally on Linux I use MC because it […]

Categories
Apps Linux Servers Wordpress

Add ClassicPress WebApp to HestiaCP Control Panel – Ubuntu 20 Server

Recently I set up a VPS, and for the Control Panel I initially chose VestaCP, but after researching the forums a bit I came to the conclusion that it is preferable to use HestiaCP, a fork of VestaCP. I do not go into detail for all the reasons, but from online reviews it seems that […]

Categories
Apps Linux Servers

BitTorrent Clients on Linux Server – qBittorrent vs Transmission

Because I like to use programs that are open source I used Transmission BitTorrent client for almost 2 years and apparently I had no problems with it, everything went smoothly. I recently upgraded my NAS server for multimedia and instead of Transmission and I installed qBittorrent, I said to try something else, to see how […]

Categories
Linux Security Servers Tools

How to allow an IP or range IPs in Fail2ban on Debian/Ubuntu Linux

I use Fail2Ban primarly to protect my wordpress-servers against brute force attacks. Fail2ban uses iptables (IP packet filter rules of the Linux kernel firewall) to block attackers, so, if you do not want to be left without access to the server, it would be useful to add a list of IPs from where you access the […]