Centos 7.6 configuring nginx reverse proxy load balancing cluster

I. Introduction to the experiment Three centos7 virtual machines are used to build a simple nginx reverse proxy load cluster, Address and function introduction of three virtual machines 192.168.2.76 nginx load balancer 192.168.2.82 web01 server 192.168.2.78 web 02 server 2. Install nginx software (the following three virtual machines should be ...

Posted by dr_overload on Mon, 02 Dec 2019 10:34:12 -0800

About ION's Library in Android

In the Android.mk file of Qualcomm's OpenCL SDK, you can judge the current kernel version. If it is greater than 4.12, then use library.so. Otherwise, use ion kernel UAPI: # Tries to determine whether to use libion or ion kernel uapi KERNEL_VERSION = $(shell ls kernel | sed -n 's/msm-\([0-9]\+\)\.\([0-9]\+\)/-v x0=\1 -v x1=\2/p') USE_LIBION = $ ...

Posted by whare on Mon, 02 Dec 2019 10:21:42 -0800

Centos7 compiles and installs nginx and sets the reverse agent

I. compile and deploy Nginx 1.12 Installation configuration: [root@localhost ~]# groupadd nginx [root@localhost ~]# useradd -s /sbin/nologin -g nginx -M nginx [root@localhost ~]# systemctl stop firewalld [root@localhost ~]# systemctl disable firewalld #Turn off selinux #Server file descriptors, etc [root@localhost ~]# yum install gcc gcc-c++ ...

Posted by MCP on Mon, 02 Dec 2019 10:13:31 -0800

Set up the server login and logout remote server from scratch

During the period of double 11, we started a cloud server, which took a week or two for filing, and finally passed the filing. So we installed Docker containers on the personal server for deployment projects, and prepared to pack all services into containers as much as possible, so as to facilitate unified management and operation and maintenan ...

Posted by kikidonc on Mon, 02 Dec 2019 03:31:57 -0800

CentOS 6.9 install mongodb and PHP mongodb extensions

Notes:CentOS6.9yum install mongodb and PHP mongodb extensions1. Installation dependency yum install libcurl openssl 2. Download and unzip wget -c https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-4.0.5.tgz tar -zxvf mongodb-linux-x86_64-4.0.5.tgz 3. Mobile mongodb mkdir -p /usr/local/mongodb mv mongodb-linux-x86_64-4.0.5/* /usr/local/mongod ...

Posted by icm on Sun, 01 Dec 2019 21:01:27 -0800

Installing MySQL-5.7.24 based on general binary mode

1. Ensure that there is a dependent libaio software in the system. Use the following command [root@localhost ~]# yum -y install libaio [root@localhost ~]# rpm -q libaio libaio-0.3.109-13.el7.x86_64 2. Use wget command to download mysql-5.7.24 package [root@localhost ~]# wget http://mirrors.sohu.com/mysql/MySQL-5.7/mysql-5.7.24-linux-glibc2.12 ...

Posted by mvleus on Sun, 01 Dec 2019 13:10:31 -0800

MySQL installation under CentOS

Mysql database is a common database. When you practice the installation, you may encounter various problems. Please refer to the installation method of MySQL database in CentOS system. If you have any questions, please leave a message and I will answer them at any time. MySQL installation steps are as follows: Step 1: upload MySQL binary instal ...

Posted by roze on Sun, 01 Dec 2019 12:26:41 -0800

Automatically clean up elasticsearch index on a regular basis

Catalog 1.1 how to view index 1.2 manual index deletion method 1.3 script cleanup index 1.4 scheduled tasks 1.1 how to view index Explain: 01: I have installed elasticsearch, kibana and logstash on one machine 02:192.168.10.138 is the intranet IP address monitored by elasticsearch 03:9200 is one of the ports of elasticsearch #How to view ind ...

Posted by Dan400007 on Sun, 01 Dec 2019 07:58:36 -0800

Configure Apache virtual host

Experimental environment A CentOS 7.3 virtual machine with minimal installation Configure the base environment 1. Install apache yum install -y httpd 2. Establish the root directory of the virtual host mkdir /var/wwwroot mkdir /var/wwwroot/site1 mkdir /var/wwwroot/site2 echo -e "site1" >> /var/wwwroot/site1/index.html echo -e "site2" &g ...

Posted by m3mn0n on Sun, 01 Dec 2019 05:24:04 -0800

Network virtualization

Network virtualization technologyOpenVSwitch: virtual switchVLAN, VXLANVirtual router What is VLAN?Virtual LAN: LAN refers to the range from broadcast frame to node, that is, the range of direct communication; VLAN: MAC address basedPort implementation based on switchImplementation based on IP addressUser based implementation Type of switch in ...

Posted by NathanLedet on Sat, 30 Nov 2019 21:00:43 -0800