proxmox 使用 xxx-cloud.img 创建模板实战
使用 cloud images 和 cloud-init 可以很方便地在 pve 创建一个快捷高效的虚拟机克隆模板。首先选择自己偏好的 cloud image,例如 Ubuntu 的可以在 Ubuntu cloud init 镜像 下载, CentOS 的可...
使用ssh命令连接远程服务器报错-bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
使用ssh命令连接远程服务器出现如下报错提示: [root@localhost opc]# ssh 192.168.10.3 Last login: Mon Aug 24 17:30:59 2020 from 192.168.10.74 -bash: warning: setlocale: LC_ALL: cannot...
在由PHP:7.4-fpm镜像启动的容器中安装gd支持库
安装php容器gd扩展库 root@odoo:~# docker exec -it opc-compose_opc-php-fpm_1 bash root@44402451a447:/var/www/html# apt update #更新软件源 root@44402451a447:/var/www/html# apt install...
ubuntu 22.04重启网卡时出现警告
ubuntu 22.04重启网卡时出现警告: ** (process:32186): WARNING **: 09:28:00.909: Problem encountered while validating default route consistency.Please set up multiple routing tables ...
Nginx错误client intended to send too large body
今天测试使用opc订单管理系统的数据库还原功能时,总是执行不成功,出现NETWORK ERRO的错误。 通过查询nginx错误日志发现了这样一条错误client intended to send too large body: 2623513318 by...
mysql中解决:1044 – Access denied for user ‘root‘@‘%‘ to database ‘exhibition‘
新源码编译的MYSQL 5.7.21数据库,并新建了一个%的root用户。 然后新建一个数据库exhibition,在对exhibition进行授权的时候提示1044 - Access denied for user 'root'@'%' to database 'exhibi...
在PHP容器中安装php-redis扩展库
1、先进入容器 docker exec -i -t php /bin/bash 2、进入php容器内执行 pecl install -o -f redis 3、修改php.ini,添加: extension=redis.so 4、启动php-redis扩展 docker-php-ext-enable red...
远程连接MYSQL 8.0数据库时报错:ERROR 2059 (HY000): Authentication plugin ‘caching_sha2_password‘ cannot be load
在远程服务器连接MYSQL 8.0数据库时出现如下错误: ERROR 2059 (HY000): Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib64/mysql/plugin/caching_sha2_password.so...











