CentOS - Install jdk (uninstall openjdk)

Article directory I. Unloading openjdk 1. View the openjdk version 2. Unload openjdk Download jdk1.8 III. Installation of jdk1.8 Method 1. Manual configuration 1. Preparing jdk files 2. Configure `etc/profile'` 3. Make `etc/profile'effective Method 2. Installing binary packages Off-topic: Insta ...

Added by Base on Sun, 06 Oct 2019 13:23:43 +0300

Initialize saltstack minion

Many people will struggle between saltstack and ansible. Whether saltstack is good or ansible is good. First of all, we should realize the advantages and disadvantages between them.Saltstack is based on zero mq messaging system, which can achieve high concurrency (theoretically, a salt-master can concurrently run 1000 minions in a short time), ...

Added by php_blob on Sun, 06 Oct 2019 05:54:39 +0300

Linux Scheduled Task Management

In the actual production environment, there will always be some regular tasks, such as data backup, we can not always wait until that time to perform manually, then planning tasks will come into use. One-time Planned Tasks at One-time Planned Tasks at [HH:MM] [YYYY-MM-DD] Set up, press Ctrl + D to exit 1. Get the current time of the system ...

Added by JasonGreen on Wed, 02 Oct 2019 22:52:43 +0300

Linux System Deployment YUM Remote Warehouse and NFS Sharing Service

YUM overview YUM Software Update Mechanism Based on RPM Package Construction Automatically resolving dependencies All packages are provided by a centralized YUM software repository The Way of Providing Software Warehouse FTP service: ftp://... HTTP service: http://... Local directory: file://... Sources of RPM Packages Collection of RPM Packet ...

Added by darkvengance on Tue, 17 Sep 2019 17:25:20 +0300

Linux File Recovery (XFS & EXT4)

In Linux, the use of deleting rm commands should be cautious. Sometimes important files are deleted due to misoperation. At this time, don't be too nervous. If you operate properly, you can still recover. EXT Type File Recovery Deleting a file does not actually clear the inode node and block data, but deletes the name of the file in the block ...

Added by guido88 on Fri, 06 Sep 2019 09:42:10 +0300

Basic Measures to Ensure the Security of Linux Server

As an open source operating system, Linux server is widely used because of its security, efficiency and stability. However, if it is not controlled, there is no safe place to go. This blog mainly focuses on account security control, system boot and login control to achieve Linux system security. Change. And use auxiliary tools to find potentia ...

Added by cretam on Fri, 30 Aug 2019 15:12:14 +0300

Case 12. shell multithreaded backup database

The shell script is multithreaded, which is somewhat difficult to understand because it is implemented with named pipes. Multithreading means that what was originally done by one process is now done by multiple threads. If a process needs 10 hours to complete something, now allocate 10 threads, divide them up, and then do it at the same time, ...

Added by neh on Tue, 13 Aug 2019 07:21:20 +0300

MHA Cluster Management

Environmental Science: 192.168.205.37: as MHA server 192.168.205.47: as Master server 192.168.205.57: as Slave1 server192.168.205.67: as Slave2 server Edition: OS: centos 7 1810 with mini install mariadb-server 5.5.60mha4mysql-manager-0.56-0.el6.noarch.rpm mha4mysql-node-0.56-0.el6.noarch.rpm Purpose: MHA uses a program written in perl scrip ...

Added by Daniello on Mon, 12 Aug 2019 12:43:01 +0300

Install Java JDK 8 in CentOS 7/6.5/6.4

Original Link: http://www.cnblogs.com/cgfree/p/5397890.html This tutorial describes how to install and CentOS Configure the latest on servers 7, 6.5, and 6.4 Oracle JavaJDK for.Although these steps should also apply to other RPM-based d ...

Added by hongco on Mon, 05 Aug 2019 23:25:26 +0300

Redis 1 Master 2 Slave 3 sentinel Construction

Redis Master-slave + sentinel installation Pre-installation preparation 1. Machine preparation 5 sets 1 master node, 1 slave node The other three install one sentinel 2. Installation package preparation, version 3.2.9 3. Installation environment Check by command gcc-v that the following comma ...

Added by Silver_Eclipse on Fri, 02 Aug 2019 05:26:11 +0300