Managing internet usage is essential in organizations to ensure productivity and optimize bandwidth. Video streaming platforms can consume significant network resources, affecting performance for critical applications. Using Squid, administrators can easily restrict access to such websites by configuring access control rules. Understanding Squid Access Control Squid uses Access Control Lists (ACLs) to define rules for allowing or denying access to specific resources. These rules help administrators control which websites users can access through the proxy. Step 1: Edit Squid Configuration File Open the Squid configuration file: Step 2: Add ACL …
Miscellaneous
========================================================================= You can hide the commands entering in the shell by using stty command stty -echo Now all the commands that you type will be invisible. To disable this, you can use the command stty echo ======================================================================== If you require help, contact SupportPRO Server Admin Partner with SupportPRO for 24/7 proactive cloud support that keeps your business secure, scalable, and ahead of the curve.
How To Install Packages to the VPS container from the main Node? | VEID-based Installation
When managing virtual private servers (VPS) based on container virtualization, such as OpenVZ/Virtuozzo-style environments, you often need to install packages directly into a container from the main (host) node. This approach is useful for automation, recovery, or bulk provisioning without logging into each container individually. One of the commonly used commands for this purpose is: Here, VEID represents the Container ID, and yum is the package manager used inside the container. What This Command Does The command allows the host node (main server) to install packages inside a specific VPS …
Sometimes administrators need to identify server details such as the web server type, PHP version, or server configuration without having direct login access. This information can often be retrieved using simple command-line tools. One effective method is using the wget command to fetch HTTP response headers from a website. Using wget to Retrieve Server Details You can collect server information by running the following command: This command checks the website without downloading its content and displays HTTP header information returned by the server. Example Command Example output: Understanding the Output …
Swap space is defined as a temporary storage that can be used when machine’s memory requirements exceeds the size of the RAM available. Usually size of the swap partition is double of RAM memory. You can add a swap partition or add a swap file. I would recommend you to add a swap partition, but sometimes isn’t easy if you do not have enough free space. This article explains how to add a swap file to a Linux system. Determine the size of the new swap file and multiple by …
One way replication of MySQL database is a commonly used method for copying data from a master database server to one or more replica servers. MySQL replication helps maintain synchronized database copies across multiple systems using binary logs, improving availability, scalability, and backup reliability. In one-way replication, data flows only from the master server to the replica servers. The replicas receive updates from the master but do not send data back. This setup is widely used for backup servers, read-only database servers, disaster recovery, and load balancing. Although MySQL replication …
Sender Policy Framework (SPF) is actually an e-mail validation system designed to prevent e-mail spam by addressing a common susceptibility to get attacked. The main design intent of the SPF record is to allow a receiving MTA (Message Transfer Agent) to ask the nameserver of the domain which appears in the email (sender) and check if the originating IP of the mail (source) is authorized to send mail for the sender’s domain. The mail sender is required to publish an SPF but the sending MTA is unchanged.
Managing disk partitions is an essential task for Linux system administrators. Proper disk partitioning helps organize storage, improve performance, and simplify server management. Whether you are setting up a new server or adding additional storage, understanding Partition creation in Linux is extremely important. In this guide, we will explain how to create partitions, format them, mount them, and make the configuration permanent using Linux commands. What is Partition Creation? Partition creation is the process of dividing a physical hard disk into separate logical sections called partitions. Each partition can: Linux …
How to Disable Apache Core Dumps and Stop Core Files from Filling Disk Space
A core file (core dump) is a memory snapshot of a running process at the time it crashes or is forcefully terminated. When a PHP process is killed (due to memory limits, segmentation faults, or fatal errors), Apache HTTP Server may generate core dump files under the user’s account. These files: In most shared or VPS hosting environments, it is safe to disable core dumps unless you are actively debugging crashes. Why Core Files Are Created Core dumps are typically generated when: On servers running PHP with Apache, these dumps …
When a server’s primary IP address becomes blacklisted, outgoing emails may: If your server uses Exim as its mail transfer agent (MTA), you can temporarily restore email delivery by configuring Exim to send mail from an alternate IP address. This guide explains how to safely change the outgoing SMTP IP in Exim, verify the configuration, and avoid common deliverability mistakes. Why an IP Gets Blacklisted Before switching IPs, understand the root cause. Common reasons include: Changing the outgoing IP is a temporary workaround.The underlying issue must still be investigated and …