首页 > 其他分享 >acme.sh数据迁移

acme.sh数据迁移

时间:2023-05-24 16:22:17浏览次数:46  
标签:27 acme sh Mon CST 迁移 2021

acme.sh数据迁移

1.1.安装脚本

  • 在新服务器安装 acme.sh 脚本工具
curl  https://get.acme.sh | sh
# or
wget -O -  https://get.acme.sh | sh

ll ~/.acme.sh/
alias acme.sh=~/.acme.sh/acme.sh
ll ~/.acme.sh/

1.2.打包备份 acme.sh 数据

cd /root/
ll -a
tar -zcvf acme.sh.tgz .acme.sh/
sz -y acme.sh.tgz

1.3.在新服务器解压备份的数据包

  • 上传 acme.sh.tgz
cd /root/
ll -a
mv .acme.sh/ .acme.sh.bak
rz -y
tar xf acme.sh.tgz
ls -lha

1.4.修改定时任务

crontab -e
-----------------------------
27 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
-----------------------------
  • 实例演示:运行测试
"/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh"
----------------------
root@zuiyoujie:~/.acme.sh# "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh"
[Mon Dec 27 13:31:44 CST 2021] ===Starting cron===
[Mon Dec 27 13:31:45 CST 2021] Already uptodate!
[Mon Dec 27 13:31:45 CST 2021] Upgrade success!
[Mon Dec 27 13:31:45 CST 2021] Auto upgraded to: 3.0.2
[Mon Dec 27 13:31:45 CST 2021] Renew: 'www.zuiyoujie.com'
[Mon Dec 27 13:31:45 CST 2021] Renew: 'zuiyoujie.com'
[Mon Dec 27 13:31:45 CST 2021] Add '--force' to force to renew.
[Mon Dec 27 13:31:45 CST 2021] Skipped zuiyoujie.com
[Mon Dec 27 13:31:45 CST 2021] ===End cron===
-------------------

标签:27,acme,sh,Mon,CST,迁移,2021
From: https://www.cnblogs.com/tssc/p/17428657.html

相关文章

  • Shellcode分离加载实现免杀的两种方式(VT免杀率:1/68)
    简介本文详细介绍了如何通过文件加载和远程URL加载方式实现Shellcode分离加载,以规避安全软件的检测。文章首先描述了通过MetasploitFramework生成的shellcode文件加载的过程,并提供了相关的C++代码。为了避免被杀毒软件检测,利用动态API调用和lazy_importer项目进行代码优化。其......
  • 项目级服务器数据迁移流程
    项目级服务器数据迁移流程创建时间: 2022/09/24更新时间: 2022/09/24编辑: 徐俊杰项目级服务器数据迁移流程以下操作针对最终迁移目标为移动机房托管的硬件服务器,其它服务器进具备参考价值```text183.213.16.9dtsiteqwer4321asdf```一、目录必要拷贝注意:部分内容可......
  • 新建项目git push报错
    连接好远程仓库之后push,发现报错git要求我们在第一次push之前先进行pull操作而执行pull之后,又报错:git提示:Thereisnotrackinginformationforthecurrentbranch.解决方法在终端输入:gitbranch--set-upstream-to=GYKG-invoice/mastermasterpull还报错:fatal:r......
  • AtCoder Regular Contest 132 F Takahashi The Strongest
    洛谷传送门AtCoder传送门没见过这种在新运算下做卷积的题,感觉挺新奇的。考虑Takahashi成为绝对赢家的必要条件,发现前提是Aoki和Snuke出的要相同。不妨将每种策略映射到一个四进制数(\(P\to1,R\to2,S\to3\)),定义运算\(x\otimesy=\begin{cases}x&x=y\\0......
  • CAShapeLayer 使用详解
    CAShapeLayer使用详解////JFProcessView.m//test_JFProcessView_01////Createdbyjeffasdon16/7/4.//Copyright©2016年jeffasd.Allrightsreserved.//#import"JFProcessView.h"@interfaceJFProcessView()@property(nonatomic,strong)......
  • springboot~对应sharding-jdbc实现分库分表
    原因当mysql数据库单表大于1千万以后,查询的性能就不能保证了,我们必须考虑分库,分表的方案了,还好,sharding-jdbc可以很优雅的与springboot对接,完成对mysql的分库和分表。依赖整理为了不影响其它小容量的表,所有添加了动态数据源,只对需要分库分表的进行配置即可com.baomidou:dyna......
  • java将wkt面数据转geojson和elasticsearch的shape数据
    wkt面数据转geojsonimportcom.alibaba.fastjson.JSONException;importcom.alibaba.fastjson.JSONObject;importorg.locationtech.jts.geom.Coordinate;importorg.locationtech.jts.geom.Geometry;importorg.locationtech.jts.io.ParseException;importorg.location......
  • Shell - Shell01 概述
    Shell是什么Shell解析器有哪些Shell脚本的格式Shell脚本的执行   Shell是什么Shell是一个命令解释器,接收应用程序/用户命令去调用操作系统内核。Shell是一个功能强大的编程语言,易编写、易调试、灵活性强。 Shell解析器有哪些[root@node~]#cat/etc/shel......
  • 巧用OpenSSH进行域内权限维持
    最近在Windows服务器上安装OpenSSH,意外发现了一个很有意思的技巧,可用来做域内权限维持,废话不多说,直接上步骤。01、利用方式(1)在已经获得权限的Windows服务器上,使用msiexec安装openssh,一行命令静默安装,不需要任何设置。msiexec/i"http://x.x.x.x/OpenSSH-Win64.msi"(2)在默认......
  • hash碰撞(选做)
    查找资料,提供不少于3条md5算法和3条sh1算法的碰撞实例1.提供数据和数据来源(图书,网站...)2.用openssl命令验证碰撞,提交演示街头MD5碰撞实例实例1来源:https://www.reddit.com/r/DataHoarder/comments/gokrmx/these_different_2_images_has_the_same_md5_hash/两张完全不一样......