春有百花秋有月

“骏马面前无沟壑”

日常工作与生活遇到的各种问题与分析解决.

在签发acme证书时报错Challenge error

<!--more-->
    your_domain:Challenge error: <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx</center>
    </body>
    </html>
    [Mon Dec 18 10:34:38 AM CST 2023] Please add '--debug' or '--log' to check more details.
    [Mon Dec 18 10:34:38 AM CST 2023] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh

MBA调整Launchpad每列每行的数量方法

MacBook调整Launchpad 启动台的每一行、和每一列图标的数量,达到调整Launchpad图标大小的目的。

JAVA&PYTHON

下面是Java和Python之间一些常见方面的区别总结成表格:

v2ray 一键安装脚本

参考:https://github.com/233boy/v2ray

linux-debian init

debian初始化:

connect using SSH -->

    sudo su
    passwd root
    useradd appadmin
    passwd appadmin

Debian install typecho

1.使用wget下载压缩包或者使用自已的备份

    tar -zvcf typecho.tar.gz

    wget https://github.com/typecho/typecho/releases/download/ci/typecho.zip

Debian install acme

Install acme.sh(前提有域名),生成证书

1.安装acme.sh
    curl https://get.acme.sh | sh

Debian Install fail2ban

Install fail2ban

centos8 intall happend error:

Error: 
 Problem: problem with installed package selinux-policy-targeted-3.14.3-80.el8_5.2.noarch
  - package fail2ban-server-1.0.2-3.el8.noarch requires (fail2ban-selinux if selinux-policy-targeted), but none of the providers can be installed
  - package fail2ban-1.0.2-3.el8.noarch requires fail2ban-server = 1.0.2-3.el8, but none of the providers can be installed
  - conflicting requests
  - nothing provides selinux-policy >= 3.14.3-108.e
<!--more-->
l8_7.1 needed by fail2ban-selinux-1.0.2-3.el8.noarch
  - nothing provides selinux-policy-base >= 3.14.3-108.el8_7.1 needed by fail2ban-selinux-1.0.2-3.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

bitwarden-backup-crontab

bitwarden-backup-crontab

    crontab -l
    crontabl -e

使用WARP套VPS

使用WARP套VPS,使得vps出站ip变更为warp的,可使用chatgpt

1.查看自已的ip: