Category: System

Linux (238)
Windows (383)

How to Clear Yum Cache on CentOS

Yum stores downloaded packages and headers in its cache and does not delete them automatically.
If you find they are taking up disk space, you can use the yum clean command to clear them. More specifically, yum clean headers clears the headers, yum clean packages clears the downloaded …

How to Resize /dev/shm on CentOS 6.x

How to Resize /dev/shm in CentOS 6.x

/dev/shm is a very special directory, mounted by default on system memory with a size of half the total system memory. However, in many cases this size fails to meet our needs. Here’s how to modify its size on a CentOS 6.x system.

1、Edit /etc/fstab #vim /etc/fstabBefore modification …

How to Use the free -m Command

When using a Linux system, you often run the "free -m" command to check system memory. Let’s learn how to interpret the data this command outputs. free -m

[oracle@iZ~]$ free -m total used free shared buffers …

How to Set Up VNC Graphical Interface on CentOS

How to Install a GUI and Set Up VNC on CentOS Cloud Servers

If you need to use a graphical user interface on a CentOS cloud server—for example, to install Oracle using its GUI installer—how should you proceed? Today, I’ll walk you through installing a desktop environment and setting up VNC to solve this problem.

The installation process may clear your DNS settings, so make sure to run the following command first before proceeding…

How to Install SVN Server on Linux Using Yum

Installation steps are as follows:
1. Install via yum yum install subversion
2. Create the SVN repository directory, the location can be set arbitrarily: mkdir -p /var/svn/svnrepos
3. Create the repository svnadmin create /var/svn/svnrepos After executing this command, it will create files under /var/svn/svnr …

How to Establish SSH Trust Relationships on Linux

For easier management, especially when dealing with many machines, passwordless login becomes essential.

Simulated scenario: Machine A wants to log into Machine B via SSH without a password:
Machine A IP: 192.168.0.100 Machine B IP: 192.168.0.223

1. Log into 192.168.0.100 and generate a public/private key pair for Machine A …

How to Display Timestamps in Linux History Command

Many people use the history command, which by default lists all operations of the current user. However, many Linux distributions have history configured without user and timestamp information, which makes it difficult to review past operations. After checking the man page …