作者:AlexSJC

Ubuntu 打包&压缩

.tar 文件 仅打包,非压缩 tar -xvf FileName.tar # 解包 FileName.tar tar -cvf FileName.tar DirName # 打包 DirName 为 FileName.tar

AlexSJC AlexSJC 发布于 2024-08-13

Nginx Proxy Manager

https://github.com/NginxProxyManager/nginx-proxy-manager

AlexSJC AlexSJC 发布于 2024-08-12

Nginx 斜杠魔法

文档 【location】https://nginx.org/en/docs/http/ngx_http_core_module.html#location Syntax: location [ = | ~ | ~* | ^~ ] uri { ... } location @name

AlexSJC AlexSJC 发布于 2024-08-12

SSL 完全(严格)

本站的 SSL 加密模式已调整为完全(严格):启用端到端加密,对源服务器证书强制执行验证。使用 Cloudflare 的源服务器 CA 为本站的源服务器生成证书。

AlexSJC AlexSJC 发布于 2024-08-12

Bing Wallpaper API

感谢 https://github.com/TimothyYe/bing-wallpaper! https://api.alexsjc.top/bing-wallpaper/

AlexSJC AlexSJC 发布于 2024-08-11

api.c3c.one 现已启用

现在,你可以通过 api.c3c.one 调用本站提供的 API。 访问 api.alexsjc.top 将发生 301 重定向(此行为在未来可能更改)。

AlexSJC AlexSJC 发布于 2024-08-11

数字教材

https://basic.smartedu.cn/tchMaterialhttps://www.sh-genius.cn/index.html

AlexSJC AlexSJC 发布于 2024-08-11

Docker 部署 Halo

Halo + PostgreSQL services: halo: image: halohub/halo:2.18 container_name: halo restart: on-failure:3 depends_on: halo_db:

AlexSJC AlexSJC 发布于 2024-08-07

配置 www 和 https 跳转

Nginx server { listen 80; return 301 https://$host$request_uri; } server { listen 80; listen 443 ssl; server_name example.com; return 301

AlexSJC AlexSJC 发布于 2024-08-07

MusicFree

http://musicfree.upup.fun/https://github.com/maotoumao/MusicFree

AlexSJC AlexSJC 发布于 2024-08-07

Ubuntu 虚拟内存

free -h df -h swapon sudo dd if=/dev/zero of=/swapfile bs=1M count=2048 sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile /etc/fs

AlexSJC AlexSJC 发布于 2024-08-06

nginxWebUI

Nginx Web page configuration tool. Use web pages to quickly configure Nginx. Nginx 网页管理工具,使用网页来快速配置与管理 Nginx 单机与集群。

AlexSJC AlexSJC 发布于 2024-08-06

快速部署 Nextcloud

本教程完全使用 Docker 部署,连接 MariaDB 数据库,并使用 Nginx 进行反向代理。 在此之前,你需要拥有一台常规的服务器(SSH 连接)和域名(可选)。 如果你尚未安装 Docker,请阅读 /archi

AlexSJC AlexSJC 发布于 2024-08-05

Sun-Panel 部署

https://github.com/hslr-s/sun-panelhttps:

AlexSJC AlexSJC 发布于 2024-08-05