最近工作需要安装oracle11gR2在阿里云ECS上,因此编写了一个脚本来完成图形化安装界面之前的准备工作,这样节省时间,shell如下:#!/bin/bash
SYSCTL="/etc/sysctl.conf"
LIMITS="/etc/security/limits.conf"
PAM="/etc/pam.d/login"
PROFILE="/etc/profile"
BASH_PROFILE="/ho..
分类:
数据库 时间:
2016-08-23 17:11:31
阅读次数:
284
使用命令ulimit -a查看,其中open files就是最大连接数,一般情况下web服务器最大连接数的设置不能超过它 修改最大连接数:vi /etc/security/limits.conf 文件末尾添加 *soft nofile 32768*hard nofile 32768 添加后保存 修改 ...
分类:
其他好文 时间:
2016-08-21 10:57:57
阅读次数:
224
1、C:\Qt\Qt5.3.2_vs10_opengl\5.3\msvc2010_opengl\include\QtCore\qdatetime.h 报错: 2、将原来的代码改成 ZC: 注意括号的位置 3、 ...
分类:
其他好文 时间:
2016-08-17 22:44:25
阅读次数:
905
本文来自我的github pages博客http://galengao.github.io/ 即www.gaohuirong.cn 摘要: 本文是自己根据公司架构部署tomcat方法整理出来的文本 修改系统内核 修改linux的一些系统参数,以优化系统性能 修改LIMITS.CONF $ vi /e ...
分类:
系统相关 时间:
2016-08-17 17:55:48
阅读次数:
289
1 查看当前用户的线程 ulimit -a 2 修改配置文件 vi /etc/security/limits.d/90-nproc.conf 3 改完即可生效 ...
分类:
编程语言 时间:
2016-08-16 16:01:47
阅读次数:
733
The following modules allow you to regulate access to the documents of your websites — require users to authenticate, match a set of rules, or simply ...
分类:
其他好文 时间:
2016-08-14 14:18:48
阅读次数:
207
<assert.h><complex.h><ctype.h><errno.h><fenv.h><float.h><inttypes.h><iso646.h><limits.h><locale.h><math.h><setjmp.h><signal.h><stdarg.h><stdbool.h><st ...
分类:
编程语言 时间:
2016-08-09 20:38:53
阅读次数:
237
oracle11g安装入门修改shell限制vi/etc/security/limits.conf---------------------------------------------oraclesoftnofile65536oraclehardnofile65536oraclesoftnproc16384oraclehardnproc16384修改内核参数vi/etc/sysctl.conf-------------------------------------------..
分类:
数据库 时间:
2016-08-08 01:06:45
阅读次数:
212
centos 6.x 内核版本2.6.32以上,修改/etc/security/limits.d/90-nproc.conf:因为系统是先读/etc/security/limits.conf的值,在用/etc/security/limits.d/90-nproc.conf去覆盖,所以,仅仅更改/et ...
分类:
系统相关 时间:
2016-08-06 18:50:29
阅读次数:
903
help ulimit help ulimit ulimit: ulimit [-SHacdefilmnpqrstuvx] [limit] Modify shell resource limits. Provides control over the resources available to t ...
分类:
其他好文 时间:
2016-08-06 08:24:46
阅读次数:
142