脚本修改linux用户密码

三月 29th, 2010 | 3 Comments | Posted in Centos | 阅读次数: 350 次

Author:gaojinbo Time:2010-3-29 很多时候,我们需要在脚本里面添加用或修改用户密码,其实很简单,只需要2个命令,然后通过管道即可实现 如下: echo "root:gjb888&quot[......]

Read more

Tags:

centos5.4下安装mysql4.1.22

三月 24th, 2010 | 1 Comment | Posted in mysql | 阅读次数: 431 次

Author:gaojinbo Time:2010-3-24 centos5.4下安装mysql4.1.22   1.备份原来的repo cd /etc/yum.repos.d/ mv CentOS-Ba[......]

Read more

Tags:

Howto install sap ecc6 sr3 on Centos5.4

三月 21st, 2010 | 2 Comments | Posted in 8.SAP | 阅读次数: 330 次

Author:Gao jinbo Time:2009-12-15 Titile:Howto install sap ecc6 sr3 on Centos5.4 1.Environment: Centos 5.4 X8[......]

Read more

Tags:

自动登录ssh不需要输入密码

三月 20th, 2010 | No Comments | Posted in Centos | 阅读次数: 813 次

Author:gaojinbo Time:2010-3-20 Blog:http://www.gaojinbo.com Email:admin@gaojinbo.com QQ:346452337 自动登录ss[......]

Read more

Tags:

使用dmidecode解读服务器硬件信息

三月 18th, 2010 | 3 Comments | Posted in Centos | 阅读次数: 239 次

dmidecode是一个信息转换工具,能把系统中的硬件信息输出为友好的可读性的信息展现给我们; 一些知名厂商的服务器还可以展现出其服务器型号,序列号等等,可以有效的帮助我们做一些资产管理的工作; 比如我可以在一台dell的服务器上查看到[......]

Read more

Tags:

Apache2.0性能优化

三月 18th, 2010 | 1 Comment | Posted in Apache | 阅读次数: 2,334 次

谈到Apache,大多数系统管理员对其稳定版1.3印象颇深。虽然Apache 2.0的系列开发版早已由Alpha、Beta发展到现在的GA(General Availability)版,但是一些人潜意识里还认为开发版并非可用于生产环境的稳定[......]

Read more

Tags:

VIM常用指令

三月 18th, 2010 | 4 Comments | Posted in Centos | 阅读次数: 228 次

用了好几年VIM 也从来没怎么认真的用过 VIM是一个很多指令的编辑器,多到你可以只用键盘就完成所有操作 所以…如果你不是经常用.估计你强记也会忘记的 而且VIM里面有很多重复作用的指令方式 例如你到文件末尾,可[......]

Read more

Tags:

howto install php pcntl

三月 17th, 2010 | 4 Comments | Posted in PHP | 阅读次数: 2,182 次

Author:gaojinbo Time:2010-3-17 1.环境 ubuntu server 8.04 64位 php 5.2.4   2.下载php5源码 mkdir php cd php[......]

Read more

Tags:

discuz反广告-防乱发广告帖

三月 17th, 2010 | 5 Comments | Posted in 6.综合内容 | 阅读次数: 886 次

让发垃圾广告帖的会员见鬼去吧 广告帖有好有坏,但会员乱发就很让站长头痛了,现在利用点空闲时间写了段代码,基本能阻止部分广告帖,且按会员等级限制 打开include/newthread.inc.php文件,找到以下代码: if(![......]

Read more

Tags:

MySQL 优化编译

三月 16th, 2010 | 3 Comments | Posted in mysql | 阅读次数: 871 次

1. -static 13% –with-client-ldflags=-all-static –with-mysqld-ldflags=-all-static 静态链接提高13%性能   2. -p[......]

Read more

Tags: