性能监控分析系统NewRelic使用

1、登陆NewRelic2、选择apm->Get Started选择php->点击按钮Reveal license key获取一个key继续按照提示步骤向下看想要选择不同的php版本支持可以在这里找,然后下面的命令替换就行 http://yum.newrelic.com/pub/newrelic/我是安装的php7,所以没有按照官方提示来操作,如果你只需要php5.x的版本那么可以直接

- 阅读全文 -

Linux修改系统时区

1、使用tzselect命令查找需要的时区,操作步骤如下:执行tzselect命令-->选择Asia-->选择China-->Beijing Time最终会提示操作命令,如下图:You can make this change permanent for yourself by appending the line TZ='Asia/Shanghai'; export TZto

- 阅读全文 -

Let's Encrypt的https证书申请及安装(nginx)

1、首先要安装pthon2.7+版本,因为Let's Encrypt需要在python2.7+版本的环境上运行,安装方法:CentOS下源码包编译安装Python-2.7.8 ,不然会报如下错误: Traceback (most recent call last): File "acme_tiny.py", line 2, in <module>

- 阅读全文 -

CentOS下源码包编译安装Python-2.7.8

下载cd /usr/local/src wget http://python.org/ftp/python/2.7.8/Python-2.7.8.tgz tar xvf Python-2.7.8.tgz cd Python-2.7.8 注意1:如果没有c编译器需要安装,命令如下:yum install gcc注意2:先安装openssl,不然将来使用HTTPS的时候会报错(urllib2.URLE

- 阅读全文 -

PHPMailer使用

<?php require('phpmailer/class.phpmailer.php'); require('phpmailer/class.smtp.php'); $mailer = new PHPMailer(); // 使用SMTP形式发送 $mailer->IsSMTP(); // 编码 $mailer->CharSet =

- 阅读全文 -

List-Unsubscribe in header

在检测邮件服务器得分的时候会发现虽然得分是10,但是还有建议来提示优化,如图:Your message does not contain a List-Unsubscribe headerThe List-Unsubscribe header is required if you send mass emails, it enables the user to easily unsubscribe

- 阅读全文 -

【在用】DKIM签名

安装 opendkimapt install opendkim 编辑或者创建 opendkim 配置文件vi /etc/opendkim.conf 配置如下:Canonicalization relaxed/relaxed KeyFile /etc/opendkim/keys/kyzy.cc/default.private ExternalIgnore

- 阅读全文 -

最新文章

最近回复

分类

标签

归档

其它