摘要:
直接图形化修改: nmtui 在nmtui界面中,选择”Edit a connection”,然后选择”Connection 1″。这将列出所有已配置的网络连接,可以对其进行编辑、删除和添加。每个连接都对应一个配置文件,保存在/etc/NetworkManager/system-connection
阅读全文
posted @ 2019-04-09 21:27
lshan
阅读(1530)
推荐(0)
摘要:
参考:https://blog.csdn.net/sj349781478/article/details/78736873 3、清除yum缓存 yum clean all yum makecache yum clean all yum makecache 先说下安装网络源的步骤: 修改CentOS默
阅读全文
posted @ 2019-04-09 15:31
lshan
阅读(916)
推荐(0)
摘要:
参考:https://www.cnblogs.com/cs294639693/p/10164258.html 第一步:删除 参考:https://www.cnblogs.com/liuyansheng/p/9203134.html 第二步;解决问题 https://www.cnblogs.com/c
阅读全文
posted @ 2019-04-09 15:13
lshan
阅读(183)
推荐(0)
摘要:
依赖: <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-openfeign</artifactId> </dependency> 全部依赖: <project xml
阅读全文
posted @ 2019-04-08 10:42
lshan
阅读(732)
推荐(0)
摘要:
依赖: <properties> <java.version>1.8</java.version> <feign-core.version>10.2.0</feign-core.version> <feign-form.version>2.1.0</feign-form.version> </pro
阅读全文
posted @ 2019-04-08 10:37
lshan
阅读(1696)
推荐(0)
摘要:
摘要: 1.xsync 工具 2.scp shh 免密(expect 交互自动输入密码) 并且解决文件路径有空格问题 shell 小工具,用于集群搭建: xsync脚本基于rsync工具,rsync 远程同步工具,主要用于备份和镜像。具有速度快、避免复制相同内容和支持符号链接的优点,它只是拷贝文件不
阅读全文
posted @ 2019-04-07 19:45
lshan
阅读(816)
推荐(0)
摘要:
参考:https://www.2cto.com/database/201609/547661.html Spring配置 spring配置的原理是将整个配置抽象为两部分: xxxx-instance.xml (canal组件的配置定义,可以在多个instance配置中共享) xxxx.propert
阅读全文
posted @ 2019-04-03 15:19
lshan
阅读(5480)
推荐(1)
摘要:
vi/vim编辑器一般模式 yy 复制一行yNy 复制N行p 粘贴u 撤销dd 删除一行dNd 删除N行x 小写x,相当于delX 大写X,相当于Backspaceshift+^ 移动到行头shift+& 移动到行尾1+shift+g 移动到页面头shift+g 移动到页面尾n+shift+g 移动
阅读全文
posted @ 2019-04-03 14:02
lshan
阅读(142)
推荐(0)
摘要:
参考: http://c.biancheng.net/view/1114.html IF :比较 IF高级特性:双圆括号(( )):表示数学表达式 在判断命令中只允许在比较中进行简单的算术操作,而双圆括号提供更多的数学符号,而且在双圆括号里面的'>','<'号不需要转意。 双方括号[[ ]]:表示高
阅读全文
posted @ 2019-04-03 11:24
lshan
阅读(148)
推荐(0)
摘要:
参考:https://deepzz.com/post/how-to-setup-ssh-config.html SSH(Secure Shell)是什么?是一项创建在应用层和传输层基础上的安全协议,为计算机上的 Shell(壳层)提供安全的传输和使用环境。也是专为远程登录会话和其他网络服务提供安全性
阅读全文
posted @ 2019-04-02 17:42
lshan
阅读(240)
推荐(0)