随笔分类 - linux 基础
环境 目录
摘要:1.通过命令ulimit -a查看当前系统 [root@db01 ~18:50:18]# cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) [root@db01 ~18:50:24]# ulimit -acore file si
阅读全文
摘要:1,基础部分 1),配置网卡 1. 修改网卡配置注意事项 1).ubuntu从17.10开始,已放弃在/etc/network/interfaces里固定IP的配置, 即使配置也不会生效,而是改成netplan方式。 2).配置写在/etc/netplan/01-netcfg.yaml或者类似名称的
阅读全文
摘要:配置yum源 rm -f /etc/yum.repos.d/* curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo curl -o /etc/yum.repos.d/epel.r
阅读全文
摘要:网卡配置位置 1 /etc/sysconfig/network-scripts/ifcfg-ethx 其中x为网卡名称,centos 默认网卡名称为ens33 如何配置 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [root@db02 /et
阅读全文
摘要:Centos 7 网卡配置 网卡配置位置 /etc/sysconfig/network-scripts/ifcfg-ethx 其中x为网卡名称,centos 默认网卡名称为ens33 如何配置 [root@db02 /etc/sysconfig/network-scripts21:36:34]# c
阅读全文