Ubuntu 22.04.1 安装 WordPress (Nginx+MariaDB+PHP)

参考文章 CentOS7安装Nextcloud13 使用(Nginx+MariaDB+PHP)_WolfBolin技术博客-CSDN博客 环境说明 * WSL Ubuntu 22.04.1 基础初始化 新服务器中所有自带服务都需要更新 sudo apt update && sudu apt upgrade -y 安装 nginx 并添加基础配置 sudo apt install nginx -y 安装完成之后打开文件 /etc/nginx/nginx.conf ,前五十行中包含以下内容: ## # Virtual Host Configs ## include /etc/nginx/conf.d/*.conf; include /etc/…

WSL Ubuntu 22.04 systemctl 命令报错

参考文献:Advanced settings configuration in WSL | Microsoft Learn 在 WSL Ubuntu 22.04 下,systemctl 命令报错以下内容: System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down 解决方案 安装 wsl-setup sudo apt install wsl-setup 配置…

Lombok 插件与 Android Studio 不兼容解决方案

参考文章:sgpublic/lombok-plugin-repository: A repository for Lombok plugin incompatibility issues with Android Studio. (github.com) 从 IDEA 2020.2.* 开始,Lombok Plugin 开始内置,且无法在插件商城下载到后续版本,而 Android Studio 却在此时删除了 Lombok Plugin 的内置,从商城上下载的版本会提示与当前 Android Studio 不兼容,此文便是解决方案。 Plugin repository(推荐) 1. 前往 File -> Settings -> Plugins,点击 Install…

WebRTC Android 运行 build_aar.py 报错 You can often set treat_warnings_as_errors=false...

编译 webrtc_android 时,build_aar.py 运行时出现警告: 注:xxx.java 使用或覆盖了已过时的 API。 注:有关详细信息,请使用 -Xlint:deprecation 重新编译。 随即出现 python 的错误堆栈提示,编译停止并出现以下提示: ... You can often set treat_warnings_as_errors=false to not treat output as failure (useful when developing locally). [100/30872] ACTION //components/resour…d/toolchain/android:…

WSL CentOS 7 安装 Python 3.10.0

参考文章 - CentOs 7 下安装python3_猫腻的博客-CSDN博客 - 在 CentOS 上编译安装 Python 3 - 知乎 (zhihu.com) CentOS 7 自带 Python 2.7.5,但我们需要的是 Python 3.10.0。我们需要先按安装依赖。 安装 yum-utils: yum install yum-utils 然后利用它提供的命令 yum-builddep 来安装当前系统中缺失的 Python 依赖软件: yum-builddep python3 我所使用的 WSL CentOS 7 镜像没有安装 pip,所以需要安装。…

Python pip 清除缓存

参考文章 (30条消息) [Python] pip 清除缓存_hanjialeOK的博客-CSDN博客_pip清理缓存 linux cd ~/.cache/pip rm -rf * win 缓存所在文件夹 %AppData%..Localpipcache…