一、安装mrtg和net-snmp:yum-yinstallmrtgnet-snmp-utilsnet-snmpgcc-*gd-*libpng-*zlib-*二、修改/etc/snmp/snmpd.conf#去掉行首的注释符viewmib2included.iso.org.dod.internet.mgmt.mib-2fc#修改accessnotConfigGroup""anynoauthexactsystemviewnonenone为:accessnotConfi..
分类:
其他好文 时间:
2014-08-01 20:16:32
阅读次数:
211
一、安装mrtg和net-snmp:yum-yinstallmrtgnet-snmp-utilsnet-snmpgcc-*gd-*libpng-*zlib-*二、修改/etc/snmp/snmpd.conf#去掉行首的注释符viewmib2included.iso.org.dod.internet.mgmt.mib-2fc#修改accessnotConfigGroup""anynoauthexactsystemviewnonenone为:accessnotConfi..
分类:
其他好文 时间:
2014-08-01 20:16:22
阅读次数:
228
一、安装mrtg和net-snmp:yum-yinstallmrtgnet-snmp-utilsnet-snmpgcc-*gd-*libpng-*zlib-*二、修改/etc/snmp/snmpd.conf#去掉行首的注释符viewmib2included.iso.org.dod.internet.mgmt.mib-2fc#修改accessnotConfigGroup""anynoauthexactsystemviewnonenone为:accessnotConfi..
分类:
其他好文 时间:
2014-08-01 20:15:12
阅读次数:
249
1.找到ecshop\includes\cls_image.php文件搜索function gd_version改成static function gd_version2、Strict Standards: Only variables should be passed by reference i...
分类:
Web程序 时间:
2014-08-01 19:10:02
阅读次数:
201
将用户上传的图片进行裁剪再保存是现在web2.0应用中常常处理的工作,现在借助jquery的imgareaselect插件再配合PHP的GD库就可以轻松的实现这个在以前来说非常棘手的功能。我们来看看它的实现步骤:
1、包含进CSS文件(imgareaselect-default.css)和 jquery.imgareaselect.js文件
2、html代码(要裁剪的图片元素)
i...
分类:
Web程序 时间:
2014-07-29 17:58:02
阅读次数:
393
先前使用了nginx做tomcat程序负载,后来需要解析日志。查看访问量。后来网上查了下,就使用了这个参考地址: http://daliang1215.iteye.com/blog/618829 1.安装webalizer所需的软件包yum -y install gd-devel.i*2.下载We....
分类:
Web程序 时间:
2014-07-29 13:43:28
阅读次数:
322
系统信息:#cat/etc/redhat-releaseCentOSrelease6.4(Final)Discuz官网:http://www.discuz.net/forum.php1.安装所需软件yuminstallhttpdmysqlphp.x86_64php-cli.x86_64php-common.x86_64php-gd.x86_64php-pear.noarchphp-mysql.x86_64servicemysqldstartmysql_secure_installati..
分类:
其他好文 时间:
2014-07-28 16:41:44
阅读次数:
227
说实话,提到验证码我想大家都不会陌生,确实,验证码还是挺常见的,现在搜索一下PHP的验证码类简直是海量的数据,那我们今天就来实现一个自己的验证码把,不过它比较简单,这也是我说的用更简单的方式去实现一个验证码。
总的来说分成两步,第一步就是先实现一个验证码,第二步就是通过这个验证码来进行验证,我们先看一下如何去实现这个验证码,当然这里需要用到gd库的知识,请看下面的代码示例:
<?...
分类:
Web程序 时间:
2014-07-27 11:41:57
阅读次数:
201
1、libconfig ? (官网:http://www.hyperrealm.com/libconfig/) 2、GNU C Library (ANSI C的函数库glibc:?http://www.gnu.org/software/libc/manual/html_mono/libc.html) 3、GDB (http://fossies.org/dox/gd...
分类:
编程语言 时间:
2014-07-21 10:06:20
阅读次数:
258
PHP编译参数Apache:./configure--prefix=/usr/local/php--with-apxs2=/usr/local/apache2/bin/apxs--with-curl--with-mcrypt--enable-mbstring--with-iconv--with-gd--with-jpeg-dir=/usr/local/lib--enable-pdo--with-pdo-mysql=/usr/local/mysql5.5.25/--with-mysqli=/usr/lo..
分类:
系统相关 时间:
2014-07-19 02:12:55
阅读次数:
266