LANP No Network Tower Blog

LAMP="Linux Apache Mysql PHP/Python" Linux is often referred to as a system, and there is no explicit version, such as CentOS/Ubuntu/Debian, which can be used as a server system. Apache is the engine of Web parsing, which is used to process Web source files into browser convertible page files. MySQL database, MySQL is a relational database ...

Posted by pmzq on Mon, 14 Oct 2019 11:11:53 +0200

Elastic search cluster building

Environment and Software centos7 elasticsearch 7.4.0 Because ES7 already has the JDK version of the required java built-in, the java installation is not introduced here. ES7 installation mode uses RPM installation mode. es node list ip Node name 192.168.1.100 es-node-master-01 192.168.1.101 es-node-master-02 192.168.1.102 es-node-mas ...

Posted by thomasgrant on Mon, 07 Oct 2019 04:14:21 +0200

Backup using rsync tools

rsync is a remote and fast incremental backup tool that supports local, ssh and rsync host synchronization.rsync is one of the basic components of the default Linux/Unix system installation, so we don't need to install it manually. [root@mysql /]# rpm -q rsync rsync-3.0.9-17.el7.x86_64 rsync programs do not have configuration files, so we need ...

Posted by webwiese on Mon, 07 Oct 2019 00:54:11 +0200

4-yum Tool Usage

Yum is more convenient than rpm. The biggest advantage of the yum tool is that it can download the required RPM packages online and install them automatically. If the RPM packages to be installed depend on each other, the yum tool will help us instal ...

Posted by playa4real on Mon, 09 Sep 2019 08:50:45 +0200

[Linux] history command displays time records

Hisry commands are available on both inux and unix to query the history of previously executed commands However, this record does not contain a time item So you can only see commands, but you don't know when to execute them Here's how history records time: Step 1: Check to see if your system supports it Note: This method is only valid for bash ...

Posted by Stingus on Sat, 31 Aug 2019 21:41:53 +0200

Linux Operations and Maintenance - shell script exercise string burning 1

Script description1. Script 1: Solution to reload a large number of library files2. Script 2: Select and switch to the working directory you want to switch Script 1 explains: One employee's centos7 host system had the following problems: implement ldconfig The following error occurred in command time: the library files are empty and the length ...

Posted by e-novative on Thu, 29 Aug 2019 10:22:59 +0200

ElasticSearch Cluster Log Limitation Problem

This article is based on CentOS7 environment using rpm package installation.ELK's default logging can grow significantly, with the exception of Elastic Search, and long runs can have catastrophic consequences (such as node downtime).This is the main problem we are facing today.The main strategy is to limit the total number of logs: time + size ...

Posted by iamngk on Fri, 16 Aug 2019 06:12:31 +0200

mysql database group replication (full synchronous replication)

1. Basic knowledge: Group replication model: Single master model: automatically elect a master node from many MySQL nodes in the replication group, only the master node can write, and other nodes Automatically set to read only Multi-master model: Any node in the replication group can be ...

Posted by JohnMike on Tue, 30 Jul 2019 11:58:25 +0200

Elasticsearch 7.2 Cluster Installation Important Node Records

1. Configuration file [root@es1 ~]# grep '^[a-zA-Z]' /etc/elasticsearch/elasticsearch.yml cluster.name: xing-application node.name: node-1 path.data: /var/lib/elasticsearch path.logs: /var/log/elasticsearch network.host: 0.0.0.0 cluster.initial_master_nodes: ["node-1"] http.cors.enabled: true http.cors.allow-origin: "*" discovery.seed_hosts: ...

Posted by s_ainley87 on Tue, 23 Jul 2019 12:34:21 +0200

Case 4. Auto-seal IP and decommission IP

One of the most common problems in Travelling is that the site is slow or inaccessible, and what you see on the server is that the site is CC***.CC*** is one of the DDos*** types, and ** users use a large number of "chickens" to initiate requests to the site they are targeting, which is so frequent that the servers of the site they a ...

Posted by rudibr on Fri, 19 Jul 2019 22:09:23 +0200