Linux network service network settings related commands

Linux network settings View network settings Test network connection Use network configuration command Modify network profile This article mainly introduces some basic and common Linux network setting commands and some script file configuration steps in Linux. I. view and test network configuration 1.ifconfig -- View network interface a ...

Posted by Bobby_Jo on Tue, 19 Nov 2019 03:24:32 -0800

Nginx - rewrite (application scenario example)

Scenario 1 - Domain Name Based Jump The company's old domain name, www.accp.com, needs to be replaced by the new domain name, www.kgc.com, due to changes in business needs Old domain names cannot be abolished Jump from the old domain name to the new domain name with its parameters unchanged Experimental environment Linux Server (192.16 ...

Posted by redking on Mon, 18 Nov 2019 12:35:23 -0800

Configure yum agent under CentOS7

1. Application scenario: In some application scenarios, Linux servers need to install application packages through yum, but these Linux servers may not be able to connect to the external network, but there is no corresponding Yum server inside. At this time, find a server that can access the external network inside to configure a proxy, and th ...

Posted by brian183 on Mon, 18 Nov 2019 12:23:42 -0800

Precautions for fork to create multiple subprocesses at the same time in process control linux

                /****************************************************************************************************************** Reference resources: http://blog.sina.com.cn/s/blog_605f5b4f0100x444.html Note: precautions for fork to create multiple subprocesses at the same time in linux. ************************************* ...

Posted by delayedinsanity on Mon, 18 Nov 2019 08:46:33 -0800

Mairadb source compilation and installation

Source compilation and installation of Mairadb 1. Install the dependent components required by the environment first [root@node6 ~]# yum -y install bison bison-devel zlib-devel libcurl-devel \ libarchive-devel boost-devel gcc gcc-c++ cmake ncurses-devel gnutlsevel \ libxml2-devel openssl-devel libevent-devel libaio-devel 2. Create required us ...

Posted by Martin18 on Mon, 18 Nov 2019 08:09:33 -0800

[learn data structure from today 02] stack and queue

Catalog 1. Understand stack and queue 2. Talk about stack with code 3. Talk about queues with code Let's talk about stack and queue today. Review the previous chapter [data structure 01] array As long as the subscript of the data is known in the array, the data can be queried quickly through sequent ...

Posted by jimmyhumbled on Mon, 18 Nov 2019 04:01:51 -0800

Tomcat service installation - follow up (easy to do)

Tomcat introduction 1. Free and open source Web application server2. A core project in the Jakarta project of the Apache Software Foundation3. Jointly developed by Apache, Sun and some companies and individuals4. Loved by Java enthusiasts and recognized by some software developers5. Currently popular Web application server Tomcat core componen ...

Posted by Hybride on Mon, 18 Nov 2019 01:13:57 -0800

Nginx Service Optimizes Web Page Compression and Anti-theft Chain

Configure Nginx for Web Page Compression Nginx's ngx_http_gzip_module compression module provides the ability to compress file content, allowing the Nginx server to compress output content before sending it to the client, saving bandwidth on the site and improving the user's access experience. It is installed by default.Compression performance ...

Posted by faraco on Sun, 17 Nov 2019 13:51:12 -0800

Ubuntu Compile Install HAprox+Keepalived+MySQL Load High Availability Architecture (combined with Docker container configuration)

System environment: Ubuntu 16.04 (Docker container) Architecture environment: Keepalived/HAproxy MASTER: 172.17.0.4 Keepalived/HAproxy BACKUP: 172.17.0.6 MySQL MASTER: 172.17.0.2 MySQL SLAVE: 172.17.0.3 HAproxy version: haproxy-2.0.8.tar.gz Keepalived version: keepalived-2.0.19.tar.gz   1. Install HAproxy (both MASTER/BACKUP) 1. Go to the offic ...

Posted by kujtim on Sun, 17 Nov 2019 05:41:06 -0800

Groovy Unit Test Framework spock Data Driven Demo

spock is an all-round unit testing framework. The last article shared the use of the basic features of the spock framework, and on that basis, I made some attempts based on Groovy encapsulation, data-driven, and some advanced Groovy syntax I wrote.There's still a bit of a problem, I don't know if it's because I'm a Java and Groovy hybrid proj ...

Posted by MLJJ on Sun, 17 Nov 2019 00:01:42 -0800