linux 5.6 ORA-27125
ORA-27125: unable to create shared memory segmentLinux-x86_64 Error: 1: Operation not permitted[@more@]linux 5.6以及以上的版本,安装好oracle后,启动报错如下:ORA-27125: unable to create shared memory segmentLinux-x86_64 Error: 1: Operation not permitted。上网查了资料后。执行以下语句后搞定:echo 501 > /proc/sys/vm/hugetlb_shm_group。但是重启服务器后又不行了。又查了查,在/etc/sysctl.conf增加一条语句 vm.hugetlb_shm_group = 501 (501是我的oinstall组的号)。然后执行sysctl -p即搞定。
linux nfs
linux nfs[@more@]nfs 共享目录被保存在/etc/exports 文件里。默认为空,即没有任何共享目录。exports文件格式:目录(绝对路径) 客户端(选项1,选项2,选项n)客户端可是ip地址,主机名,域名,ip网段如(1.1.1.1/255.255.255.0)选项中有读写权限,同步异步等安全性设置。例子:[root@lvs ~]# more /etc/exports /home 193.168.10.11(rw,sync)/home 193.168.10.11(rw,sync)/home 193.168.10.11 (rw,sync) 带有空格的,打开了全局共享。[root@lvs ~]#service portmap restart[root@lvs ~]#service nfs restart查看共享目录[root@
linux redhat 双网卡绑定
linux redhat 双网卡绑定[@more@]linux双网卡绑定:由于近期客户对双网卡绑定需求很旺盛。 RHEL4.8 测试通过。 网卡1:eth0 网卡2:eth11.先修改eth0 和eht1这2个网卡配置文件.目录在(/etc/sysconfig/network-scripts/)如下: DEVICE=eth0 ONBOOT=yes MASTER=bond0 BOOTPROTO=none 2. eth1 也是同样的修改.如下: DEVICE=eth1 ONBOOT=yes MASTER=bond0 BOOTPROTO=none 3.新建一个虚拟网卡bond0,我们可以复制eth0的,复制后要修改内容. 复制 (cp /etc/sysconfig/network-scripts/ifcfg-eth0 ifcfg-bond0)修改内容为如下: DEVICE=bond0 ONBO
linux ntpd
linux ntpd[@more@]a、第一种配置:允许任何IP的客户机都可以进行时间同步 将“restrict default nomodify notrap noquery”这行修改成: restrict default nomodify b、第二种配置:只允许192.168.1.***网段的客户机进行时间同步 在restrict default nomodify notrap noquery(表示默认拒绝所有IP的时间同步)之后增加一行: restrict 192.168.1.0 mask 255.255.255.0 nomodify
nginx
nginx tomcat 负载均衡[@more@]http://code.google.com/p/nginx-upstream-jvm-route/source/browse/trunk/jvm_route.patch?r=7下载jvm_route.patch 代码。安装:http://code.google.com/p/nginx-upstream-jvm-route/然后把代码写到/path/to/this/directory/jvm_route.patch文件里。然后执行以下命令: cd nginx-0.7.59 # or whateverpatch -p0 < /path/to/this/directory/jvm_route.patch./configure --add-module=/path/to/this/directory --with-http_stub_status_module –prefix=/usr/local/nginxNginx's configureupstream back