When running applications on a Linux server, it's important to ensure that adequate memory is available to avoid performance issues or crashes. A swap file can drastically improve your server's responsiveness by utilizing hard drive space as virtual memory when RAM is fully consumed. Below are the
-
-
- Posted on
- Featured Image
One of my clients experienced a problem, Virtualmin couldn't connect to MySQL 8.0 server, the problem appeared after the VPS rebooted. In Virtualmin MySQL Database Server page, There is an error message: DBI connect failed : Can’t connect to local MySQL server through socket -
What is the C10K problem? The C10K problem, known as the ten thousand simultaneous connections problem, is a numeronym used to express the limitation that most servers have in terms of network connections. This limit is based on the observation that in the various possible hardware and software
-
- Posted on
- Featured Image
This is my setting when assigning static IPs to KVM guests using DHCP in Proxmox. Currently I have 1 public IP and 2 failover IP (both failover IP has MAC address attached). Install the DHCP server : apt install isc-dhcp-server Edit the config: vi /etc/default/isc-dhcp-server # Add below lines. The -
- Posted on
- Featured Image
Is this possible to install Windows using the rescue system? The short answer is Yes. We just need to use the portable qemu-kvm. Portable here means we do not need to install it inside the rescue system but we just need to extract it inside the temporary folder, eg. /tmp and execute the qemu-kvm -
- Posted on
- Featured Image
RAID is not a backup. RAID arrays can fail just like single drives, RAID is designed for fault tolerance NOT backups. I wrote this script to backup MySQL databases and than upload it to FTP server using cURL. Create db-backup.sh and make it executable: vi /root/db-backup.sh chmod +x -
- Posted on
- Featured Image
I'm looking for KVM manager that is free, web based, lightweight, and easy to use to manage multiple dedicated server for my personal use. Need the ability to install Windows and Linux on its virtual machine so choosing KVM as the virtualization platform. If we read the following pages there will -
- Posted on
- Featured Image
Sometimes we need to mounting FTP server as folder on Linux and than auto mount it across reboot. This example is for CentOS 6. # Installing the CurlFtpFS package (need EPEL repo): yum install curlftpfs A few CurlFtpFS command. # $ftphost = The FTP host # $mount = Mounted to folder # $user = FTP -
- Posted on
- Featured Image
In certain cases we may need to redirect visitors to a particular website, folder, or specific pages. So how to achieve that if I am using Cloudflare? Cloudflare have IP Geolocation feature and once enabled the "CF-IPCountry" header will available to all requests. 1 The .htaccess file We will use -
- Posted on
- Featured Image
This time I will discuss on how to install CentOS 7 remotely using VNC. There are some differences between installing CentOS 6 and CentOS 7 remotely via VNC due to different versions of grub. Basically in CentOS 6 you will find this kind of setup for the menu entry (supposed we have boot