上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 30 下一页
摘要: 新增一个用户到用户组后,groups和groups username显示结果不同,重启后才生效 找到的两个回答如下: Because changes to group membership only take effect after starting a new login shell. Star 阅读全文
posted @ 2020-12-25 23:35 mofy 阅读(259) 评论(0) 推荐(0)
摘要: ubuntn安装kvm https://help.ubuntu.com/community/KVM/Installation fedora安装kvm https://docs.fedoraproject.org/en-US/quick-docs/getting-started-with-virtua 阅读全文
posted @ 2020-12-25 22:08 mofy 阅读(276) 评论(0) 推荐(0)
摘要: vmbox 6.1版本后支持虚拟机嵌套,不过在图形化界面好像嵌套按钮还是灰色的。 可以直接通过命令行的方式来开启 VBoxManage modifyvm YourVirtualBoxName --nested-hw-virt on https://www.virtualbox.org/manual/ 阅读全文
posted @ 2020-12-25 20:27 mofy 阅读(130) 评论(0) 推荐(0)
摘要: Ubuntu14.04、Debian7Wheezy 对于使用 upstart 的系统而言,编辑 /etc/default/docker 文件,在其中的 DOCKER_OPTS 中配置加速器地址: DOCKER_OPTS="--registry-mirror=https://hub-mirror.c. 阅读全文
posted @ 2020-11-25 19:24 mofy 阅读(355) 评论(0) 推荐(0)
摘要: 使用代理的时候加上后面那个--disable-filter=true就可以了,仅限个人内部使用,打开这个参数有安全隐患kubectl proxy --address=192.168.112.38 --disable-filter=true参考:https://blog.csdn.net/qq1083 阅读全文
posted @ 2020-11-25 13:14 mofy 阅读(620) 评论(0) 推荐(0)
摘要: 1. 你必须拥有一台安装有Docker的机器。 2. 你的内核必须支持 memory and swap accounting 。确认你的linux内核开启了如下配置: CONFIG_RESOURCE_COUNTERS=y CONFIG_MEMCG=y CONFIG_MEMCG_SWAP=y CONF 阅读全文
posted @ 2020-11-24 19:37 mofy 阅读(1093) 评论(0) 推荐(0)
摘要: vi /etc/apt/sources.list #中科大 deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib deb-src http://mirrors.ustc.edu.cn/kali kali-roll 阅读全文
posted @ 2020-11-22 23:46 mofy 阅读(1903) 评论(0) 推荐(0)
摘要: ifconfig wlan0mon down iwconfig wlan0mon mode monitor ifconfig wlan0mon up airodump-ng wlan0mon就可以扫描到WiFi了 阅读全文
posted @ 2020-05-20 15:14 mofy 阅读(3997) 评论(0) 推荐(0)
摘要: 路坑记录 安装vsftpd,使用虚拟用户目录 创建本地用户useradd -d /data/ftp -s /sbin/nologin ftpuser 自定义用户目录local_root=/opt/ftp 创建完虚拟用户后,使用虚拟用户登录,一直显示”验证失败” 日志又没得显示,上网试了各种方式都不行 阅读全文
posted @ 2020-04-28 15:14 mofy 阅读(2591) 评论(0) 推荐(0)
摘要: 在nginx中配置server侦听非80端口时,我们在访问时会在url中加入对应的端口号,如:http://xxx.xxx.xxx:8006/,但如果在nginx服务器前有另一台服务器作为用户首先访问的web服务器,这台服务器设置了端口转发,将80端口获得的请求转发到nginx中的对应端口中,如80 阅读全文
posted @ 2020-03-04 17:53 mofy 阅读(29659) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 30 下一页