Using docker to build a private code repository from scratch

docker builds nginx tutorials Through< MySQL Construction of Building Private Code Warehouse from scratch with docker > and< Using docker to build gogs of private code repository from scratch > In fact, the code warehouse has been built successfully, but in order to facilitate access, we sometimes need to bind domain names, so we ca ...

Posted by BMurtagh on Wed, 09 Oct 2019 09:08:24 -0700

The Enterprise Section - Docker's Basic Order

Start, stop, restart of docker systemctl start docker #Start docker service service docker start systemctl stop docker #Close docker service service docker stop systemctl restart docker #Restart docker service service docker restart systemctl daemon-reload ...

Posted by ceruleansin on Wed, 09 Oct 2019 06:18:15 -0700

Django uses celery and NGINX to generate static pages for performance optimization

Performance optimization principle: When we want to return a page to client browser, we need to query data in database and render the data and basic page template to form a page to return to the client. But if every user visits the home page once, it will undoubtedly bring great performance problems to database query when the amount of visits ...

Posted by dshevnock on Mon, 07 Oct 2019 13:28:29 -0700

The use of saltstack's api

The use of api 1. Install salt-api [root@server1 ~]# Yum install-y salt-api # install API 2. Generating certificates and secret keys [root@server1~] # cd/etc/pki/tls/private/# generates certificates and private keys [root@server1 private]# openssl genrsa 2048 > localhost.key [root@server1 private]# c ...

Posted by shonuff on Mon, 07 Oct 2019 08:57:52 -0700

Collecting container logs of kubernetes

demand /The files under var/log/containers are actually soft links The real log files are in the directory / var/lib/docker/containers Options: Logstash (too much memory, try not to use this) fluentd filebeat Do not use docker-driver Log format /var/log/containers { "log": "17:56:04.176 [http-nio-8080-exec-5] INFO c.a.goods.proxy.GoodsGe ...

Posted by caraldur on Sun, 06 Oct 2019 23:26:54 -0700

Zuul (spring-cloud-zuul) Source Code Interpretation of Technology and Architecture

Preface Zuul is Netflix's open source micro-service gateway, which can be used in conjunction with Eureka,Ribbon,Hystrix and other components. It is currently integrated into the system by spring-cloud. zuul source code contains a lot of test code Many of zuul's code is 11 years old. What is gateway and why gateway is needed? The encyclope ...

Posted by nalleyp23 on Sun, 06 Oct 2019 18:55:49 -0700

Detailed description of HAProxy configuration file

Configuration details: HAPrpxy configuration file: / etc/haproxy/haproxy.cfg It consists of two parts: global and proxies. global: global configuration segment Process and security configuration-related parameters Performance tuning related parameters Debug parameter proxies: Proxy configuration ...

Posted by Cugel on Sun, 06 Oct 2019 11:25:06 -0700

linux System nginx Server Replacement Aliyun Certificate

A blank page. Visits to webpages are also prompts. Skip the prompt to continue visiting, the page is normal. So it's not the system that went wrong. The certificate has expired. Chief, give me a certificate and compress the package. It's this after decompression. So where should I put this? Do ...

Posted by wei on Sun, 06 Oct 2019 08:39:22 -0700

Deploy web01, web02, nfs, db01, backup, build wordpress, WeCenter, share, hot standby, real-time backup

Summary Deploy web01, web02, nfs, db01, backup, build wordpress, WeCenter, share, hot standby, real-time backup 1) Install nginx and php on web01 and web02 2) Create www users [root@web01 php]# groupadd www -g 666 [root@web01 php]# useradd www -u 666 -g 666 -s /sbin/nologin -M [root@web02 php]# groupadd www -g 666 [root@web02 php]# useradd www ...

Posted by Fusioned on Sat, 05 Oct 2019 22:57:48 -0700

How to Solve the Cross-Domain Problem of Spring Cloud Multi-Service

Why does this happen? Different domains get the same port [ajax will have browser protection for ajax requests]. Common cross-domain request resolution methods: 1.Jsonp uses script tags to initiate get requests without cross-domain prohibition 2.window.name+iframe is implemented with the mediation pro ...

Posted by belayet on Fri, 04 Oct 2019 19:29:51 -0700