Fluentd-Elastic Search configures two or three things
Last weekend, I had nothing to do at home, so I set up EFK environment for the project team to collect logs. The final goal of the deployment is as follows:
In each application machine, a Fluent serves as the proxy, reads the specified application log file in tail mode, and then Forward to Fluentd, which acts as the aggregat ...
Added by kayess2004 on Sun, 19 May 2019 14:48:56 +0300
CentOS 7.2 Yum builds lamp
1. Close firewall and selinux after system installation
1. sestatus: Check selinux status; 2. getenforce view status; 3. Temporarily close selinux: setenforce 0 4. If you want to close permanently, you can modify the configuration file / etc/selinux/config and set SELINUX to disabled.
sudo vi /etc/sysconfig/selinux
SELINUX = disabled
Modify ...
Added by NiGHTFiRE on Sun, 19 May 2019 13:34:18 +0300
GitLab Construction and Sinicization
Preface
Last article The advantages of Git and its application are briefly introduced. This article will introduce the construction of GitLab.
As a company, you certainly don't want your code on someone else's website, so it's necessary to build your own Git warehouse (of course, if your company doesn't care, that's no problem). GitLab It's a ...
Added by justin15 on Sun, 19 May 2019 07:09:11 +0300
9. Automated issuance, validation, troubleshooting and resolution of service-side projects
sudo wget http://learning.happymmall.com/deploy/deploy.sh
echo "===========Get into git project happymmall Catalog============="
cd /developer/git-repository/mmall
echo "==========git Switch to mmall-v1.0==============="
git checkout mmall-v1.0
echo "==================git fetch======================"
git fetch
echo " ...
Added by shadiadiph on Sat, 18 May 2019 20:12:23 +0300
Multitask-protocol
I. Concepts of the protocol
Protocol, also known as micro-threading, fiber.The English name is Coroutine.
Collaboration is another way of multitasking in python, but takes up less execution units (understood as required resources) than threads.
The general understanding is that a function in a thread can store informatio ...
Added by Xanthis on Sat, 18 May 2019 04:28:50 +0300
Hand handle Ubuntu 16.04+cuda9.0+cudnn 7.1+Anaconda+tensorflow-gpu+keras
It's all tear and blood. Notes after reinstalling the system (Note that I didn't check it, the graphics card settings can refer to other posts)
Install CUDA
Download address, official website or Baidu cloud, Baidu cloud address
https://pan.baidu.com/s/1ZjI3LDlLpRf_NSVsrj7WSw
iqqx
Official website download failed, not to ...
Added by wafawj on Fri, 17 May 2019 03:09:42 +0300
Ubuntu Multiple Display Settings Can't Save Solutions
Recently, I added a new monitor, so I also have two monitors, one of which needs to be set up, but after setting up, restart, double display settings fail. After some troubles, we finally found the right way to set it up.
1,xorg.conf
/ etc/X11/xorg.conf is a file that stores a series of hardware configurations, and the config ...
Added by rocket on Fri, 17 May 2019 02:42:25 +0300
Python 3 Flask+nginx+Gunicorn deployment (below)
If you haven't seen the last article, please click here first.
Python 3 Flask+nginx+Gunicorn Deployment (Part I)
Continue with the previous article, in which we have run and installed gunicorn and nginx. In this article, we need to bind the nginx and gunicorn ports.
In the last article, we've run gunicorn
Guicorn-w 4-b 1 ...
Added by Sulphy on Thu, 16 May 2019 13:43:29 +0300
mongodb installation and Application
1. Install the database
If necessary, update the yum package management first. Take the CentOS system as an example below:
$ yum -y update
1. Install Mongodb
View the current system version
$ cat /etc/redhat-release
open https://repo.mongodb.org/yum/... , select the mongo version that suits your system, and then edit the Mongodb installation so ...
Added by Rianna on Wed, 15 May 2019 00:05:10 +0300