Set up Node server manually
Node static resource server
Static resource server is classified from server function. As the name implies, it only deals with static resource requests of browser Static resources here refer to html, js, css, pictures, audio and video... Other documents
Create server
through the native http module, start a service to process file ...
Posted by xxtobirichter on Thu, 14 Nov 2019 04:19:40 -0800
Alibaba cloud deployment 5. Domain name, DNS, nginx
domain name
Although you can visit your website directly through ip address, we seldom see that the website is accessed through ip address, and generally the website will provide domain name. The domain name is intuitive and easy to remember, and the resolved ip address can be changed without changing the domain name accessed by the user.
The d ...
Posted by vikaspa on Sat, 02 Nov 2019 03:07:35 -0700
Centos 7 installs nginx (source code)
Liunx installing nginx (source code)
First step
Get into Download on nginx official website , select the version you need
For example, I
wget http://nginx.org/download/nginx-1.16.0.tar.gz
decompression
tar -zxvf nginx-1.16.0.tar.gz
install
Enter nginx-1.16.0 directory
./configure
Here, ...
Posted by F.Danials on Wed, 30 Oct 2019 12:59:12 -0700
Python offline installation of python3 pip3 and offline installation of your third-party modules
In the case of many enterprise production networks, servers cannot be connected to the Internet. You can install python and third-party modules offline through the following learning
Install Python 3 dependency package
Off line installation
yum install --downloadonly --downloaddir=/home/files zlib-devel bzip2-devel openssl-devel ncurses-devel ...
Posted by devang23 on Fri, 25 Oct 2019 12:40:12 -0700
Complete steps of source code installation of Nginx on centos7 platform
1. install make
yum install gcc automake autoconf libtool make
2. install gcc
yum install gcc gcc-c++
3. Install pcre Library
Download address: https://pan.baidu.com/s/13Kojg2Xcnp06qiw023uHoQ
Upload the downloaded pcre-8.35.tar.gz through ftp to the directory / usr/local/src of centos7.
cd /usr/local/src
# New pcre directory
mkdir /usr ...
Posted by xux on Fri, 25 Oct 2019 09:40:19 -0700
Using Ghidra to analyze the back door of phpStudy
Author: lu4nx @ know Chuangyu 404 active defense laboratory
Author blog: Using Ghidra to analyze the back door of phpStudy
Original link: https://paper.seebug.org/1058/
Several days have passed since this incident, and all those who responded have responded. Although many manufacturers and organizations have published analysis articles on ...
Posted by Dimensional on Tue, 22 Oct 2019 04:56:08 -0700
The installation and configuration of NGINX+PHP under Centos7
First compile and install NGINX:
1. Install dependency package
yum install -y gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl-devel
2. Run configure configuration
cd /usr/local/src/nginx-1.14.0 && ./configure --prefix=/usr/local/nginx
4. Compile and install
make && make install
5. Start NGINX
/usr/local/nginx/sbin ...
Posted by coupe-r on Mon, 21 Oct 2019 10:48:16 -0700
Implementation of node crawling web pages
I. Preface
It has always been felt that the crawler is a very high-end thing. In the era of big data, the crawler is particularly important. After a lot of exploration, we finally realized this function with node, including the analysis of grabbed content.
Two, text
1. First of all, build an http service, where we are familiar with koa (this is ...
Posted by itisme on Fri, 11 Oct 2019 11:39:34 -0700
axios Source Series - Internal Adapter
Default adapter
axios/lib/adapters/http.js
The core is the http(s).request method of nodejs to make requests
var utils = require('./../utils');
var settle = require('./../core/settle');
var buildFullPath = require('../core/buildFullPath');
var buildURL = require('./../helpers/buildURL');
var http = require('http');
var https = require('https'); ...
Posted by barteelamar on Sun, 06 Oct 2019 19:41:46 -0700
PM2 running json file and pm2-web configuration
PM2 runs json file to start node project and pm2-web installation
Define the run configuration file
We can predefine a configuration file and then work out how to run it. For example, we can define a file app.json, which reads as follows:
[root@jenkins-master linux]# cat app.json
{
"apps":[
{
"name": "service-sk_platform_profession ...
Posted by dpluth on Sat, 05 Oct 2019 03:41:28 -0700