摘要: 开全局,使用浏览器插件Proxy Switchy Omega进行代理 1、x2ray 软件配置 2、Proxy Switchy Omega 配置 将以下规则加入配置: *.msftconnecttest.com +proxy *.1drv +proxy *.microsoft +proxy *.aa 阅读全文
posted @ 2023-04-11 11:58 chyuhung 阅读(969) 评论(0) 推荐(0) 编辑
摘要: for ip in 10.191.2.1 10.191.2.2; do for port in 22 80 443; do timeout 1 bash -c "echo >/dev/tcp/$ip/$port" && echo "$ip:$port:on" || echo "$ip:$port:o 阅读全文
posted @ 2023-03-22 15:52 chyuhung 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 在OpenStack云平台中,使用ISO镜像安装虚拟机是非常常见的一种方式。本文将介绍如何在OpenStack中使用ISO镜像创建一个虚拟机,并将其制作成模板。 第一步,我们需要将ISO镜像上传到OpenStack中的glance中。glance是OpenStack中的镜像服务,用于管理虚拟机和容器 阅读全文
posted @ 2023-03-21 10:20 chyuhung 阅读(1021) 评论(0) 推荐(0) 编辑
摘要: 挂载NFS和配置开机启动 使用mount -t nfs 10.191.xx.x:/dir /dir后出现如下报错: mount.nfs: rpc.statd is not running but is required for remote locking. mount.nfs: Either us 阅读全文
posted @ 2022-06-14 10:35 chyuhung 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 在Windows上用Xming图形化管理Linux Ubuntu KVM宿主上的虚拟机 环境 1、VMware Workstation 15 Pro 2、Ubuntu 18.04 3、Xming 6.9.0.31 4、本地主机:Windows10 安装 1、在本地Windows主机安装VMware 阅读全文
posted @ 2021-09-14 10:47 chyuhung 阅读(383) 评论(0) 推荐(0) 编辑
摘要: Linux配置允许普通用户免密码切换其他普通用户 背景 业务需求:使用su命令将账号user01免密码切换到user02,不添加其他特权 操作 通过配置/etc/pam.d/su,能够实现不加入wheel用户组,不使用sudo命令从user01免密码切换到user02 具体配置: 在/etc/pam 阅读全文
posted @ 2021-07-29 15:23 chyuhung 阅读(2444) 评论(0) 推荐(1) 编辑