加载中
PuTTY 和 SSH 免密码登录

需求 今天在工作中对 ssh key 有了更深的认识。 昨天给 Scrum 项目组新建了两台 CentOS 虚拟机,Jeffery 希望能够使用 ppk 文件免密码登录。 尝试了几种解决方案。 首先是在自己的机器上利用...

2019/06/14 17:21
1.7K
[Bash] Shift 命令

shift #This is a BASH shell builtin, to display your local syntax from the bash prompt type: help shift -bash-4.1$ help shift shift: shift [n] Shift positional parameters. Renam...

2019/09/05 18:39
276
“没有为扩展名.py找到关联文件”的解决办法

如题,在win7上安装python3.5之后,通过 pip install awscli 命令安装 AWS CLI(Command Line Interface),最后执行aws命令时总是先提示一句"没有为扩展名.py找到关联文件",然后显示执行结果...

2019/08/17 17:28
2K
执行Git命令时出现 SSL certificate problem 的解决办法

我在 windows下用git clone gitURL 就提示 SSL certificate problem: self signed certificate in certificate chain 这种问题,在windows下出现得频率高些。我估计主要是git本身就是基于lin...

2019/08/16 15:20
1.7K
解决find: paths must precede expression

今天在服务器上执行 find ./ -mtime +30 -type f -name .php的时候,报下面的错误: find: paths must precede expression: 2.txt Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|searc...

PHP
2019/08/13 11:53
7.4K
nohup 和 &

nohup 是 no hangups 的缩写 学习一个指令,最好从官方文档看: 官网地址: http://www.gnu.org/software/coreutils/manual/html_node/nohup-invocation.html#nohup-invocation nohup 不挂断...

2019/08/13 09:20
98
在 centos7上 python2 和 python3 共存

一、解决Python2 pip问题 centos7自带的是Python2,但是并没有安装pip,我们需要自行安装 包名为 python-pip # yum install epel-release -y # yum -y install python-pip // 安装完成后不是...

Kubernetes 的几个重要概念

Cluster Cluster 是计算、存储和网络资源的集合,Kubernetes 利用这些资源运行各种基于容器的应用。 Master Master 是 Cluster 的大脑,它的主要职责是调度,即决定将应用放在哪里运行。Mas...

在 CentOS 7 上安装和配置 Puppet

1 准备 2台 centos7 (master/server:192.168.1.103 agent/client:192.168.1.106) 分别添加puppet自定义仓库 https://yum.puppet.com/puppet6-release-el-7.noarch.rpm 2 Master/Server 设置 ...

2019/07/16 09:58
372
Linux shell 脚本中使用 alias 定义的别名

核心知识点: 用 shopt 开启和关闭 alias 扩展 交互模式下alias 扩展默认是开启的,脚本模式下默认是关闭的 **** alias 扩展的名称是 expand_aliases alias 定义 在当前session中,可以直接在...

2019/07/07 08:08
1.4K
Docker Daemon Failed,并且重启失败

今天突然发现运行在 Docker 容器里的 Jenkins 无法登录了。 运行 systemctl status docker,看见它的状态是 Failed。 试图重启,报告Job for docker.service failed because the control pro...

2019/07/04 18:33
1.2W
[Docker] 构建 redis-cli 镜像

Dockerfile FROM alpine MAINTAINER Stanislav Serebrennikov ENV REDIS_VERSION 5.0.5 ENV REDIS_DOWNLOAD_URL http://download.redis.io/releases/redis-${REDIS_VERSION}.tar.gz ......

2019/06/27 15:38
1.6K
WARNING: IPv4 forwarding is disabled. Networking will not work.

今天在虚拟机CentOS7中运行docker run -it --rm busybox, 出现下命的警告 [root@radar epm-shrm]# docker run -it --rm busybox WARNING: IPv4 forwarding is disabled. Networking will not...

在CentOS7上安装Python3

CentOS7 里默认的Python是版本2.7.5。 我需要按照 Python 3。 2019年6月25日,从官方下载最新的发行版 Python 3.7.3 。 解压缩, ./configure --prefix=/usr/local/python3 make && make ins...

the 9000 port of 10.22.17.132 is not addressable for other servers.

存在的问题 the 9000 port of 10.22.17.132 is not addressable for other servers. 50070 is not addressable too 解决办法 firewall-cmd --get-active-zones firewall-cmd --zone=public -...

Another app is currently holding the yum lock; waiting for it to exit...

Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 153 M RSS (266 MB VSZ) Started: Thu Jul 12 00:03:05 2012 -...

2019/05/26 08:19
451
init 0-6 (启动级别:init 0,1,2,3,4,5,6)

启动级别: init 0,1,2,3,4,5,6 这是个很久的知识点了,只是自己一直都迷迷糊糊的,今天在翻出来好好理解下。。 0: 停机 1:单用户形式,只root进行维护 2:多用户,不能使用net file system...

2019/05/21 23:36
940
【Linux】如何修改用户的密码

你是普通用户的话 你是普通用户的话,修改自己的密码,用:passwd,就可以了,会让你先输入自己的旧密码,再输入两遍新密码。 你是root的话 你是root的话,用:password username,就可以修改...

2019/05/18 08:00
245
学习笔记:持续集成 Jenkins 视频教程全集

持续集成 Jenkins 视频教程全集(22P)| 1 小时从入门到精通 持续集成、持续部署、持续交付的概念 Jenkins 和 Hudson Web 工程部署方式说明 Subversion 的环境要求 应用服务器账号密码的设置...

没有更多内容

加载失败,请刷新页面

返回顶部
顶部