You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.2 KiB
54 lines
1.2 KiB
# 操作系统 openEuler-22.03-LTS-SP1
|
|
|
|
https://mirrors.nju.edu.cn/openeuler/openEuler-22.03-LTS-SP1/ISO/x86_64/openEuler-22.03-LTS-SP1-x86_64-dvd.iso
|
|
|
|
|
|
用户名: root
|
|
密码: DsideaL4r5t6y7u
|
|
|
|
# 修改IP
|
|
cd /etc/sysconfig/network-scripts/
|
|
vi ifcfg-ens33
|
|
|
|
TYPE=Ethernet
|
|
PROXY_METHOD=none
|
|
BROWSER_ONLY=no
|
|
BOOTPROTO=static
|
|
DEFROUTE=yes
|
|
IPV4_FAILURE_FATAL=no
|
|
IPV6INIT=yes
|
|
IPV6_AUTOCONF=yes
|
|
IPV6_DEFROUTE=yes
|
|
IPV6_FAILURE_FATAL=no
|
|
NAME=ens33
|
|
UUID=31809ca1-cb2a-4136-9572-06e5c99394b8
|
|
DEVICE=ens33
|
|
ONBOOT=yes
|
|
IPADDR=10.10.14.14
|
|
NETMASK=255.255.255.0
|
|
GATEWAY=10.10.14.1
|
|
DNS1=219.149.194.55
|
|
DNS2=219.149.194.56
|
|
|
|
|
|
#重启network 服务
|
|
yum install net-tools.x86_64 -y
|
|
systemctl restart NetworkManager
|
|
|
|
|
|
#关闭防火墙服务
|
|
systemctl stop firewalld.service
|
|
|
|
#关闭防火墙开机自启
|
|
systemctl disable firewalld.service
|
|
|
|
|
|
#关闭 SELinux
|
|
setenforce 0 && sed -i s#SELINUX=enforcing#SELINUX=disabled# /etc/selinux/config
|
|
|
|
#增大允许打开的文件数——修改系统配置文件
|
|
echo "* soft nofile 65535" >> /etc/security/limits.conf
|
|
echo "* hard nofile 65535" >> /etc/security/limits.conf
|
|
|
|
重启生效
|
|
reboot |