安装Mercury/32,通过阿里云免费邮箱账户用php mail发邮件

环境:Windows 2012, Mercury/32 Mail Transport System 4.8

过程:

1.安装欢迎界面,请点击 New installation
mercury-1.png
2.无需NetWare支持,请点击 No NetWare Support
mercury-2.png
3.安装路径,默认C:\MERCURY,请点击 OK, accept the directory
mercury-3.png
4.无需Pegasus Mail,请点击 No pegasus Mail interation
mercury-4.png
5.邮件存储路径,默认C:\MERCURY\MAIL,请点击 OK, accept this dirctory
mercury-5.png
6.协议组件,本例仅发信,所以只勾 MercuryS,请点击 OK, continue installation
mercury-6.png
7.选择SMTP Client模块,本例是用外部邮局,所以选Install MercuryC
mercury-7.png
8.这里填写基本信息,如需要连接外发的服务器地址,本例写smtp.aliyun.com,后边也可以改,请点击,OK, continue installation
mercury-20.png
9.选择SMTP relaying模式,一般选择Normal
mercury-9.png
10.设置发信队列存储目录,默认在C:\MERCURY\QUEUE,请点击 OK, continue installation
mercury-10.png
11.配置好,准备安装,请点击 Install Mercury/32
mercury-11.png
12.因为以Windows服务运行需要授权,所以本例点击 Continue
mercury-12.png
13.本例不安装其它附加功能,所以点击 Done
mercury-14.png
14.完成安装,请点击 Exit
mercury-15.png
15.点击自动创建的快捷方式来运行Mercury
mercury-16.png
16.在MercuryC SMTP Relay Client Configureation里,填写阿里云邮箱账户关键信息,如 smart host name 里填写 smtp.aliyun.com,connection port里填写465,模式选择 SSL encryption using direct connection,Login username里填写阿里云邮箱账户,Password里填写密码
mercury-23.png
17.在Mercury SMTP Server设置框里允许relay,即不勾选 Do not permit SMTP relaying of non-local mail
mercury-25.png
18.在Mercury里发测试邮件,注意from里要填写阿里云账号的地址
mercury-22.png
19.在php里用mail函数发送测试,注意from里要填写阿里云账号的地址
mercury-24.png
20.收件箱里能收到两封测试邮件
mercury-26.png

参考:

virtualmin创建magento2网站 - htaccess - 500错误 - Options FollowSymLinks - Options All not allow here

问题:将一个magento2的站点,迁移到virualmin的机子,在浏览器里访问,提示 500 internal server error 错误。

过程:

1.在virualmin面板里,查看站点错误日志,有提示相应的.htaccess文件中,不应该设置如 Options FollowSymLinks 和 Options All
virtualmin-1.png

2.在相应的.htaccess文件里,将FollowSymLinks替换为SymLinksIfOwnerMatch,适当删除Options All中的All
virtualmin-2.png

参考:https://www.virtualmin.com/node/24753

Complete(Write) operation failed - odin 线刷三星手机出错 - vmware虚拟机

三星手机GT-S7562开机后停留在黄色三角叹号,提示“固件更新时遇到问题,请在Kies里选择复原模式后再尝试更新”。

在线咨询三星客服,说需送修,官方不提供刷机救砖工具。

网上搜索,可用odin软件来刷机救砖。在VMware Player的Windows 7虚拟机里先后安装了“Kies”,“刷机大师”,无结果。Kies无法连接设备,也无法紧急修复。“刷机大师”中的救砖功能无效果。

先后下载了几个odin,带.tar包的压缩文件来尝试,都刷不进去,Complete(Write) operation failed 的结果。

反复几次后,发现custom binary会有累积次数(到了3),估计系可以刷,但不能完全刷入。之后到odin下载了最新版本的,再次尝试,发现可以往“前”一点点,但结果还是失败。再以错误提示在网上搜索,有网友提到是因为使用了vmware虚拟机操作,所以有此结果。

最后,在Windows 10中直接运行odin(连驱动也不用安装),就成功刷入了,手机能成功启动了。

odin-1.jpg

odin-2.jpg

odin-3.jpg

参考:

从服务器检索信息时出错 DF-CHARTA-01 - G Suite 管理员

想在 Google 商店里安装一个应用,先是在手机里点击 -> 设置 --> 系统 ---> 辅助功能 ---> GMS包安装,启用了 Google 商店。之后,找个代理,以Google账号登录,商店首页提示“从服务器检索信息时出错 DF-CHARTA-01”。

网上查到,原来这个Google账号是G Suite的成员,所以需要G Suite 管理员在管理页中,启用 Google Play 的应用。

google-play-1.png

参考:

阿里云ECS云服务器 Windows 2012 R2 64位 更新失败 - 错误代码 8024402C - 80244007 - 80072EE2

阿里云ECS云服务器实例,选择了Windows 2012 R2 64位中文版,因为CredSSP相关更新无法使用远程桌面连接登录管理。所以想通过ECS实例控制台登录到Windows,先打上最新的补丁。

过程:

  1. 首次在Windows控制面板进行更新,遇到错误代码 8024402C,检查知没有DNS服务器设置,这可能是因为重置系统盘,而不是通过更换系统盘重装Windows 2012 R2
    windows-update-1.png
  2. 检查时,DNS为手动设置,但留空
    windows-update-2.png
  3. 之后,通过更换系统盘重装Windows 2012 R2,第三次进行Windows更新,遇到错误代码 80072EE2
    windows-update-3.png
  4. 觉得Windows运行性能低,所以重启了系统,再次进行Windows更新,可以获得更新列表了
    windows-updates-4.png
  5. 安装Windows更新
    windows-updates-5.png
  6. 安装好Windows更新后,提示需重启
    windows-updates-6.png
  7. 在“管理终端”看到更新的进度条
    windows-updates-7.png
  8. 查看c:\windows\windowsupdate.log的日志文件内容,看到先是向 windowsupdate.aliyun-inc.com 检查更新,但 telnet 测试是不通的
    windows-updates-8.png
  9. 之后是向 update.cloud.aliyuncs.com 检查更新,是能telnet tcp 80端口通的。这个实例是专有网络VPC的,不知道为什么会先向经典网络的windowsupdate.aliyun-inc.com 检查更新
    windows-updates-9.png

参考:https://help.aliyun.com/knowledge_detail/41053.html