随笔分类 -  DevOPS

上一页 1 2 3 4 5 6 7 8 9 下一页

nslookup dig iptables
摘要:[NSLOOKUPm]http://roclinux.cn/?p=2441 nslookup media.ucampus.unipus.cn [DIG]http://roclinux.cn/?p=2449 dig(domain information gopher,nslookup)http://w 阅读全文

posted @ 2018-04-08 09:35 szllq2000 阅读(180) 评论(0) 推荐(0)

centos 7 yum configuration; yum localinstall
摘要:Linux下对于软件包的管理使用rpm管理方式。直接使用rpm包管理工具来进行rpm包的安装,升级,卸载时,对于最让人头疼的莫过与包之间的依赖关系。yum作为一个rpm包前端管理工具,可以自动处理依赖性关系,一次安装所有依赖的软件包,并且支持在线下载、安装、卸载、升级rpm软件包。本文主要描述基于本 阅读全文

posted @ 2018-03-27 11:59 szllq2000 阅读(457) 评论(0) 推荐(0)

nginx ipv4 ipv6 chrome /firefox remote-address/chrome://net-internals/dns
摘要:nginx access log server {listen 80;listen [::]:80;server_name localhost;location / {proxy_http_version 1.1;proxy_set_header Host $http_host;proxy_set_ 阅读全文

posted @ 2018-03-24 12:50 szllq2000 阅读(261) 评论(0) 推荐(0)

mysql unix domain socket and network socket, ssh key
摘要:当主机填写为localhost时mysql会采用 unix domain socket连接当主机填写为127.0.0.1时mysql会采用tcp方式连接这是linux套接字网络的特性,win平台不会有这个问题解决方法在my.cnf的[mysql]区段里添加protocol=tcpsocket API 阅读全文

posted @ 2018-03-23 14:30 szllq2000 阅读(242) 评论(0) 推荐(0)

How to disable a plugin when Jenkins is down?
摘要:(different .jpi and bak and restore it ) A plugin is preventing Jenkins to restart A plugin is preventing Jenkins to restart Environment Jenkins Cloud 阅读全文

posted @ 2018-03-23 13:44 szllq2000 阅读(192) 评论(0) 推荐(0)

createrepo local http yum
摘要:https://www.jianshu.com/p/59ca879584a1 repodata作为软件的仓库,其目录下有四个必要文件:filelists.xml.[gz],other.xml.[gz],primary.xml.[gz]和repomd.xml(md意思是metadata),其中最主要的 阅读全文

posted @ 2018-03-21 11:09 szllq2000 阅读(300) 评论(0) 推荐(0)

Web终端SSH功能
摘要:http://www.laozuo.org/10703.html CentOS安装配置GateOne实现Web终端SSH功能 阅读全文

posted @ 2018-03-17 17:43 szllq2000 阅读(162) 评论(0) 推荐(0)

https-->http and http-->https bitransfer
摘要:openssl s_client -connect myupload.mysite.net:443/cgi-bin/posupload.cgi -status -cert client.pem -verify 1 -showcertscurl -E my.pem https://some.siteh 阅读全文

posted @ 2018-03-17 17:42 szllq2000 阅读(786) 评论(0) 推荐(0)

socat
摘要:http://blog.csdn.net/koozxcv/article/details/50520057 http://www.oschina.net/p/socat socat端口转发-穿透网络 2016年08月23日 12:13:44 flaming999 阅读数:3910 标签: socat 阅读全文

posted @ 2018-03-17 17:38 szllq2000 阅读(499) 评论(0) 推荐(0)

docker daemon configuration
摘要:于 Docker的分层镜像,除了 aufs,docker还支持btrfs, devicemapper和vfs,你可以使用 -s 或 –storage-driver= 选项来指定相关的镜像存储。在Ubuntu 14.04下,Docker 默认 Ubuntu的 AUFS。因为 AUFS 还没有进入Lin 阅读全文

posted @ 2018-03-09 14:35 szllq2000 阅读(329) 评论(0) 推荐(0)

centos 7 update to python V3.43 to assure git clone as usual
摘要:vim /usr/bin/yum vim /usr/libexec/urlgrabber-ext-down yum update -y nss curl libcurl 阅读全文

posted @ 2018-03-07 12:01 szllq2000 阅读(110) 评论(0) 推荐(0)

df and du
摘要:1、若有进程在占用某个文件,而其他进程把这文件删掉,只会删除其在磁盘中的标记,而不会释放其占用的磁盘空间;直到所有访问该文件的进程退出为止; 2、df 是从内核中获取磁盘占用情况数据的,而du是统计当前磁盘文件大小的结果,由于磁盘标记已被删掉,因此du 不会计算上述被删除文件的空间,导致df 与 d 阅读全文

posted @ 2018-03-07 08:50 szllq2000 阅读(141) 评论(0) 推荐(0)

SS iproute2,nslookup,dig
摘要:从某种意义上说,iproute工具集几乎可以替代掉net-tools工具集,具体的替代方案是这样的:用途 net-tool(被淘汰) iproute2地址和链路配置 ifconfig ip addr, ip link路由表 route ip route邻居 arp ip neighVLAN vcon 阅读全文

posted @ 2018-03-06 15:47 szllq2000 阅读(411) 评论(0) 推荐(0)

jmxtrans
摘要:jmxtrans more tomcat.json { "servers" : [ { "port" : "12345", "host" : "129.0.1.229", "queries" : [ { "obj" : "java.lang:type=Memory", "attr" : [ "Hea 阅读全文

posted @ 2018-03-02 15:32 szllq2000 阅读(123) 评论(0) 推荐(0)

version `GLIBC_2.14' not found问题
摘要:先对比下源码编译、RPM 包和 YUM 三种安装方法的优劣: 源码编译:可以自行指定编译参数,自由度高,略显麻烦。但是如果不安装最新版本,BUGs 和 CVEs 是不会被修复的,和咸鱼没什么差别; RPM 包安装:官方没有高版本的 RPM 包,只好使用可信第三方制作的,有时制作时间是几年前,和不使用 阅读全文

posted @ 2018-03-02 11:36 szllq2000 阅读(515) 评论(0) 推荐(0)

prometheus and collectd and docker
摘要:sudo docker run --name prometheus -d -v /data/prometheusdata/prometheus.yml:/etc/prometheus/prometheus.yml -p 6090:9090 quay.io/prometheus/prometheus 阅读全文

posted @ 2018-03-01 09:59 szllq2000 阅读(443) 评论(0) 推荐(0)

yum provides "*/nmcli" and apt-get
摘要:一般来说著名的linux系统基本上分两大类: 1.RedHat系列:Redhat、Centos、Fedora等 2.Debian系列:Debian、Ubuntu等 RedHat 系列 1 常见的安装包格式 rpm包,安装rpm包的命令是“rpm -参数” 2 包管理工具 yum 3 支持tar包 D 阅读全文

posted @ 2018-02-28 12:20 szllq2000 阅读(444) 评论(0) 推荐(0)

initrd和initramfs的区别
摘要:Linux内核在初始化之后会执行init进程,而init进程会挂载我们的根文件系统,但由于init程序也是在根文件系统上的,所以这就有了悖论。Linux采用两步走的方法来解决这个问题。Linux2.6版以前的方法是:除了内核vmlinuz之外还有一个独立的initrd.img映像文件,其实它就是一个 阅读全文

posted @ 2018-01-29 15:01 szllq2000 阅读(757) 评论(0) 推荐(0)

supervisor control in centos 6/7 python2.6.2.7 3.4
摘要:sudo yum install epel-releasesudo yum install python34sudo pip install virtualenvyum -y install epel-releaseyum -y install python-pipsudo pip install 阅读全文

posted @ 2018-01-12 15:30 szllq2000 阅读(105) 评论(0) 推荐(0)

grafana,graphite,influxdb with docker
摘要:++++++++++++++++++++++++ sudo docker pull tutum/influxdb sudo docker run -d -p 8083:8083 -p8086:8086 --expose 8090 --expose 8099 --name influxsrv tutu 阅读全文

posted @ 2018-01-10 13:26 szllq2000 阅读(345) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 下一页