分类 电脑 下的文章

Open a China Bank account query

  1. China Merchants Bank - cmbchina.com - 95555 phone query - answer: passport is nessarly, have to query local banch of bank details(different citiy have different rules) - 95555@cmbchina.com.
  2. ICBC - icbc.com.cn - 95588 phone query - answer: passport is necessary, but local banch of bank maybe requested more credentials ((different citiy have different rules))
  3. China Construction Bank - ccb.com - 95533 phone query - answer: passport is necessary
  4. HSBC - www.hsbc.com.cn - 95366 phone query - answer: passport is necessary, and need around RMB 100,000 blance to open a bank account.
  5. Bank of China - boc.cn - 95566 phone query - answer: passport is necessary
  6. Bank of Shnghai - www.bosc.cn - 95594 phone query - wait about 5 mins, no personal service, phone line is busy

Most of China banks need passport and local branch to open bank accout, around RMB 20 for debit card, and maybe RMB 10 yearly fee(+RMB 3/month for account manager fee which blance bellow 300).

And if you need use debit card on WeChat, most like you need a China mobile phone number. Most banks supply customer service via WeChat which is public on their website. You can ask more questions via WeChat if you need.

Refer - https://www.travelchinacheaper.com/open-china-bank-account

Vuze torrent downloader 遇到 Offline - SSLHandshakeException: Received fatal alert: handshake_failure

现象:在Windows 10里安装了 Vuze torrent downloader,添加 pthome.net 的种子下载任务后,在任务“来源”中显示 Tracker https://www.pthome.net/announce.php 错误,Offline - SSLHandshakeException: Received fatal alert: handshake_failure,无法开始下载文件。

尝试:在查看 Vuze 版本时,发现 JRE 版本是Vuze安装目录自带的 Vuze/jre 。查看Windows 10中,没有安装JRE。先到Oracle官方网站,下载安装好JRE。之后删除Vuze Torrent Downloader 软件后重新安装。Vuze 重装后首页可以显示引用的网页内容。添加pthome的任务也能正常下载文件了。

generated/code/Magento cannot be deleted - Directory not empty

现象:运行 bin/magento module:disable Mageplaza_Smtp 命令尝试禁用Magento2模块时,提示出错:

The directory "/var/www/html/generated/code/Magento" cannot be deleted Warning!rmdir(/var/www/html/generated/code/Magento): Directory not empty

尝试:检查发现 /generated 目录及子目录都有文件所有者写权限,删除失败可能是Magento2的定时任务在删除目录的过程中又生成新文件了。可以尝试临时停止Magento2的定时任务或Web进程后再次操作。

批量禁用或启用magento2的模块

需求:不知道哪个模块导致magento2的web进程占用CPU高。

尝试:可以通过禁用、启用模块来尝试诊断。如以下命令会禁用所有非Magento名字头的模块:

php bin/magento module:status | grep -v Magento | grep -v List | grep -v None | grep -v -e '^$'| xargs php bin/magento module:disable

参考:

三个能为magento2配置使用外部smtp发信的模块 - magento-2-smtp - gmailsmtpapp - SMTP Extension

需求:magento2程序所在的主机商主动过滤了TCP 25端口的连接,无法通过本机发出电子邮件。

尝试:可以在尝试在magento2里安装模块,通过外部(如QQ、gmail等邮局)SMTP发信。提供该功能的,有:

  1. magento-2-smtp - https://github.com/mageplaza/magento-2-smtp
  2. gmailsmtpapp - https://github.com/magepal/magento2-gmail-smtp-app
  3. SMTP Extension - https://www.magetop.com/magento-2-smtp-extension.html
  4. enhanced-smtp - https://github.com/kiwicommerce/magento2-enhanced-smtp

个人觉得在magento2.3上安装了第1、第2和第3,前两种安装成功,但可能与当前的magento2模板有冲突,php或httpd进程的CPU占用率很高。第3个安装不成功,第4个没有安装。最后是通过为本机postfix配置使用smtp relay发出电子邮件。