How to Restore the Misdeleted tree Command

Examine the usage of RPM and yum 1. Delete the tree command, the tree command is not available [root@centos7 ~]# which tree /usr/bin/tree [root@centos7 ~]# rm -f /usr/bin/tree [root@centos7 ~]# tree . bash: tree: command not found... 2. Direct yum or rpm installation will prompt tree to be installed [root@centos7 ~]# yum install tree Loaded ...

Posted on Fri, 11 Oct 2019 13:55:15 -0700 by Double_M

Research on realizing keep-alive principle by http client

Browsers always add the header information of Connection: Keep-Alive when requesting. We all know that on the server side (nginx), the connection retention time can be controlled by setting keepalive_timeout.Does the maintenance of HTTP connections require browser (client) support? You will certainly know that you need client support. So today ...

Posted on Mon, 07 Oct 2019 10:55:35 -0700 by kellz

Installation of Lnmp (Multi-PHP Version and Pagoda)

[info] Just a little bit of understanding. It's not really like this. It's all done by docker-compose. Install Lnmp (multiple PHP versions) Download the corresponding mirror version https://hub.docker.com/ Search mirroring docker pull mysql:8.0 docker pull mysql:5.7 docker pull php:7.2-fpm docker pull php:5.6-fpm docker pull nginx:1.15 Create ...

Posted on Mon, 07 Oct 2019 08:41:43 -0700 by power3

Environment Installation Script

LNP environment Nginx + PHP + Composer + Supervisor Applicable to Laravel environment Contains: Nginx, PHP 7.2, Composer, Supervisor PHP module: fileinfo, imap, ldap, redis, memcached, swoole install # Install Nginx + PHP and copy all four lines together wget -c http://mirrors.linuxeye.com/oneinstack-full.tar.gz \ && tar xzf oneinst ...

Posted on Mon, 07 Oct 2019 03:14:36 -0700 by Phoenixheart

Linux System: Building Nginx and FastDFS File Management Middleware under centos7

This article source code: GitHub. Click here || GitEE. Click here Introduction to FastDFS 1. Basic concepts FastDFS is an open source lightweight distributed file system. It manages files. Its functions include file storage, file synchronization, file upload, file download and so on. It solves the problems of large capacity storage and load ba ...

Posted on Mon, 07 Oct 2019 03:06:37 -0700 by chanchelkumar

kuberenetes Multi-node Cluster and High Availability Configuration

Label (Space Separation): kubernetes Series 1: High Availability of kubernetes master Nodes 2: Configuring nginx server Third: The keepalived high availability of LB configuring nginx 1: High Availability of kubernetes master Nodes kubernetes multi-master cluster architecture The high availability of kubernetes is mainly due to api ...

Posted on Sun, 06 Oct 2019 04:02:01 -0700 by Corpheous

Note: Nginx proxy axios requests and precautions

Recently, we wrote a small demo. Because of the cross-domain limitation of the interface when we use the online data of a large factory, we use Nginx agent to solve these problems. 1. nginx.conf configuration information Because of the large amount of configuration information of nginx.conf, this article only focuses on following axios and stat ...

Posted on Sat, 05 Oct 2019 20:19:13 -0700 by smileyriley21

Installation of cloud oj on Cloud Server

Get root privileges sudo passwd root #Then enter the password su root Replacement source sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak #Backup source files sudo gedit /etc/apt/sources.list #Change the contents into Ali Yun's # Mirror Image of Ali Yun deb-src http://archive.ubuntu.com/u ...

Posted on Fri, 04 Oct 2019 21:19:33 -0700 by chrislive

Linux Centos7 keepalived + nginx load balancing

First, you need to shut down the firewall and selinux 1. Prepare four nginx servers, two servers as proxies and two servers as real backend servers. 2. Configure two real serversThe first stage: [root@vm-4 ~]# systemctl start nginx [root@vm-4 ~]# systemctl enable nginx [root@vm-4 conf.d]# echo "server111" > /usr/share/nginx/html ...

Posted on Fri, 04 Oct 2019 12:41:40 -0700 by mania

# How to deploy nginx and tomcat simultaneously on the same server

A recent problem java deployment usually uses tomcat But python deployment requires nginx + uwsgi But there is only one server. How to turn on nginx and tomcat at the same time on the server? First, look at the network ports. The same server can open different services through different ports I configur ...

Posted on Fri, 04 Oct 2019 10:33:21 -0700 by witty