thread.error: can't start new thread 的解决方法
当Linux执行yum相关操作时,有时候会报如下错误(一般都是因为服务器配置太低导致的)Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfileepel/metalink | 18 kB 00:00 Traceback (most recent call last):File "/usr/bin
当Linux执行yum相关操作时,有时候会报如下错误(一般都是因为服务器配置太低导致的)Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfileepel/metalink | 18 kB 00:00 Traceback (most recent call last):File "/usr/bin
当Linux执行yum check-update有时候会报如下错误(一般都是因为服务器配置太低导致的)Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfileCould not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-6&
加个-n参数,不然会解析DNSiptables -L -n
在crontab中执行iptables命令或者执行的sh中有iptables命令那么需要如下格式/sbin/iptables -I INPUT -s ip.xxx.xxx.xxx -j DROP而不是iptables -I INPUT -s ip.xxx.xxx.xxx -j DROP总是环境变量的问题,如果不服可以改/etc/crontab中的PATH增加相关路径。总之crontab中无法执行命
编辑配置文件vim /etc/vim/vimrc增加下面3个参数,保存退出即可set ts=4 set expandtab set autoindent
在Linux下,使用ipteables来维护IP规则表。要封停或者是解封IP,其实就是在IP规则表中对入站部分的规则进行添加操作。要封停一个IP,使用下面这条命令:iptables -I INPUT -s ***.***.***.*** -j DROP要解封一个IP,使用下面这条命令:iptables -D INPUT -s ***.***.***.*** -j DROP参数-I是表示Insert
首先开启openssl.cafile参数vi /etc/php.ini配置如下:openssl.cafile=/var/www/html/ssl/cert.pem设置完毕后可以使用openssl_get_cert_locations()来检测<?php print_r(openssl_get_cert_locations()); ?>或者命令行中执行php -r "print
PHPMailer乱码,这个乱码比较有个性,只有在网易的邮箱乱码,其他邮箱都正常,开始以为是postfix的问题,但是postfix并没有设置字体编码等等的地方,以为是Linux的问题,于是听信网上的把windows下的字体统统打包上传,又以为是postfix其它组件的问题,于是一一验证都是“谣传”,弄的我都有点想要放弃了,因为我以为不是PHPMailer的问题,已经换了N个版本都这样。但是一个偶
phpmailer报错SMTP Error: Could not authenticate/var/log/maillog中报错SASL LOGIN authentication failed: UGFzc3dvcmQ6foxmail可以正常使用,但是phpmailer就不行我的解决方式是:class.phpmailer.php文件中将smtp改为SMTP,改之前我以为没戏,没想到还真行了publ
一、删除系统自带的sendmailyum remove sendmail或者rpm -e sendmail 二、安装crontabs(计划任务)服务yum install crontabs service crond start chkconfig crond on 三、安装postfix如果yum提示找不到软件包,请换一下源,请参考centos 6推荐使用epel源(http://blog.51