摘要: 1 安装 yum install samba samba-client samba-common -y 2 配置 vim /etc/samba/smb.conf 在最下面增加 [wolbo] path = /home/wolbo browseable = yes writable = yes val 阅读全文
posted @ 2019-11-20 21:10 wolbo 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 以下内容复制自https://blog.csdn.net/qingfengxulai/article/details/80853870 放置此处便于检索 1 安装 sudo yum install squid 安装http工具 yum install httpd-tools -y 2 配置() 生成 阅读全文
posted @ 2019-11-20 20:32 wolbo 阅读(1042) 评论(0) 推荐(0) 编辑
摘要: 安装与卸载参考:https://docs.microsoft.com/zh-cn/windows-server/administration/openssh/openssh_install_firstuse [C:\] system32 >Add-WindowsCapability -Online 阅读全文
posted @ 2019-11-18 13:55 wolbo 阅读(5293) 评论(0) 推荐(0) 编辑
摘要: 1 var fs = require("fs"), path = require("path"); function walk(dir, callback) { fs.readdir(dir, function(err, files) { if (err) throw err; files.forE 阅读全文
posted @ 2019-11-16 18:07 wolbo 阅读(1008) 评论(0) 推荐(0) 编辑
摘要: 1 新建调试配置 2 添加远程调试配置 设置IP,端口后 获得启动参数 -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=4001 3 将启动参数添加至远端启动命令中 4 启动远程服务 启动本地调试 阅读全文
posted @ 2019-11-16 13:55 wolbo 阅读(141) 评论(0) 推荐(0) 编辑
摘要: java的类型转换让人忍不住在开始编码前骂一声 FUCK! 1 子类转父类 up List<SubClass> subs = ...; List<? extends BaseClass> bases = subs; 2 父类转子类 down //强转public class TestA {} pub 阅读全文
posted @ 2019-11-15 16:42 wolbo 阅读(10326) 评论(1) 推荐(0) 编辑
摘要: 1 在系统引导页面 按e 修改启动参数 2 将LANG改为en_US.UTF-8 并空格增加 init=/bin/sh 启动shell 改完后按ctrl+x 启动 3 重新挂载root mount -o remount, rw / 重置用户密码 password root 创建.autorelabe 阅读全文
posted @ 2019-11-11 17:05 wolbo 阅读(443) 评论(0) 推荐(0) 编辑
摘要: 1 首先想到的是递归遍历目录 筛选出符合条件的文件 dir命令递归遍历目录 /b控制显示格式 /s递归 /ad 只显示目录 dir /b/s .\* 判断文件类型 操作数得用`` rem 取出文件扩展名 %%~XI rem 判断相等 if `%%~XI` equ `.jar`( echo %%I ) 阅读全文
posted @ 2019-11-03 16:22 wolbo 阅读(526) 评论(0) 推荐(0) 编辑
摘要: 1 新建service配置文件 vi /etc/systemd/system/node.service [Unit]Description=My super nodejs app [Service]# set the working directory to have consistent rela 阅读全文
posted @ 2019-11-03 11:28 wolbo 阅读(537) 评论(0) 推荐(0) 编辑
摘要: 1 安装svnserve yum install subversion -y 2 创建仓库 mkdir /svn/rep1 -p mkdir /svn/rep2 -p svnadmin create /svn/rep1 svnadmin create /svn/rep2 3 修改仓库配置 rep2配 阅读全文
posted @ 2019-11-02 19:22 wolbo 阅读(198) 评论(0) 推荐(0) 编辑