惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
D
Docker
Blog — PlanetScale
Blog — PlanetScale
罗磊的独立博客
美团技术团队
V
V2EX
Last Week in AI
Last Week in AI
D
DataBreaches.Net
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享
Microsoft Security Blog
Microsoft Security Blog
Microsoft Azure Blog
Microsoft Azure Blog
人人都是产品经理
人人都是产品经理
M
MIT News - Artificial intelligence
P
Proofpoint News Feed
B
Blog RSS Feed
博客园_首页
B
Blog
博客园 - 叶小钗
I
InfoQ
WordPress大学
WordPress大学
L
LangChain Blog
Apple Machine Learning Research
Apple Machine Learning Research
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
A
About on SuperTechFans
The GitHub Blog
The GitHub Blog
The Register - Security
The Register - Security
MyScale Blog
MyScale Blog
云风的 BLOG
云风的 BLOG
博客园 - 司徒正美
Latest news
Latest news
W
WeLiveSecurity
T
The Exploit Database - CXSecurity.com
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
aimingoo的专栏
aimingoo的专栏
小众软件
小众软件
Cyberwarzone
Cyberwarzone
Scott Helme
Scott Helme
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
CERT Recently Published Vulnerability Notes
C
CXSECURITY Database RSS Feed - CXSecurity.com
Recent Commits to openclaw:main
Recent Commits to openclaw:main
N
News and Events Feed by Topic
S
Secure Thoughts
The Hacker News
The Hacker News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google DeepMind News
Google DeepMind News

飞絮落叶雪 - 博客

老何杂记 30 网站搬家 忍不了一点 一加 15 及其它 WordPress 新主题 Weisay Grace PHP8 导致博客速度变慢 独立博客自省问卷15题 博客细节个性化调整 让博客速度快如闪电 老何杂记19
省钱小能手(博客搬家小记)
Mr.He · 2024-08-09 · via 飞絮落叶雪 - 博客

老何的博客几乎荒废了,这几天想起来每年需要600多来维持也是浪费,不续吧,又想着还有一块自留地,真是两难。翻了翻阿里云,发现有一款主机很划算,2H2G3M的每年仅需99元,根据官方的规则,好像能用到2027年8月,于是下单购买,并且把已经续费的服务器退款,这样算下来,三年能省1500+。
服务选择Ubuntu系统,环境选择宝塔,一键搭建lnmp。

1.jpg

于是开启搬家历程,感谢博客群友的支招,终于能够无缝转移并且将版本升级到1.2.1,经历了几个坑,记下来;

1、第一次出现preg_match_all(): Argument #2 ($subject) must be of type string, array given错误提示,群友@来杯咖啡提示是php版本不对,于是把php从8.0改成7.2,可以了。

2、发帖时出现Database Query Error错误提示。网上搜索了一番没有任何进展,群友纷纷建议用wordpress。

1723126701743.png

但是老何很多年没有折腾的经验,又不会转化,思来想去还是在typecho上想办法,把数据库导入一遍又一遍,还是不行,几乎崩溃的情况下,灵机一动,居然可以了。

先把原博客数据通过typecho后台备份
全新安装
再恢复备份

终于又可以愉快玩耍了。