- 工信部備案號 滇ICP備05000110號-1
- 滇公安備案 滇53010302000111
- 增值電信業務經營許可證 B1.B2-20181647、滇B1.B2-20190004
- 云南互聯網協會理事單位
- 安全聯盟認證網站身份V標記
- 域名注冊服務機構許可:滇D3-20230001
- 代理域名注冊服務機構:新網數碼
1. 編輯ifcfg-eth0,eth0是系統中的第一塊網卡,1是第2塊,以此類推,找到“ONBOOT=no”,修改為“ONBOOT=yes”。
# vi /etc/sysconfig/network-scripts/ifcfg-eth0 #編輯eth0的配置文件#
DEVICE=eth0
HWADDR=00:00:00:00:00:00
TYPE=Ethernet
UUID=00000000-0000-0000-0000-000000000000
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
IPADDR=192.168.111.11
NETMASK=255.255.255.0
GATEWAY=192.168.111.1
DNS1=192.168.111.1
DNS2=222.172.200.68
# vi /etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
ifup eth0[root@******]# vi /etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
ifup eth0 #加入eth0網卡啟動項
售前咨詢
售后咨詢
備案咨詢
二維碼
TOP