Category: Linux

How to Check Memory Usage and Clear Memory on CentOS

Before clearing memory, let’s check memory usage.

Command: free -m then use the memory clearing command: echo 1 > /proc/sys/vm/drop_caches After using the clear command, you can follow up with the check command: free -m, to see if a lot of memory has been freed ps aux results sorted by memory usage …

Yum Command Deep Dive (Self, Update)

1. A yum repository can have multiple configurations. Under the directory /etc/yum.repos.d/, there are multiple files ending with *.repo. They can also be integrated into a single file (but I think keeping them separate is better, as you can choose which file to use for updates, and the source of the software packages can be seen from the yum update command). 2. yum repositor …

How to Check Memory Usage and Clear Cache on CentOS

Before clearing the memory, let’s check the memory usage with the command: free -m. Then use the memory clearing command: echo 1 > /proc/sys/vm/drop_caches. After running the clearing command, you can then use the check command again: free -m, to see if a lot of memory has been freed. The ps aux results, sorted by memory usage, …

Common Commands for Deploying Game Servers on CentOS

In the Linux world, if you don’t work with the command line, you’d probably feel too embarrassed to greet your peers. Servers are typically hosted remotely, and you generally log in via SSH—people who rely on remote desktops are a rare sight. This article covers commonly used commands on Linux servers. 1、View local …

How to Open a Large Text File in Linux

In the “big data” era, we often encounter large text files (GB-sized or larger). Suppose we need to manually search and edit these massive files, or manually analyze multiple GB-sized log files to troubleshoot specific issues. Traditional text editing software for …

20 Practical Examples of the ls Command

A fundamental command in Linux is ls. Without this command, we would encounter difficulties when browsing directory entries. This command must be known by everyone learning Linux. What is ls The ls command is used to list files and directories. By default, it will list the contents of the current directory. With parameters, we can use l …

12 Useful Commands for Linux Server Administrators

You’ve read plenty of tutorials and watched countless videos鈥攜ou’re now an advanced Linux user. Well, congratulations! But there’s still more to learn! The following commands will come in handy when you become a full-fledged system administrator! ifconfig: When modifying existing network interfaces in the kernel, you’ll use if …

How to Configure FTP Service on Alibaba Cloud Linux

Ø Installing vsftp Software on Redhat/CentOS
1. Update yum repositoryFirst, update the system’s yum repository. Convenience tool download link: http://help.aliyun.com/manual?&helpId=16922. Install vsftpUse yum command to install vsftp#yum install vsftpd -y …

How to Set Up A/MX Records for Domain DNS Resolution?

Domain name resolution is configured after you register a domain through a domain management service, so this tutorial assumes you already own a domain. Common domain registrars include Wanwang, Xinwang, West Data, and overseas providers like GoDaddy.

Setting up A/MX records is mainly needed when building a mail server …