会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
BicycleBoy
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
13
下一页
2019年9月4日
K8s集群部署
摘要: 关闭防火墙systemctl stop firewalldsystemctl disable firewalld关闭selinuxsetenforce 0s/SELINUX=enforcing/SELINUX=disabled/g" /etc/sysconfig/selinux关闭swapswapo
阅读全文
posted @ 2019-09-04 14:33 BicycleBoy
阅读(305)
评论(0)
推荐(0)
2019年8月15日
统计nginx访问情况
摘要: #!/usr/bin/env python #!coding = utf-8 import os vstip = 0 vstime = 0 iplt = {} fl = open("/var/log/nginx/access.log-20190813","r") aclogs=fl.readlines() fl.close() for aclog in aclogs: ipa=aclog...
阅读全文
posted @ 2019-08-15 11:02 BicycleBoy
阅读(337)
评论(0)
推荐(0)
2019年8月8日
K8s学习笔记
摘要: 1、管理节点配置增加主机解析vi /etc/hosts192.168.2.121 master192.168.2.122 node1192.168.2.123 node2 停止防火墙systemctl stop firewalldsystemctl disable firewalld 配置yum源c
阅读全文
posted @ 2019-08-08 22:40 BicycleBoy
阅读(768)
评论(0)
推荐(0)
2019年8月7日
服务启动脚本
摘要: 编制脚本并给予执行权限,增加服务脚本vi /usr/lib/systemd/system/my.service [Unit]Description=this is my self start serviceAfter=network.target remote-fs.target nss-looku
阅读全文
posted @ 2019-08-07 10:25 BicycleBoy
阅读(1120)
评论(0)
推荐(0)
2019年8月2日
Kubernetes安装配置
摘要: master配置: 安装应用yum install etcd docker kubernetes flannel -y关闭防火墙systemctl stop firewalld.service关闭selinuxsetenforce 0 vim /etc/etcd/etcd.confETCD_NAME
阅读全文
posted @ 2019-08-02 14:28 BicycleBoy
阅读(500)
评论(0)
推荐(0)
Jenkins安装配置
摘要: 配置jenkins安装下载源wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.reporpm --import https://pkg.jenkins.io/redhat-stable
阅读全文
posted @ 2019-08-02 08:38 BicycleBoy
阅读(108)
评论(0)
推荐(0)
2019年7月28日
CentOS7搭建NFS
摘要: 文件存储服务器配置: 安装NFSyum install -y rpcbind nfs-utils创建共享目录mkdir /root/sharefile修改目录权限chmod 0755 -R sharefile修改NFS配置文件vi /etc/exports /root/sharefile/ 192.
阅读全文
posted @ 2019-07-28 23:43 BicycleBoy
阅读(1946)
评论(0)
推荐(0)
rsync+inotify服务器之间文件同步
摘要: 修改rsync配置文件vi /etc/rsyncd.conf uid = nobodygid = nobodyuse chroot = yesmax connections = 4pid file = /var/run/rsyncd.pidlog file = /var/log/rsyncexclu
阅读全文
posted @ 2019-07-28 15:39 BicycleBoy
阅读(251)
评论(0)
推荐(0)
2019年7月23日
Python开发环境搭建
摘要: pyevn安装依赖库安装#yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel libpcap-devel xz-develuser
阅读全文
posted @ 2019-07-23 13:18 BicycleBoy
阅读(157)
评论(0)
推荐(0)
2019年7月16日
linux(centos7)学习笔记
摘要: 修改系统日志时间格式vi /etc/rsyslog.conf$template CustomFormat,"%$NOW% %TIMESTAMP:8:15% %HOSTNAME% %syslogtag% %msg%\n"$ActionFileDefaultTemplate CustomFormat 将
阅读全文
posted @ 2019-07-16 00:07 BicycleBoy
阅读(404)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
13
下一页
公告