1 Install Parallel on the VM

2 download mirror mirrors.163.com/centos/7.7….

ParallelTools can be shared in the /media directory

4 Install yum install -y net-tools

5 Run the yum -y install telnet-server.x86_64 systemctl start telnet.socket systemctl enable telnet.socket command to install Telnet

6 Install nodejs tar -xvf node-v10.9.0-linux-x64.tar.xz

Node – mv v10.9.0 – Linux – x64 nodejs

The soft connection is set up and becomes global

1) ln -s/opt/software/nodejs/bin/NPM/usr/local/bin /

(2) ln -s/opt/software/nodejs/bin/node/usr/local/bin /

View the installed version

[root@localhost]# node -v

[root@localhost]# npm -v

7 Install nginx download address nginx.org/en/download…

1: Install wGET to download the nginx installation package

cd / yum install wget -y

2: Because Nginx uses the GCC compilation environment, it is necessary to install the compilation environment in mini centos to enable Nginx to compile

yum install gcc-c++

3: The HTTP module of Nginx needs to use PCRE to parse regular expressions

yum -y install pcre pcre-devel

4: Dependent decompression package

yum -y install zlib zlib-devel

5: OpenSSL installation

yum install -y openssl openssl-devel

6: Download nginx.org/en/download… Find the version you need to download (below is the latest version)

Switch to the opt directory, create a new folder nginx, and enter the nginx folder

Run the following command:

Wget nginx.org/download/ng…

Install nginx 1: Resolve nginx files

The tar ZXVF nginx – 1.13.11. Tar. Gz

2: Compile and install

Switch to opt and create folder nginx-1-13

Nginx-1.13.11./configure –prefix=/opt/nginx-1-13

3: Run the compile command in /opt/nginx/nginx-1.13.11

make

4: Run the installation command

make install

5: Switch to the installation directory

cd /opt/nginx-1-13

6: start

cd sbin/

./nginx./nginx -s stop./nginx -s quit./nginx -s reload./nginx -s quit: Stop the nginx process after the task is completed. /nginx -s stop: Check the Nginx process ID and then run the kill command to forcibly kill the process.

7: indicates the default nginx port number 80

/sbin/iptables -I INPUT -p TCP –dport 80 -j ACCEPT 8: Remote access test

At this point, nginx is successfully installed on Linux and can be accessed remotely

8 SSH connection SSH -p 22 [email protected] -p Specifies a port

9 shutdown poweroff