码迷,mamicode.com
首页 >  
搜索关键字:sysctl    ( 699个结果
CentOS 7 IPv6关闭
你可以用两个方法做到这个。方法 1编辑文件/etc/sysctl.conf,vi /etc/sysctl.conf添加下面的行:net.ipv6.conf.all.disable_ipv6 =1net.ipv6.conf.default.disable_ipv6 =1如果你想要为特定的网卡禁止IPv ...
分类:其他好文   时间:2017-07-12 10:11:41    阅读次数:154
CentOS6.X 关闭IPv6的方法
CentOS6.X关闭IPv6的方法:step1、编辑网卡文件,添加一行NETWORKING_IPV6=no并重启网卡step2、echo-e"net.ipv6.conf.all.disable_ipv6=1">>/etc/sysctl.confstep3、chkconfigip6tablesoffstep4、sysctl-p或重启服务器。
分类:其他好文   时间:2017-07-08 13:24:35    阅读次数:138
ORA-00445: Background Process "xxxx" Did Not Start After 120 Seconds
Recent linux kernels have a feature called Address Space Layout Randomization (ASLR).ASLR is a feature that is activated by default on some of the new ...
分类:其他好文   时间:2017-07-07 16:39:54    阅读次数:376
too many open file
1、检查/proc/sys/fs/file-max文件来确认最大打开文件数如果设置值太小,修改文件/etc/sysctl.conf的变量到合适的值。这样会在每次重启之后生效。如果设置值够大,跳过下步。#echo2048>/proc/sys/fs/file-max编辑文件/etc/sysctl.conf,插入下行。fs.file-max=8192然后,执..
分类:其他好文   时间:2017-07-05 19:59:25    阅读次数:199
每日5题(2017-07-02)
1、如何查看/var/log目录下的文件总数? ls -l /var/log/ -lR | grep "^-" | wc -l 其中 ls -l /var/log/ -lR 可以查看到该目录和其子目录下的文件 统计 /var/log 下的文件个数? ls -l /var/log | grep "^- ...
分类:其他好文   时间:2017-07-03 10:09:36    阅读次数:190
centos7添加bridge-nf-call-ip6tables出现No such file or directory
在/etc/sysctl.conf中添加: net.bridge.bridge-nf-call-ip6tables = 1 net.bridge.bridge-nf-call-iptables = 1 [root@localhost ~]# cat /etc/sysctl.conf net.brid ...
分类:其他好文   时间:2017-07-01 16:24:23    阅读次数:7867
Nginx优化配置
1、针对支持IPv4系统内核的参数优化 vi /etc/sysctl_conf net.core.netdev_max_backlog=262144 net.core.somaconn=262144 net.ipv4.tcp_max_orphans=262144 net.ipv4.tcp_max_s ...
分类:其他好文   时间:2017-06-27 17:00:43    阅读次数:167
SaltStack 常用模块介绍 - sysctl
备注:个人不觉得使用 sysctl module 到底好在哪里, 也可以使用,sysctl.conf文件,直接 file到 node, 通过 sysctl -p 一样可以实现。 ...
分类:其他好文   时间:2017-06-27 13:45:35    阅读次数:157
iptables笔记
一、内核转发 *永久开启转发 sysctl -w net.ipv4.ip_forward=1 *查看当前 cat /proc/sys/net/ipv4/ip_forward * 暂时开启 echo 1 > /proc/sys/net/ipv4/ip_forward 二、规则相关 所谓规则是由 “匹配 ...
分类:其他好文   时间:2017-06-26 22:40:43    阅读次数:232
699条   上一页 1 ... 35 36 37 38 39 ... 70 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!