.net4.0提交html出错的解决方法


Framework4.0默认阻止html提交,如果是3.0,网站设置会一直显示loading.. 打开web.config找到 <httpRuntime maxRequestLength="10240" executionTimeout="60"  /> 修改为 <httpRuntime maxRequestLength="10240" executio...

标签: windows, iis, .net

glibc幽灵漏洞测试与修复方法


一、Linux glibc幽灵漏洞简介2015年1月28日互联网上爆出Linux glibc幽灵漏洞(glibc gethostbyname buffer overflow,http://seclists.org/oss-sec/2015/q1/274),也有人将其称之为“20150127GHOST gethostbyname() heap overflow in glibc”,在CVE上的...

标签: linux, 安全

su: cannot set groups: Operation not permitted


在用命令给用户授权的时候不小心执行了错误的command导致 oracle用户向root用户切换的时候报错;错误如下$ su - rootsu: cannot set groups: Operation not permitted查找资料找到解决方法# chown -R root:root /bin/su# chmod a+s /bin/su# ll /bin/su -rwsrwsrwx ...

标签: linux

warning:unprotected private key file


现象:ssh端口正常,服务启动正常,无法远程连接 查看日志,发现报错  warning:unprotected private key file ssh证书权限问题,导致用户无法读取文件,重置证书权限即可 处理:   # chmod 600 * # chmod 644 ssh_config ssh_host_dsa_key.pub ssh_h...

标签: linux

安装gd库出错:AM_ICONV AM_ICONV


# make && make installconfigure.ac:64: error: possibly undefined macro: AM_ICONVmake: *** [configure] 错误 1把报错信息“configure.ac:64: error: possibly undefined macro: AM_ICONV”,得到“But you need t...

标签: linux

Linux安装perl DBD-mysql驱动


wget http://search.cpan.org/CPAN/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.029.tar.gztar xzvf DBD-mysql-4.029.tar.gzcd DBD-mysql-4.029perl Makefile.PL --mysql_config=/usr/local/mysql/bin/mysql_configmak...

标签: linux, 数据库, perl

useradd详解


useradd是Linux添加新用户的命令,这个命令提供了一次性创建新用户账户及设置用户HOME目录结构的简便方法。1、useradd命令加参数-D参看系统的默认值:  # useradd -D GROUP=100 HOME=/home INACTIVE=-1 EXPIRE= SHELL=/bin/bash SKEL...

标签: linux

百度爬虫导致shopex占用大量cpu


症状服务器上一个站点 xxx.com (shopex站点)访问时占用大量cpu,一段时间后网站无法打开,回收程序池后正常,事件日志里多次出现对应的程序池死掉的记录排查分析可能以下原因造成1.程序改动造成死循环2.数据库问题3.攻击查看了文件修改时间,最近几个月没有动过程序,数据库连接正常,数据表正常。查看访问日志并无攻击网上搜索了下相关资料,有用户反映百度爬虫造成cpu过高用netstat...

标签: windows, iis, shopex

Ubuntu系统下配置IP地址


1、通过命令直接配置 sudo ifconfig eth0 IP地址 netmask 子网掩码------配置IP地 sudo route add default gw 网关------------添加默认路由 vi /etc/resolv.conf 配置文件 添加nameserver DNS----配置DNS sudo /etc/init.d/networking restart-...

标签: linux