Shutdown Command Not Found? Add PATH in Debian 11 Bullseye! If you are a user of Ubuntu, you may found that shutdown, reboot and a few other commands does not work in Debian Linux. And it outputs “bash: shutdown: command not found”. I was thinking that Debian does not have these commands out-o
作者归档:HXS
Installing Lighttpd, PHP 7, and MySQL on Debian 11
In this guide, we are going to explain the steps in installing Lighttpd, PHP, and MySQL on Debian 11 Deploying your cloud server If you have not already registered with Cloudwafer, you should begin by getting signed up. Take a moment to create an account after which you can quickly deploy your cl
Proxmox VE No-Subscription Repository
If you don’t have paid subscription you should switch to No-Subscription Repository. This is the recommended repository for testing and non-production use. Its packages are not as heavily tested and validated. You don’t need a subscription key to access the pve-no-subscription repository.
如何在Linux中清除/删除磁盘或者分区中的所有分区表
要清除分区表,可以使用wipefs 命令.我们需要了解的有关分区、分区类型、分区方案的所有信息。 这里我有一个磁盘 /dev/sdb, 在这个磁盘中,我创建了两个主分区: # fdisk -l /dev/sdb Disk /dev/sdb: 17.2 GB, 17179869184 bytes, 33554432 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physic
ESXI标准vSwitch的VLAN ID
ESXI的标准vSwitch支持自定义 VLAN ID,以实现网络隔离! 根据 VLAN ID 的不同,可分为三种网络: VLAN ID 0 阻止任何携带了 VLAN tag 的数据包 VLAN ID 4095 允许通过携带任何 VLAN tag 的数据包(trunk) VLAN ID 1~4094 仅允许携带指定 VLAN ID tag 的数据包 默认地,在未做更改的情况下,虚拟机往往是使用的VLAN ID为
DirectAdmin将用户目录修改为数据盘
一、修改新增用户主目录 Edit /etc/defaut/useradd and set HOME=/home to HOME=/home2. DA itself doesn’t care where the new home is. The useradd program is the one who decides where it goes, so by changing the default path for useradd, DA will follow without complaint vi /etc/defaut/useradd #
解决MySQL8.0报错:Unknown system variable 'validate_password_policy'
一、问题描述 1、在安装MySQL8.0时,修改临时密码,因密码过于简单(如:123456),不符合MySQL密码规范,会触发一个报错信息: ERROR 1819 (HY000): Your password does not satisfy the current policy requirements。 二、遇到问题 1、解决办法调整MySQL密码验证规则,修改 policy 和 length 的值。 2、MySQL 5.7 进
Docker修改为国内镜像仓库
修改镜像仓库配置,修改/etc/docker/daemon.json文件,如果没有新建一个即可 # vi /etc/docker/daemon.json { "registry-mirrors":[ "https://registry.docker-cn.com" ] } 国内常用的docker镜像仓库 Docker官方中国区: https://registry.docker-cn.com 网易:http://hub-mirror.c.163.com 中国科学技术大学:https
解决 Proxmox VE升级 apt-get update 报错的问题
使用 Proxmox VE 默认的 apt 更新源,在 WEB 管理面板 更新 点击 刷新 后,会显示错误: TASK ERROR: command ‘apt-get update’ failed: exit code 100 这时因为默认的更新源为 Proxmox VE 企业版的订阅,如果我们没有购买订阅,就会提示签名错误,从而使得 apt 更新失败。 解决的办法很简单,就是更换软件源
mysql8.0 phpMyAdmin登录错误The server requested authentication method unknown to the client解决方法
mysql 安装了最新版本8.0.11后创建用户并授权后,授权的用户连接数据库提示 mysqli_real_connect(): The server requested authentication method unknown to the client [caching_sha2_password] mysqli_real_connect(): (HY000/2054): The server requested authentication method unknown to the client 查阅一些相关