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
I recently encountered a problem at work. The doc...
1. What is Continuous Delivery The software produ...
Today I had some free time to write a website for...
Why use Server-Side Rendering (SSR) Better SEO, s...
Let’s take the translation program as an example....
When I was studying CSS recently, I found that I ...
In a recent project, I wanted to align text verti...
The following error message appears when installi...
As the most commonly used layout element, DIV play...
(I) Basic concepts of web page color matching (1) ...
The javascript function for converting <table&g...
I haven't worked with servers for a while. No...
The format is simple: proxy_pass URL; The URL inc...
This article example shares the specific code of ...
Suppose there is a table: reward (reward table), ...