上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 102 下一页
摘要: pip换国内源 1.国内常用源 2.修改源方法: 2.1临时使用: 可以在使用pip的时候在后面加上-i参数,指定pip源 eg: pip install scrapy -i https://mirrors.aliyun.com/pypi/simple/ 2.2永久修改: linux: 修改 ~/. 阅读全文
posted @ 2018-07-30 20:04 Oops!# 阅读(295) 评论(0) 推荐(0)
摘要: cache 机制注意事项 可以说,cache 机制很大程度上做到了镜像的复用,降低存储空间的同时,还大大缩短了构建时间。然而,不得不说的是,想要用好 cache 机制,那就必须了解利用 cache 机制时的一些注意事项。1. ADD 命令与 COPY 命令:Dockerfile 没有发生任何改变,但 阅读全文
posted @ 2018-07-30 19:43 Oops!# 阅读(12257) 评论(0) 推荐(0)
摘要: 修改log路径 默认的路径是/var/log/jenkins/jenkins.log; 修改的话,同样是在/etc/init.d/jenkins中修改; 看到这个地方: 下面是我修改的路径: 可以的话,你也可以把war的路径也改了: 下面是我修改的路径: 这时,你需要把原本/var/cache/je 阅读全文
posted @ 2018-07-28 16:21 Oops!# 阅读(7594) 评论(0) 推荐(0)
摘要: 问题:lsb_release 是查看系统版本信息的工具 [root@localhost ~]# lsb_release -a-bash: lsb_release: command not found 解决方法:yum install redhat-lsb -y 阅读全文
posted @ 2018-07-27 18:13 Oops!# 阅读(4411) 评论(1) 推荐(0)
摘要: linux 添加开机启动项的三种方法。 (1)编辑文件 /etc/rc.local 输入命令:vim /etc/rc.local 将出现类似如下的文本片段: #!/bin/sh## This script will be executed *after* all the other init scr 阅读全文
posted @ 2018-07-26 19:27 Oops!# 阅读(2705) 评论(0) 推荐(0)
摘要: 背景: vlan123:用户业务vlan,192.168.1.0/24 Vlan2001:管理vlan,172.168.129.0/24 vlan1:默认vlan,不建议使用。 注意事项: 配置服务集时,Wlan-bss接口不能重复使用,也不能缺少。 有线口的vlan配置,需要参考上行交换机进行。 阅读全文
posted @ 2018-07-19 19:06 Oops!# 阅读(944) 评论(0) 推荐(0)
摘要: qos lr cir 1024 cbs 20048 1.华为s2300交换机如何配置端口限速 使用QOS命令来配置(网络带宽的10M、100M和1000M的单位是bps(即bit/s,位/秒),而我们通常所说的100M大小的文件,这里的单位是Byte,而1Byte=8bit,显然100M bit=( 阅读全文
posted @ 2018-07-19 11:53 Oops!# 阅读(3693) 评论(0) 推荐(0)
摘要: I'm trying to install zabbix on a new (virtual) server. But i have troubles with the zabbix_agentd on the zabbix server. I get the error below and don 阅读全文
posted @ 2018-07-18 19:06 Oops!# 阅读(3967) 评论(0) 推荐(0)
摘要: 方法二:使用mysql参数的方法 mysql -u$user -p$pass -D $db -e "select host from user;"当然,可以通过将传参的方式来传递 -e 后面的语句。 使用示例: 阅读全文
posted @ 2018-07-18 16:51 Oops!# 阅读(1400) 评论(0) 推荐(0)
摘要: zabbix_get 找不到命令是因为没有安装上zabbix_get ,解决办法: 1.yum list all |grep zabbix 返回一个列表,表中出现 zabbix-get.x86_84 2.yum install zabbix-get.x86_64 zabbix_get 安装成功 阅读全文
posted @ 2018-07-18 16:43 Oops!# 阅读(8589) 评论(0) 推荐(0)
上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 102 下一页