系统优化
-
rhel 7.x 使用 udev scsi rules 配置裸设备详解程序员
1. 生成规则文件 touch /etc/udev/rules.d/99-oracle-asmdevices.rules 或者 touch /usr…
-
centos 7.4 /etc/sysconfig/network-scripts/ifup-eth: Error, some other host already uses address详解程序员
centos 7.4 /etc/sysconfig/network-scripts/ifup-eth: Error, some other host (08:00:27:E1:C3…
-
centos 7.4 添加新网卡详解程序员
vm: VirtualBox 图形用户界面 版本 5.2.4 r119785 (Qt5.6.2) os: centos 7.4 x86_64 # yum install redha…
-
linux 添加、删除 ip详解程序员
删除ip echo “########## os remove vip” ip addr del 192.168.56.101/24 dev bond0 label bond0:1…
-
linux 添加、删除 route详解程序员
删除路由 echo “########## os add route” route del -net 192.168.56.0/24 添加路由 echo “########## o…
-
centos 7 关闭 firewall、iptables详解程序员
systemctl是CentOS7的服务管理工具中主要的工具,它融合之前service和chkconfig的功能于一体。 1、关闭firewall systemctl status…
-
centos 6.x 设置默认的 python 2.6 为 python 2.7详解程序员
centos 6.x 的yum使用的是python 2.6,现在需要更新系统默认python为python 2.7 安装 python2.7 # yum install pytho…
-
linux 使用 mailx 发送邮件详解程序员
安装 # yum install mailx # rpm -qa |grep mail mailcap-2.1.31-2.el6.noarch mailx-12.4-8.el6_6…
-
linux、sql 常用的一些特殊符号详解程序员
记录下linux、sql 常用的一些特殊符号,以后慢慢补充 /n 换行 /r 回车 /f 换页 chr(34) 双引号 chr(39) 单引号
-
linux 查看 mongodb 连接数详解程序员
netstat -antp|grep -i 27017 | awk ‘{print $5}’| cut -d: -f1 | sort | uniq -c | sort -n 适当修…