Results for “CentOS”

How to Compile and Install MySQL 5.7.13 on CentOS 7 Step by Step

MySQL 5.7 Key Features: Better Performance
With better optimization for multi-core CPUs, solid-state drives, and locking, 1 million QPS is no longer MySQL’s goal—whether the next version can reach 2 million QPS is what users care more about. Better InnoDB Storage Engine and More Robust Replication
Replication brings data integri …

Zookeeper Installation Guide for CentOS

1. Download the latest installation package:
cd /home
wget http://mirror.cnop.net/apache/zookeeper/zookeeper-3.4.10.tar.gz
tar zxvf zookeeper-3.4.10.tar.gz && mv zookeeper-3.4.10 zookeeper && cd zookeeper/conf && cp zoo …

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 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 Change the Default SSH Port on CentOS

How to Change the Default SSH Port on CentOS (Example: 8223):
vi /etc/ssh/sshd_config

Change: #Port 22
to
Port 8223Restart SSH:
service sshd restart

Add a firewall exception:
#/sbin/iptables -I INPUT -p tcp –dport 8223 -j ACCEPT
#/e …

CentOS System IP Access Control

Scenario: You have a bunch of machines. The server IP being accessed is 192.168.1.1, and the IP address allowed to access it is 192.168.1.2. No need to list the rest since they won’t be used anyway.

For Linux systems, the connection method is basically SSH, which can be controlled through configuration files …

CentOS System IP Access Control

Scenario: You have a bunch of machines. The server IP address being accessed is 192.168.1.1, and the IP address allowed to access it is 192.168.1.2. The rest don’t need to be written down since they’re not used anyway. On Linux systems, SSH is basically the standard connection method, and this can be achieved through file-based control …