领不到的5元话费券 - 广东移动

我之前对移动主动推送的促销短信是不理睬的。前些天,我又一次看到短信,大概是说我有张5元话费券可以领,在“广东移动”的里领。我手机上原本有一个“中国移动”的app,但登录到“中国移动”的app里,并没有看到相应的优惠券。“不要白不要,反正也是闲着。”我这么想,所以下载了“广东移动”的app。首次运行“广东移动”的app,先是索取定位权限,然后弹出领红包等图案,我顺手一点,哟,原来是第三方的红包,如“拼多多”的购物红包。我懒得注册和逛“拼多多”,所以“广东移动”app再弹红包之类的,我就不理会了。在“广东移动”app里,果真看到有五元话费券,点击“自已兑换”,出错。出错信息为:系统繁忙,调用商品受理校验失败,虚拟商品渠道校验,参数检查失败,商品商户检查不通过,当前商户为:ECOP_ECOUPON_SKF,商品编码为:YXAHF3。过多几分钟再点击,出错信息变为:锁定电子券失败,电子券预占中,暂时不允许重复预占。转念一想,可能今天不走运,明天再试试吧。第二天,我点击领券,还是老样子,出错。打10086咨询一下,人工答,确认有问题,会另外安排人处理。之后,有电话来通知,说我有券且领券不成功,处理好问题后会发短信通知。在11号的那张券过期后,移动发来了短信,又通知我有一张五元话费券在21号过期,要尽快使用。估计这是移动补发给我的。于是我又点击“自己兑换”,但还是同之前一样的“遭遇”,兑换不了。这次,我懒得打10086客服电话了,截好图后,把“广东移动”的app从手机中删除了。广东移动是个大企业了,能将主打的手机市场app产品做成这样差的体验,实在是可惜啊。

gdyd-1.jpg

gdyd-2.jpg

gdyd-3.jpg

CentOS 8 - apache - php-fpm 500错误 - setenforce 0 - SELinux

现象:在vultr的VPS,安装了centos8操作系统,在配置好web环境后,我想访问magento2站点时,但浏览器显示页面500错误。

尝试:我查看apache的错误日志,没有相关信息。查看magento2的日志,也没有相关信息。我最后搜索到,在关闭SElinux功能后,magento2站点可以正常访问到了。

参考:https://magento.stackexchange.com/questions/100896/magento-2-500-internal-server-error

xampp的apache不能启动 - api-ms-win-crt-conio-l1-1-0.dll 缺失

现象:用户说xampp安装后,apache不能成功启动,提示缺少 api-ms-win-crt-conio-l1-1-0.dll 文件。

过程:网上搜索得,该文件是 Visual C++ Redistributable for Visual Studio 2015 安装后应该有的。但安装Visual C++ Redistributable 2015且重启系统后,系统目录里还是没有api-ms-win-crt-conio-l1-1-0.dll这个文件。然后搜索C:分区,搜索到如QQ播放器、百度网盘的安装目录中都有这个api-ms-win-crt-conio-l1-1-0.dll文件,但文件大小不同。尝试将QQ播放器安装目录里的 api-ms-win-crt-conio-l1-1-0.dll 复制到Windows的system32目录,然后执行 regsvr32 /s c:\windows\system32\api-ms-win-crt-conio-l1-1-0.dll 的命令,最后,xampp的apache可以成功启动了。

参考:https://yq.aliyun.com/articles/643584

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

用 fdisk -c=dos 来从63开始分区,而不是2048开始

现象:一个阿里云的数据盘需要从原40GB扩容到60GB,系统是CentOS7。照阿里云文档中的例子操作,创建新分区后,e2fsck检查文件系统错误,Bad magic number in super-block,磁盘扩容失败。

尝试:对比阿里云文档中的例子,原分区的起始位置是63,不是例子中的2048。但默认fdisk的分区是4k对齐的,并不能从63开始,至少是2048。搜索结果中,有人说用参数 -c=dos 来运行fdisk,就可以从63开始分区,保留原分区的数据进行扩容了。

# fdisk -u /dev/vdb
Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): p

Disk /dev/vdb: 64.4 GB, 64424509440 bytes, 125829120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x4ca57d7e

   Device Boot      Start         End      Blocks   Id  System
/dev/vdb1              63    83885759    41942848+  83  Linux

Command (m for help): n
Partition type:
   p   primary (0 primary, 0 extended, 4 free)
   e   extended
Select (default p): p
Partition number (1-4, default 1):
First sector (2048-125829119, default 2048): 63
Value out of range.
First sector (2048-125829119, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-125829119, default 125829119):
Using default value 125829119
Partition 1 of type Linux and of size 60 GiB is set

# e2fsck -n /dev/vdb1
e2fsck 1.42.9 (28-Dec-2013)
ext2fs_open2: Bad magic number in super-block
e2fsck: Superblock invalid, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/vdb1

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

fdisk -c=dos /dev/vdb

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
         switch off the mode (with command 'c').Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): p

Disk /dev/vdb: 64.4 GB, 64424509440 bytes, 125829120 sectors
16 heads, 63 sectors/track, 124830 cylinders
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x4ca57d7e

   Device Boot      Start         End      Blocks   Id  System
/dev/vdb1              63    83885759    41942848+  83  Linux

Command (m for help): d
Selected partition 1
Partition 1 is deleted

Command (m for help): n
Partition type:
   p   primary (0 primary, 0 extended, 4 free)
   e   extended
Select (default p):
Using default response p
Partition number (1-4, default 1):
First sector (63-125829119, default 63):
Using default value 63
Last sector, +sectors or +size{K,M,G} (63-125829119, default 125829119):
Using default value 125829119
Partition 1 of type Linux and of size 60 GiB is set

Command (m for help): wq
The partition table has been altered!

参考: