Centos7系统优化 By duncan21Posted on 2017 年 1 月 19 日2021 年 11 月 10 日Posted in LinuxTagged centos7, 优化No Comments on Centos7系统优化 #升级内核到最新 可以参考:https://teddylu.xyz/blog/4258.html #升级openssl 可以参考:https://teddylu.[……] 阅读全文 Read More
[转]CentOS7修改服务器主机名方法 By duncan21Posted on 2016 年 11 月 21 日Posted in LinuxTagged centos7No Comments on [转]CentOS7修改服务器主机名方法 CentOS7修改服务器主机名方法 CentOS7下修改主机名 第一种:hostname 主机名 01.hostname 主机名称 这种方式,只能修改临时的主机名,[……] 阅读全文 Read More
[转]centos7 开机/etc/rc.local 不执行的问题 By duncan21Posted on 2016 年 9 月 14 日Posted in LinuxTagged centos7, rc.localNo Comments on [转]centos7 开机/etc/rc.local 不执行的问题 最近发现centos7 的/etc/rc.local不会开机执行,于是认真看了下/etc/rc.local文件内容的就发现了问题的原因了 #!/bin/bash #?T[......] 阅读全文 Read More
[转]CentOS7修改网卡名称为eth0 By duncan21Posted on 2016 年 1 月 27 日2018 年 7 月 7 日Posted in LinuxTagged centos7, 网卡 CentOS7修改网卡为eth0 1.编辑网卡信息 [root@linux-node2~]# cd /etc/sysconfig/network-scripts/ #进入网卡目录 [root@l[……] 阅读全文 Read More
[转]在CentOS 7上给一个网卡分配多个IP地址 By duncan21Posted on 2016 年 1 月 27 日Posted in LinuxTagged centos7, ip, 网卡 首先,让我们找到网卡的IP地址。在我的CentOS 7服务器中,我只使用了一个网卡。 用root特权运行下面的命令: ip addr 示例输出: 1: lo: <LOOP[......] 阅读全文 Read More