Hello tech enthusiasts! Ever struggled with manual backups for LXC containers? In today’s post, I’ll demonstrate a seamless way to automate LXC container backups, making your life a tad easier. Without further ado, let’s delve into the script that I religiously use for this task: #!/bin/bash SHELL=/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DATE=`date +%Y-%m-%d` # The name of the…
How to Quickly Delete All MySQL Databases
Ever needed to delete all databases in MySQL? I recently faced this challenge. With a vast number of databases, manually deleting each one was daunting and time-consuming. But don’t fret, I’ve discovered an efficient command that makes this task a breeze. Streamlining MySQL Database Deletion: The Lifesaver Command: mysql -uroot -p<password> -e "show databases" |…
Solving the ‘failed to open statefile /var/run/network/ifstate: No such file or directory’ Error on a Debian Server
When your Debian server throws network issues, especially after a restart, it can bring operations to a halt. A common error that many administrators face, after commands ifup eth0 or /etc/init.d/networking restart is: failed to open statefile /var/run/ network/ifstate: No such file or directory This issue, while common, can be quite vexing as it directly affects…
How to Reset the Windows Administrator Password: A Step-by-Step Guide
Forgetting your Windows password is a common issue, and if you’re in this boat, you’re not alone. Thankfully, resetting the administrator password in Microsoft’s OS is not as daunting as it seems. This method works seamlessly for modern Microsoft OS versions, especially those starting from Windows 7. Prerequisites: For this method, you’ll need: Physical access…
How to Restore Linux Grub Bootloader
Ever faced the dilemma of losing your Linux bootloader? I’ve been there too. On a few occasions, my Linux bootloader was wiped, often due to Windows updates that overrode Grub. Additionally, many face this challenge when installing Windows alongside Linux. If you’re grappling with a similar issue, this guide will walk you through a straightforward…
Configuring Windows Firewall for Web Sites, FTP and DNS
In this article, I’ll show you how to configure Windows Firewall for a server that hosts sites and FTP, as well as DNS. There is nothing supernatural in this procedure, except that it will be necessary in IIS Manager to configure the port range for the passive mode of the FTP server. We go to…
The option of bypassing locks of Internet resources at work. Configure the SSH tunnel.
In this article I will show you how to organize an ssh tunnel from a computer running Windows. The server can be a computer with Linux on board, or your router. If the router from the box does not support SSH, then you can put custom firmware and most likely it will support SSH. It’s…
How did I struggle with the task scheduler service WebSitePanel
We received an application from the user that they stopped working in WebSitePanel scheduled tasks. When stopped working is not known. Most likely, when we updated the panel to the new version (from 2.0 to 2.1). In the new version of the panel, the developers decided to bring the Task Scheduler service to a separate…
Remote control of a Windows computer from the command line
Hello. Sometimes there are tasks when you need to do something on a remote computer, or there is no possibility to connect via RDP, for example, if the server is suddenly heavily loaded, and it does not have enough resources to start the terminal session (yes, I have met, do not say That often, but…
How to install phpmyadmin on Ubuntu
In this article, I’ll show you how to install phpmyadmin on Ubuntu. Phpmyadmin is a database management tool for MySQL. With it, you can manage databases, user tables, and so on. Even without the knowledge of MySQL. The installation of phpmyadmin is very simple, the requirements for it are set by LAMP: Put this commands…










