摘要: 配置如下 [/gscloud] path = /gscloud browseable = yes writable = yes guest ok = yes read only = no create mask = 0755 原因是 [/gscloud] 前面的/ 去掉之后可以访问了 阅读全文
posted @ 2019-12-13 19:17 wolbo 阅读(1193) 评论(0) 推荐(0) 编辑
摘要: 1 sudo adduser wolbo 2 sudo vim /etc/sudoers root ALL=(ALL) ALLwolbo ALL=(ALL) ALL wolbo ALL=(ALL) NOPASSWD:ALL 免密 阅读全文
posted @ 2019-12-13 18:24 wolbo 阅读(1843) 评论(0) 推荐(0) 编辑
摘要: 1 添加apt-get 代理配置文件 sudo vi /etc/apt/apt.conf.d/proxy.conf 2 添加内容 Acquire::http::Proxy "http://wolbo:Test6530@10.24.21.1:8888"; Acquire::https::Proxy " 阅读全文
posted @ 2019-12-13 18:03 wolbo 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 1 安装xfce $ sudo yum install -y epel-release $ sudo yum groupinstall -y "Xfce" $ sudo reboot 2 安装xrdp $ sudo yum install -y epel-release $ sudo yum ins 阅读全文
posted @ 2019-12-10 14:10 wolbo 阅读(826) 评论(0) 推荐(0) 编辑
摘要: $ git checkout <another-branch> <path-to-file> [<one-more-file> ...] $ git status $ git commit -m "'Merge' specific file from '<another-branch>'" 参考: 阅读全文
posted @ 2019-12-03 21:24 wolbo 阅读(1194) 评论(0) 推荐(0) 编辑
摘要: 生成秘钥 ssh-keygen -t rsa 不要输入密码 默认生成在 ~/.ssh/id_rsa.pub 复制公钥追加至远端机器的 ~/.ssh/authorized_keys https://blog.csdn.net/qq_33319140/article/details/98965755 阅读全文
posted @ 2019-12-03 20:17 wolbo 阅读(3518) 评论(0) 推荐(0) 编辑
摘要: 1 windows echo param1>param.txt echo param2>>param.txt echo param3>>param.txt call interactive.cmd < param.txt pause 最简单的 (echo input1 && echo input2) 阅读全文
posted @ 2019-11-30 16:15 wolbo 阅读(485) 评论(0) 推荐(0) 编辑
摘要: mount -t cifs //10.100.100.250/产品服务器/待测库/FI\ Cloud/CICD/BuildRoot_Dev/ /cicd --verbose -o vers=1.0,username=xxxxxx,password='xxxxxx' 注意 1 路径空格需要转义 \_ 阅读全文
posted @ 2019-11-29 19:07 wolbo 阅读(348) 评论(0) 推荐(0) 编辑
摘要: stringify两次 JSON.stringify(JSON.stringify(obj)) 阅读全文
posted @ 2019-11-25 17:28 wolbo 阅读(530) 评论(0) 推荐(0) 编辑
摘要: 1 新建powershell脚本文件 <# This is a workaround for "node-gyp is unable to find msbuild if VS2019 is installed" https://github.com/nodejs/node-gyp/issues/1 阅读全文
posted @ 2019-11-24 01:50 wolbo 阅读(2295) 评论(0) 推荐(0) 编辑