mytianao

(1)使用的服务器配置:linux +apache + mysql + php
● linux使用CentOS7
● 使用http://www.bt.cn安装lamp系统,http://www.bt.cn/Help/Find?id=49这个网页是安装说明及使用方法和目录结构
● 安装云锁http://www.yunsuo.com.cn/,这是安装方法:http://help.yunsuo.com.cn/guide/Lin_inst.html
● 安装lnmp.org的LNMPA包里的lamp包,虚拟主机管理地址为/usr/local/apache/conf/vhost文件夹
(2)多IP配置方法:
查看网卡号:ifconfig

 

然后仿照/etc/sysconfig/network-scripts/ens33文件,增加一个新增虚拟端口的文件
如ens33:1
cp /etc/sysconfig/network-scripts/ifcfg-ens33 /etc/sysconfig/network-scripts/ifcfg-eth0:1

vi /etc/sysconfig/network-scripts/ifcfg-eth0:1

修改:
DEVICE=ifcfg-eth0:1
IPADDR=172.16.1.119

service network restart重启网卡,如果未生效,重启服务器。

分类:

技术点:

相关文章:

  • 2021-05-20
  • 2022-01-09
  • 2021-10-17
  • 2021-11-28
  • 2021-12-23
  • 2021-11-03
  • 2022-02-08
猜你喜欢
  • 2021-12-25
  • 2021-09-14
  • 2021-07-08
  • 2021-08-04
  • 2021-07-04
  • 2021-06-03
相关资源
相似解决方案