摘要: - hosts: bb tasks: - yum: name={{ item }} state=installed with_items: - yum-utils - bash-completion - vim - ntpdate - device-mapper-persistent-data - 阅读全文
posted @ 2022-12-17 15:12 圆梦笔记 阅读(386) 评论(0) 推荐(0)
摘要: command+q 退出 command+n 新建窗口 command+t 新建标签 command+delete 删除 shift+command+. 查看隐藏文件/再按一次隐藏 shift+command+delete 清空回收站 shift+option+command+delete 清空回收 阅读全文
posted @ 2022-04-06 09:16 圆梦笔记 阅读(168) 评论(0) 推荐(0)
摘要: defaults write com.apple.systempreferences AttentionPrefBundleIDs 0 Killall Dock 阅读全文
posted @ 2022-04-04 12:09 圆梦笔记 阅读(142) 评论(0) 推荐(0)
摘要: 1.官方下载app(微信,Mircosoft remote desktop,浏览器,vlc, 2.设置.zshrc export PATH=/opt/homebrew/bin:$PATH export PATH=/opt/homebrew/sbin:$PATH alias proxy='export 阅读全文
posted @ 2022-04-03 15:35 圆梦笔记 阅读(513) 评论(0) 推荐(0)
摘要: 0.下载centos7.zip https://github.com/yuk7/CentWSL/releases/download/7.0.1907.3/CentOS7.zip" 1.安装choco(windows的包管理工具类似于brew) Set-ExecutionPolicy Bypass - 阅读全文
posted @ 2022-01-09 20:04 圆梦笔记 阅读(715) 评论(0) 推荐(0)
摘要: vi .ssh/config 添加 Host * ServerAliveInterval 180 ControlPersist yes ControlMaster auto ControlPersist 8h ControlPath ~/.ssh/.sessions/%C Host */* Cont 阅读全文
posted @ 2022-01-04 22:51 圆梦笔记 阅读(95) 评论(0) 推荐(0)
摘要: 1.安装ohmyzshwget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.shsh install.sh2.安装powerline和字体pip install powerline-statusgit 阅读全文
posted @ 2021-12-30 22:58 圆梦笔记 阅读(349) 评论(0) 推荐(0)
摘要: CentOS 7 使用 ELRepo升级内核 在 CentOS 7 上启用 ELRepo 仓库,运行如下命令: rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org rpm -Uvh http://www.elrepo.org/elre 阅读全文
posted @ 2021-12-26 21:18 圆梦笔记 阅读(151) 评论(0) 推荐(0)
摘要: 第一步 建立sock5代理 ssh -D prot username@remote_ip -p port 例子:终端运行 ssh -D 7000 root@35.33.243.215 窗口不能关 第二步 设置.zshrc vi .zscrc 添加如下两行 alias proxy='export al 阅读全文
posted @ 2021-12-11 12:11 圆梦笔记 阅读(2050) 评论(0) 推荐(0)
摘要: mkdir -p /usr/local/etc/pkg/repos ee /usr/local/etc/pkg/repos/FreeBSD.conf FreeBSD: { url: "pkg+http://mirrors.ustc.edu.cn/freebsd-pkg/${ABI}/quarterl 阅读全文
posted @ 2021-07-14 09:40 圆梦笔记 阅读(154) 评论(0) 推荐(0)