1. Connect Centos7 under VMware and set a fixed IP 1) First, right-click the virtual image name and click "Settings" 2) Open the terminal and check the network 3) Edit this file as root user 4) Restart the network card and check the network 5) Edit the previously edited file again [root@nginx ~]# vi /etc/sysconfig/network-scripts/ifcfg-ens33 #IPADDRO and PREFIXO are as shown above. For GATWAYO and DNS1, you only need to change the last part of IPADDRO to 1. IPADDRO=192.168.126.136 PREFIXO=24 GATWAYO=192.168.126.1 DNS1=192.168.126.1 6) Restart the network card and the setting is completed [root@nginx ~]# systemctl restart network 2. Install wget on Linux [root@nginx ~]# yum -y install wget 3. Linux installation tree [root@nginx ~]# yum install tree -y 4. Install vim on Linux [root@nginx conf]# yum -y install vim* 5. Linux installation zip [root@Nginx images]# yum install zip 6. CentOS7 uses firewalld to open and close the firewall
7. Install netstat on Linux [root@Nginx sbin]# yum install net-tools 8. Linux uses netstat to check whether the port is occupied [root@Nginx sbin]# netstat -anp|grep 8080 tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 1245/nginx:master 9. Install bc calculator on Linux [root@localhost ~]# yum install bc Summarize The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. Thank you for your support of 123WORDPRESS.COM. If you want to learn more about this, please check out the following links You may also be interested in:
|
<<: js implements a simple calculator
>>: Detailed explanation of MySQL stored procedures, cursors, and transaction examples
Preface Many years ago, I was a newbie on the ser...
I want to use the marquee tag to set the font scro...
What is HTTP? When we want to browse a website, w...
This article example shares the specific code of ...
First download the dependencies: cnpm i -S vue-uu...
Table of contents Advantage 1: Optimization of di...
Database migration is a problem we often encounte...
Table of contents Preface Introduction Live Easy ...
This article mainly introduces several scheduling...
Table of contents 1. Concept of array flattening ...
CSS Layout - position Property The position attri...
When developing a backend management project, it ...
This article uses examples to describe the common...
This article describes how to use docker to deplo...
In order to speed up the parsing of the website, ...