岁痕无赖裹岁痕
年轮有迹圈年轮
–abysw
不知不觉,域名和网站从苗头到运行,也是8年了,由于续费预算问题,昨日正式将服务器从轻量转到了ECS,流程并不复杂,但是conda安装设置与之前服务器有些微不同,不能自动接受协议。由于花了点时间,故将步骤简单备份于此。
- 将轻量服务器的主要数据打包,scp传至ECS;
- 备份mySQL数据库并传至ECS;
- 在ECS中下载并安装wp;
- 对wp-config文件进行修改,主要修改账号和密码;
- 重启服务器,上线网站。
[yuan@Yuan-SW-F 2025-09-27 21:50 ~]
$source ~/miniconda/bin/activate
You have new mail in /var/spool/mail/root
(base) [yuan@Yuan-SW-F 2025-09-27 09:42 ~]
$conda install -y conda-build anaconda-client
CondaToSNonInteractiveError: Terms of Service have not been accepted for the following channels. Please accept or remove them before proceeding:
– https://repo.anaconda.com/pkgs/main
– https://repo.anaconda.com/pkgs/r
To accept these channels’ Terms of Service, run the following commands:
conda tos accept –override-channels –channel https://repo.anaconda.com/pkgs/main
conda tos accept –override-channels –channel https://repo.anaconda.com/pkgs/r
For information on safely removing channels from your conda configuration,
please see the official documentation:
https://www.anaconda.com/docs/tools/working-with-conda/channels
(base) [yuan@Yuan-SW-F 2025-09-27 09:42 ~]
$conda tos accept –override-channels –channel https://repo.anaconda.com/pkgs/main
accepted Terms of Service for https://repo.anaconda.com/pkgs/main
(base) [yuan@Yuan-SW-F 2025-09-27 15:50 ~]
$conda tos accept –override-channels –channel https://repo.anaconda.com/pkgs/r
accepted Terms of Service for https://repo.anaconda.com/pkgs/r
(base) [yuan@Yuan-SW-F 2025-09-27 15:50 ~]
2025.09.28