Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Linux FAQ solution Summary

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Centos7 under VMware is connected and fixed ip is set.

1) first, right-click the virtual image name, and click "Settings"

2) Open the terminal and view the network

3) use the root user to edit this file

4) restart the network card to view the network

5). Edit the file you edited before

[root@nginx ~] # vi / etc/sysconfig/network-scripts/ifcfg-ens33 # IPADDRO and PREFIXO as shown above, GATWAYO and DNS1 only need to change IPADDRO to 1IPADDRO=192.168.126.136PREFIXO=24GATWAYO=192.168.126.1DNS1=192.168.126.1.

6) restart the network card and set it up.

[root@nginx ~] # systemctl restart network

2. Linux install wget

[root@nginx ~] # yum-y install wget

3. Linux install tree

[root@nginx ~] # yum install tree-y

4. Linux install vim

[root@nginx conf] # yum-y install vim*

5. Linux install zip

[root@Nginx images] # yum install zip

6. CentOS7 uses firewalld to turn on and off the firewall

Start: systemctl start firewalld off: systemctl stop firewalld View status: systemctl status firewalld boot disable: systemctl disable firewalld boot enable: systemctl enable firewalld

7. Linux install netstat

[root@Nginx sbin] # yum install net-tools

8. Linux uses netstat to check whether the port is occupied

[root@Nginx sbin] # netstat-anp | grep 8080tcp 0 0127.0.0.1 anp 8080 0.0.0.0 LISTEN 1245/nginx: master

9. Linux install bc Calculator

[root@localhost ~] # yum install bc

Summary

The above is the whole content of this article. I hope the content of this article has a certain reference and learning value for everyone's study or work. Thank you for your support. If you want to know more about it, please see the relevant links below.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report