LNMP architecture (Nginx installation, Nginx default virtual host, Nginx user authentication, Nginx domain name redirection)

Nginx installation 1. Enter the / usr/local/src / directory to download the installation package cd /usr/local/src/ wget http://nginx.org/download/nginx-1.6.3.tar.gz 2. Unzip installation package tar zxf nginx-1.6.3.tar.gz 3. Enter the source directory for compilation, and do not add too many plug-ins here for the time being. Later, ssl may b ...

Posted by zildjohn01 on Tue, 08 Jan 2019 15:36:10 -0800

SSH closes remote password login ---Window&Linux client certificate logins &window can't find ssh-keygen.

A few days ago, my Aliyun server was violently cracked, very uncomfortable, so I made this key certificate password-free login. First check whether sshd is installed in Aliyun's ECS server Get the secret key: If you don't see the previous git upload github's article. Type: [root@iz2ze8w7169ei61c5c1il5z ~]# vi /etc/ssh/sshd_config Mod ...

Posted by Paul15679 on Sun, 06 Jan 2019 22:15:10 -0800

PostgreSQL 10.0 preview enhancements - libpq supports multiple host connections (failover,LB) to make database HA and applications more closely coordinated

Label PostgreSQL , 10.0 , libpq , jdbc , failover , loadbalance , multi host , target_session_attrs background The word database should be familiar in the Internet. But how can master-backup switching and applications work together seamlessly? You may have such questions. 1. What type of QUERY is sent to the main library and what type of QUE ...

Posted by qiangxd on Sun, 06 Jan 2019 20:09:10 -0800

Make vim a code reader (for mac and ubuntu)

Tools needed: NERDTree Cscope ctags vundle homebrew(for mac) Catalog: Introduction to Software NERDTree Cscope ctags vundle homebrew mac installation ubuntu installation Introduction to Software NERDTree NERDTree is a vim plug-in that displays tree directories: Enter the tree interface of ...

Posted by alapimba on Sun, 06 Jan 2019 15:39:09 -0800

git push problem: committer'x x x (x)'does not match your user account

Written in front When you use multiple git accounts locally, or when multiple people deploy multiple git accounts with one machine, there are often conflicts. Today, you have encountered one. Problem description Many of us use a machine together. When we reconfigured yesterday, we accidentally set my username and mailbox to the global configura ...

Posted by nads1982 on Mon, 31 Dec 2018 08:09:08 -0800

Linux Compiler x86 Architecture Kernel Occurs _stack_chk_guard Definition Error

background android simulator runs in virtualbox, while VirtualBox runs on the pc side of X86 architecture, so both android and its Linux kernel are compiled into x86 architecture. When virtual box's vt is not turned on, android system will have various problems, such as arm library game can not run, desktop ordinary hang dead restart. By look ...

Posted by bluebutterflyofyourmind on Sat, 29 Dec 2018 10:09:08 -0800

winexe Executes Error Reporting Solutions in windows 8.1 and windows Server 2012 R2

Summary Report errors: ERROR: Cannot open control pipe - NT_STATUS_INVALID_PARAMETER Reason: After doing a lot of research on code, hacker attacks and reading a lot of websites and even discussing topics with MS, the root cause of the problem is that Microsoft has deleted SMB1.0 from Windows 8.1 and Windows Server 2012 ...

Posted by recset on Wed, 26 Dec 2018 13:03:06 -0800

PostgreSQL 10.0 preview feature enhancement - dynamic view pg_stat_activity adds database management process information

Label PostgreSQL, 10.0, pg_stat_activity, management process, background process, work process, parallel computing process background PostgreSQL is a process model. Some management processes will be fork at startup and after startup, and the user's service process will be generated when the user connects. for example 1. Posmaster, responsibl ...

Posted by melody on Thu, 20 Dec 2018 05:15:05 -0800

PostgreSQL 10.0 preview Enhancement - Standby Support " Time, byte " Six-dimensional Delay

Label PostgreSQL, 10.0, Time Measurement Standby Delay, pg_stat_replication background Four fields in the pg_stat_replication view record WAL loci fed back from the standby. As follows: postgres=# \d pg_stat_replication View "pg_catalog.pg_stat_replication" Column | Type | Modifiers ---------- ...

Posted by oshecho on Tue, 18 Dec 2018 23:15:04 -0800

spring cloud Starter Series 7: A Git-based Distributed Configuration Center -- Spring Cloud Config

The spring cloud components we touched on earlier are all based on Netflix components. This time, let's look at a brand new project created by the spring cloud team itself: Spring Cloud Config.It is used to provide centralized external configuration support for infrastructure and micro services in distributed systems. It is divided into two par ...

Posted by hayson1991 on Mon, 17 Dec 2018 15:54:04 -0800