2018年12月28日

openstack 主机无法ping通instance,无法ssh到instance

摘要: https://docs.openstack.org/zh_CN/user-guide/cli-nova-configure-access-security-for-instances.html 好不容易安装好了OpenStack,发现无法ping通instance,无法ssh到instance: 阅读全文

posted @ 2018-12-28 18:06 江湖小女生 阅读(1701) 评论(0) 推荐(0) 编辑

2018年11月12日

[ 转]Shell中参数($0,$1,$#,$NF,$@等)的含义

摘要: Shell中参数($0,$1,$#,$NF,$@等)的含义 发布时间:2018-01-19 来源:网络 上传者:用户 摘要:此处仅仅从来记录平时常用的命令的参数。以免下次忘记时及时找到。也方便更多的人。awk$0表示所有$1表示第一个$NF表示最后一个$(NF-1)表示倒数第二个比如:echo'ab 阅读全文

posted @ 2018-11-12 13:53 江湖小女生 阅读(5183) 评论(0) 推荐(0) 编辑

2018年11月8日

【转】Linux系统下的ssh使用

摘要: Linux系统下的ssh使用(依据个人经验总结) 对于linux运维工作者而言,使用ssh远程远程服务器是再熟悉不过的了!对于ssh的一些严格设置也关系到服务器的安全维护,今天在此,就本人工作中使用ssh的经验而言,做一些总结记录来下。 -bash: ssh: command not found 解 阅读全文

posted @ 2018-11-08 16:37 江湖小女生 阅读(802) 评论(0) 推荐(0) 编辑

【转】sshpass-Linux命令之非交互SSH密码验证

摘要: sshpass-Linux命令之非交互SSH密码验证 ssh登陆不能在命令行中指定密码。sshpass的出现,解决了这一问题。sshpass用于非交互SSH的密码验证,一般用在sh脚本中,无须再次输入密码。 它允许你用 -p 参数指定明文密码,然后直接登录远程服务器,它支持密码从命令行、文件、环境变 阅读全文

posted @ 2018-11-08 16:19 江湖小女生 阅读(204) 评论(0) 推荐(0) 编辑

2018年10月15日

【转】新装的CentOS 7安装python3

摘要: https://blog.csdn.net/lovefengruoqing/article/details/79284573 centos7 自带有 python,但是却是 python2 版本的 python,如果你想安装个python3怎么办呢?难道要从github上把源码clone下来进行编译 阅读全文

posted @ 2018-10-15 18:44 江湖小女生 阅读(240) 评论(0) 推荐(0) 编辑

【转】Linux - CentOS 7网络配置

摘要: Linux - CentOS 7网络配置 https://blog.csdn.net/J080624/article/details/78083988 Linux - CentOS 7网络配置 https://blog.csdn.net/J080624/article/details/7808398 阅读全文

posted @ 2018-10-15 17:26 江湖小女生 阅读(333) 评论(0) 推荐(0) 编辑

VMware Workstation and Device/Credential Guard are not compatible

摘要: VMware Workstation and Device/Credential Guard are not compatible. VMware Workstation can be run after disabling Device/Credential Guard. ” error migh 阅读全文

posted @ 2018-10-15 14:43 江湖小女生 阅读(5934) 评论(2) 推荐(2) 编辑

2018年7月17日

执行shell脚本时提示bad interpreter:No such file or directory的解决办法

摘要: 执行shell脚本时提示bad interpreter:No such file or directory的解决办法 故障现象:在终端直接cd /var正常,在shell脚本中执行则报错。原因是脚本是在windows平台下写的,换行符与Linux不同,造成脚本不能正确执行 出现bad interpr 阅读全文

posted @ 2018-07-17 11:14 江湖小女生 阅读(372) 评论(0) 推荐(0) 编辑

2018年6月22日

git pull fatal: refusing to merge unrelated histories

摘要: 1.首先我github有个远程仓库,然后我本地有个仓库 本地仓库我新添加了一个文件,然后我去关联(git remote add origin git@github.com:qshilary/gittest.git)以后 2.Git push发现报错了 eqiasui@CN00214190 MINGW 阅读全文

posted @ 2018-06-22 11:54 江湖小女生 阅读(587) 评论(1) 推荐(0) 编辑

Git报错:Your branch is ahead of 'origin/master' by 1 commit

摘要: . commit之后,用git status,打印信息为: # On branch master # Your branch is ahead of 'origin/master' by 1 commit. # nothing to commit (working directory clean) 阅读全文

posted @ 2018-06-22 11:26 江湖小女生 阅读(2315) 评论(0) 推荐(0) 编辑

导航