
vm虚拟机设置静态固定ip
安装linux系列系统
登陆用户名密码;
vi /etc/sysconfig/network-scripts/ifcfg-ens33
设置
BOOTPROTO=static 静态
ONBOOT=yes 开机自启
IPADDR=192.168.200.100 设置IP
NETMASK=255.255.255.0 设置掩码
GATEWAY=192.168.200.2
DNS1=192.168.200.2
service network restart 重启网络
ifconfig 查看是否ip设定是192.168.200.100
安装宝塔系列指令
Centos安装脚本
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
Ubuntu/Deepin安装脚本
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh
Debian安装脚本
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh
Fedora安装脚本
wget -O install.sh http://download.bt.cn/install/install_6.0.sh && bash install.sh
安装后如下:可连接访问
外网面板地址: http://192.168.200.100:8888/8d0339c0
内网面板地址: http://192.168.200.100:8888/8d0339c0
username: rvx2gabm
password: 46a49817

关注微信公众号『 淘游宝 』
第一时间了解最新网络动态关注站长不迷路~