Linux automatically uses available RAM for disk caching to improve performance. However, during troubleshooting, benchmarking, or memory-related issues, you may need to manually clear cache in Linux without rebooting. This guide explains how to safely clear: Using the vm.drop_caches kernel parameter via the sysctl command. Understanding Linux Cache Memory Linux uses three primary types of cache: Cache Type Description Page Cache Stores file data to speed up disk reads Dentries Directory entry cache Inodes Metadata about files This caching improves performance. Clearing it unnecessarily can temporarily reduce system efficiency. When Should You Clear Cache in Linux? Clearing cache is useful when: Note: On production systems, clearing cache may temporarily degrade performance. How to Clear Cache in Linux Without Rebooting Step …
Linux
CentOS-7 is now powered by version 3.10.0 of the Linux kernel, with advanced support for Linux Containers and XFS (is a high-performance 64-bit journaling file system) as the default file system. It’s also the first version of CentOS to include the systemd management engine, the firewalld dynamic firewall system, and the GRUB2 boot loader. CentOS 7 supports 64 bit x86 machines. MySQL has been switched with MariaDB. 1. Systemd Systemd units : Systemd file locations: Directory Description /usr/lib/systemd/system/ Systemd file distributed with installed RPM package /run/systemd/system/ Systemd unit file created at run time. /etc/systemd/system/ Systemd unit file created and managed by the system administrator Comparison of the service utility with systemctl service systemctl Description service name start systemctl start name.service …
Getting Started with Ansible AWX: Complete Setup and Configuration Guide
Ansible is a popular automation tool based on Infrastructure as Code (IaC), used for provisioning infrastructure, managing virtual machines, and deploying applications across environments. It simplifies tasks such as configuration management, cloud provisioning, and service deployment. Ansible AWX is the open-source, community-driven version of Ansible Tower. It serves as a web-based interface and automation hub that makes managing Ansible workflows easier. AWX is often used in lab environments, proof-of-concept setups, and testing scenarios, and it forms the foundation for the enterprise-grade Ansible Tower. Why Use Ansible AWX? Ansible AWX enhances the usability of Ansible by providing a centralized platform for automation tasks. Some key advantages include: AWX helps streamline automation processes while maintaining flexibility and scalability. Key Concepts in Ansible …
CyberPanel Migration
CyberPanel is a modern, fast, and secure hosting control panel powered by OpenLitespeed. CyberPanel provides a graphical interface for Linux server management, and a one-click installation of LSCache, WordPress, Prestashop, Joomla, and git. It automates the initial setup for components like DNS, Mail service, and SSL certificates to reduce the time it takes to get set up for hosting. CyberPanel is free and Opensource running on the OpenLiteSpeed web server and can add multiple domains. CyberPanel arrives in two versions CyberPanel and CyberPanel Ent. This article focus on steps to perform Migrations with CyberPanel. CyberPanel to CyberPanel Migration If you need to transfer your website between two CyberPanel without losing any data, follow these steps. Backup Creation | Source server …
GRUB denotes GRand Unified Bootloader. GRUB is a multiboot boot loader software program that first runs when a computer/server starts. Its role is to carry forward from BIOS during the boot, load itself, load the kernel into memory, and then switch over execution to the kernel. Once the kernel picks over, GRUB has fulfilled its task and it is no longer needed. GRUB 2 is a descendant of GRUB. The GRUB 2 configuration file “grub.cfg” is normally located under the directory /boot/grub2. Here we are discussing the boot issue and how we can repair Linux boot failure in GRUB 2 rescue mode. We may see one of the “grub>” modes on the screen when a boot fails. It provides the …
CentOS 7.x and CentOS 8.x.
CentOS is one of the widely used operating systems nowadays as it offers full control over its highly customizable open-source packages. Due to its reliability and stability, CentOS become a popular choice among operating systems for servers. In every new OS release, it is obvious users expect performance improvements and new features in the new version over the old ones. CentOS officially released CentOS version 8.0 on 24th September 2019 and continues to releases updates and patches. Overall CentOS 7 and 8 are quite similar but CentOS 8 has more updated software and some newer features, major fixes, UI/UX improvements. As you know, CentOS 8 is a replica of RHEL 8 so it avails from its latest features. Let’s check …
Network configuration in Ubuntu 18.04 LTS using netplan
With Ubuntu 18.04 onwards, configuring IP addresses stands different from the older versions. When comparing with the previous versions the Ubuntu is using a new utility called Netplan – another order line arrange design utility, to arrange an IP address. Netplan has been presented by Ubuntu engineers in Ubuntu 17.10 where we no longer use the “interfaces” file to configure IP address but does the task using a YAML file with all default arrangement documents found under /etc/netplan/ directory. In this blog, we will check on how to design static and dynamic IP address in Ubuntu 18.04 LTS server. (more…)
The constantly increasing need for computing power is driven by the creation, development, and deployment of various processor intensive tasks. In most cases, individuals, businesses, and even academia find it hard to harness increased computing power without making a significant investment in the infrastructure, which could include supercomputers. SONM, a blockchain powered distributed computing platform has a solution that might solve the issue for many. SONM is a universal fog supercomputer. It allows users in the network to share unused processing power from their devices. This helps others who need additional computing resources. The peer-to-peer network supports many applications. These include video processing, CGI rendering, DNA analysis, complex scientific calculations, and website hosting.Like any other blockchain system, SONM also rewards …
The Network File System (NFS) was originally developed by SUN Micro-systems that allows communications between Linux/Unix systems. It allows you to mount your local file systems over a network and remote hosts or clients to interact with them as they are mounted locally on the same system. Benefits >> Central Data Management. >> Allows local access to remote files transparently. >> Very good for local or reliable connections Important NFS configuration file /etc/exports : All files and directories which need to be exported are defined in this which is located in server. Setup Need to have two CentOS systems : NFS Server NFS Client Server yum install nfs-utils nfs-utils-lib chkconfig –levels 235 nfs on service nfs start Here we are …
The Zend OpCache provides faster PHP execution through opcode caching and optimization. It improves PHP performance by storing precompiled script bytecode in the shared memory. Installing Zend OPCache on PHP 5.3 or 5.4 1. Login to SSH on your server 2. Type the following commands: #cd /usr/local/src #wget http://pecl.php.net/get/ZendOpcache # to get the latest (master) build do the following instead: