日志标签 ‘阿里云’

Warning: Use of undefined constant archives - assumed 'archives' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: Use of undefined constant page - assumed 'page' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32
class="post-1646 post type-post status-publish format-standard hentry category-grass-roots-webmaster tag-ssl tag-969 tag-964">

宝塔面板添加阿里云申请到免费SSL证书

2022年4月15日

每个自然人可以在阿里云申请20个免费的“单个域名”的SSL证书,但是申请好了以后,怎么都没有找到在哪里进行部署,在部署的页面里,没有找到我使用的“轻量应用服务器”,或许是因为这个服务器太便宜了吧。

ssl证书

当然,对于一个擅用搜索引擎的人来讲,这都不是事。最终还是找到了办法:由于我在阿里云服务器上部署的是宝塔面板,所以,通过宝塔面板可以简单的完成ssl证书的部署。

1、先从阿里云上把ssl证书下载下来,然后解压缩,得到三个文件

2、打开宝塔面板,在“网站”-网站列表中,找到要部署的域名,点击SSL证书列的“未部署”

宝塔面包部署ssl证书

3、在SSL中,点击“其他证书”,然后用文本编辑器打开解压出来的三个文件,粘贴您的*.key以及*.pem内容(PEM格式证书 = 域名证书.crt + 根证书(root_bundle).crt),具体教程可查看宝塔论坛内容,然后保存即可。

宝塔面板部署ssl证书

4、保存后,打开“证书夹”,就可以看到刚才部署的证书及到期时间等信息,点击“部署”,之后就可以测试一下是否生效了。

Warning: Use of undefined constant archives - assumed 'archives' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: Use of undefined constant page - assumed 'page' (this will throw an Error in a future version of PHP) in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32

Warning: A non-numeric value encountered in /www/wwwroot/daibei.info/wp-content/themes/cordobo-green-park-2/archive.php on line 32
class="post-1599 post type-post status-publish format-standard hentry category-grass-roots-webmaster tag-wordpress tag-190 tag-3 tag-4 tag-964">

1577天后的再一次更新

2022年4月6日

距离“人在岱北 静心聆泉”的上一次更新,已经过去了1577天,如果不是半个多月前忽然在浏览器地址栏里输入了域名,我都不知道我在“王牌主机”上购买的主机已经过期了半年有余……

虽然好久不再更新了,但是以前写的一些文字还是希望能保留一下,于是,最近半个月做了几件事情:

1、尝试了一下王牌主机的后台,虽然网站不能访问了,但是后台竟然还能登录,于是从后台把文件和数据库都备份下载了下来。

2、在阿里云上购买了99块钱一年的轻量应用服务器(60G,2核CPU,2G内存,1000GB/月流量,5Mbps),尝试把服务器从漂亮国搬回天朝;

3、阿里云要求网站必需完成备案,于是尝试把daibei.org域名从godaddy转移到阿里云,结果试了两天均是失败,最后才了解到,阿里云(国内)不再接受org域名转入。

4、重新注册了域名:daibei.info,并且通过阿里云进行ICP备案,从3月27日开始,过了一个清明假期,直到今天早上(4月6日)备案管局审批通过,有了新的备案号。

5、在此期间不断的尝试把wordpress的数据迁移到阿里云,但由于域名没有备案,一直没办法测试,今天晚上用了两个多小时的时间,总算是完成了……

从今天开始,人在岱北 静心聆泉站的域名正式变更为daibei.info