#初装机器查询当前IP

1.虚拟机网络连接设置为桥接模式

2.查询当前主机IP命令 ip addr

3.查看/etc/sysconfig/network-scripts/路径下ifcfg-ens33文件 将文件中ONBOOT=yes

#wget command not found

1. yum -y install wget


#CentOS 7.0默认使用的是firewall作为防火墙

1.直接关闭防火墙 systemctl stop firewalld.service  

2.禁止firewall开机启动 systemctl disable firewalld.service


#安装nginx

https://www.cnblogs.com/hafiz/p/6891458.html?utm_source=itdadao&utm_medium=referral


#nginx做负载 upstream name name不能含有下划线等特殊符号 

centos设置静态IP

centos7记录

相关文章:

  • 2021-05-25
  • 2022-02-28
  • 2021-05-18
  • 2021-09-24
  • 2021-08-29
  • 2022-12-23
  • 2021-11-28
  • 2021-10-19
猜你喜欢
  • 2021-11-19
  • 2021-12-26
  • 2021-12-02
  • 2021-10-27
  • 2021-08-14
  • 2021-11-30
  • 2021-05-13
相关资源
相似解决方案