FreeBSD Squid Proxy Caching Server Increase File Descriptors Limits

By default, FreeBSD limits the number of file descriptors that a process can open. Squid proxy caching server needs to open many files simultaneously, so you may need to increase the file descriptor limit for Squid. (https://lakeforestgc.com/) Here’s how to do it: Log in to your FreeBSD system as the root user. Open the /etc/sysctl.conf … Read more

Uninstall / Remove Webmin Software

Webmin is a web-based system administration tool that allows you to configure various system settings and services on your Linux system. If you wish to uninstall or remove Webmin from your system, you can follow the steps below: Log in to your Linux system as a user with sudo privileges. Stop the Webmin service by … Read more

FreeBSD Set Network Polling To Boost Performance

In FreeBSD, network polling can be used to improve network performance by reducing the amount of time spent processing interrupts. Polling is a technique where the network interface card (NIC) periodically checks the network for incoming packets instead of generating interrupts for each incoming packet. Here are the steps to set network polling in FreeBSD: … Read more

Oracle lsnrctl: error while loading shared libraries: /u01/app/oracle/product/11.2 Solution

If you encounter an error message like “lsnrctl: error while loading shared libraries: /u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1: cannot open shared object file: No such file or directory” when using the Oracle lsnrctl command, it means that the required shared library file is missing or not found in the system. Here are the steps you can take to resolve … Read more

PHP Add Captcha Protection To Web Forms

Adding CAPTCHA protection to web forms is a common way to prevent automated bots from submitting the forms. This can help to reduce spam and other unwanted submissions. Here are the steps to add CAPTCHA protection to a web form using PHP: Choose a CAPTCHA library. There are many CAPTCHA libraries available for PHP, including … Read more

Ubuntu Linux Save / Restore Iptables Rules

To save and restore iptables rules on Ubuntu Linux, you can use the iptables-save and iptables-restore commands. The iptables-save command writes the current iptables rules to a file, while the iptables-restore command reads the rules from a file and applies them to the system. Here are the steps to save and restore iptables rules on … Read more

Configure Linux As Bastion Host

A bastion host is a server or virtual machine that is exposed to the public internet and is designed to act as a gateway to access other servers or resources in a private network. In this section, we will explain how to configure a Linux machine as a bastion host. Here are the steps to … Read more