Category Archives: Debian

Class “MySQLi” not found: in

Class “MySQLi” not found: in /web/system/library/db/mysqli.php on line 29 How to solve “Fatal error: Class ‘MySQLi’ not found”: in? Solution: root@en-03:~# apt install php8.2-mysql

How to upgrade debian 11 to 12

Step-by-Step Guide to Upgrade to Debian 12 from Debian 11 Copy & Paste as below: sed -i ‘s/bullseye/bookworm/g’ /etc/apt/sources.list sed -i ‘s/bullseye/bookworm/g’ /etc/apt/sources.list.d/*.list apt-get update -y && apt-get upgrade –without-new-pkgs -y && apt-get full-upgrade -y reboot lsb_release -a

Whoops! We seem to have hit a snag. Please try again later

After installing CodeIgniter 4 when you run the app then you will get an error like this: Whoops! We seem to have hit a snag. Please try again later And in cmd line when run composer update you see something similar to this output below: Problem 1 – codeigniter4/framework[4.0.0, …, v4.4.4] require ext-intl * ->… Read More »

Debian 12 The system will suspend now!

You have just installed Debian 12. However SSH session receive this unexpected message: Broadcast message from Debian-gdm@en-03 on tty1 (Mon 2024-01-08 09:34:01 SAST): The system will suspend now! The solution: This method works better to prevent SSH disconnecting from client side. Create /etc/systemd/sleep.conf.d/nosuspend.conf as follows: root@en-03:~# mkdir -p /etc/systemd/sleep.conf.d/ root@en-03:~# vi /etc/systemd/sleep.conf.d/nosuspend.conf [Sleep] AllowSuspend=no AllowHibernation=no… Read More »

How to backup and Restore ISPConfig 3

I recently backup and restored an ISPConfig 3 server root@za-02-802:#mkdir -p /backups/os/ispconfigbkuproot@za-02-802:#cd /backups/os/ispconfigbkup Back up all of the databases on a server: root@za-02-802:/backups/os/ispconfigbkup# mysqldump -u root -p –all-databases > all-database.sql root@za-02-802:/backups/os/ispconfigbkup# tar -pczf completeserverbackup.tar.gz /backups/os/all-database.sql /home /var/vmail /var/log /var/www /var/lib /etc /opt/letsencrypt /usr/local/ispconfig Restore to a New Server or Reinstallation root@za-02-802:#mkdir -p /backups/os/ispconfigbkup root@za-02-802:~# cd… Read More »

Installing PowerDNS (With MySQL Backend) on Debian

PowerDNS is a DNS server, written in C++ and licensed under the GPL. It runs on most Unix derivatives. PowerDNS features a large number of different backends ranging from simple BIND style zonefiles to relational databases and load balancing/failover algorithms. A DNS recursor is provided as a separate program. Installation of the PowerDNS Authoritative server… Read More »