03 2021 档案

摘要:FTP服务简介 FTP概述: ​ FTP是文件传输协议(File Transfer Protocal)的简写,主要完成与远程计算机的文件传输。 FTP采用客户/服务器模式,客户机与服务器之间利用TCP建立连接,客户可以从服务器上下载文件,也可以把本地文件上传至服务器。 FTP服务器有匿名的和授权的两 阅读全文
posted @ 2021-03-31 16:13 woaibaobei 阅读(611) 评论(0) 推荐(0) 编辑
摘要:vs2010 inno setup , nsis 阅读全文
posted @ 2021-03-29 20:14 woaibaobei 阅读(33) 评论(0) 推荐(0) 编辑
摘要:yum groupinstall "GNOME Desktop" "Graphical Administration Tools" -y startx 阅读全文
posted @ 2021-03-27 14:15 woaibaobei 阅读(87) 评论(0) 推荐(0) 编辑
摘要:#!/bin/bash #检测whois命令是否存在,不存在则安装jwhois包is_install_whois(){ which whois &> /dev/null if [ $? -ne 0 ];then yum install -y jwhois fi}is_install_whois#定义 阅读全文
posted @ 2021-03-17 16:09 woaibaobei 阅读(286) 评论(0) 推荐(0) 编辑
摘要:#################shell学习##########################3 1.变量使用${}养成习惯,便于脚本更加清晰定义变量 dir=/opt/desk echo "${dir}" 2 字符串的截取 string一般用这个单词表示字符串 name=chaojichan 阅读全文
posted @ 2021-03-15 17:10 woaibaobei 阅读(52) 评论(0) 推荐(0) 编辑
摘要:#!/bin/bash #判断系统if [ ! -e '/etc/redhat-release' ]; thenecho "仅支持centos7"exitfiif [ -n "$(grep ' 6\.' /etc/redhat-release)" ] ;thenecho "仅支持centos7"ex 阅读全文
posted @ 2021-03-14 17:05 woaibaobei 阅读(1019) 评论(0) 推荐(0) 编辑
摘要:#!/bin/bash WG_PORT='51820'IPAddr=`wget --no-check-certificate -qO- http://moeclub.org/address`POOL='https://deb.debian.org/debian/pool/main/w/wiregua 阅读全文
posted @ 2021-03-14 16:47 woaibaobei 阅读(969) 评论(0) 推荐(0) 编辑
摘要:#!/bin/bash ################################################################# # One-click CDN Installation Script v0.0.5 # # Written by shc (https://q 阅读全文
posted @ 2021-03-14 13:59 woaibaobei 阅读(448) 评论(0) 推荐(0) 编辑
摘要:1.服务端安装(推荐linux) 以下三种方式,任选其一 Method 1: a signed module is available as built-in to CentOS's kernel-plus: $ sudo yum install yum-utils epel-release $ s 阅读全文
posted @ 2021-03-12 17:25 woaibaobei 阅读(1270) 评论(0) 推荐(0) 编辑
摘要:debian系统搭建VPN服务器 debian系统搭建VPN服务器 1、安装PPTPD www.2cto.com # apt-get install pptpd 2、 编辑pptpd.conf文件 # vim /etc/pptpd.conf 使得非注释内容如下: option /etc/ppp/pp 阅读全文
posted @ 2021-03-11 22:54 woaibaobei 阅读(1575) 评论(0) 推荐(0) 编辑
摘要:安装squid yum install -y squid 安装httpd(用于后面生成密码文件) yum install -y httpd 或者 yum install httpd-tools -y 配置文件 /etc/squid/squid.conf vim /etc/squid/squid.co 阅读全文
posted @ 2021-03-11 22:50 woaibaobei 阅读(612) 评论(0) 推荐(0) 编辑
摘要:CentOS 7安装Hadoop 3.x伪分布式 1. 配置Linux环境 Hadoop生产环境绝大部分都是安装在Linux操作系统上的,CentOS在互联网公司中使用的比较多,我们这里选择CentOS 7.x这个版本,也可以使用CentOS 6.x的版本,如果没有安装CentOS的小伙伴,可以参考 阅读全文
posted @ 2021-03-11 16:42 woaibaobei 阅读(327) 评论(0) 推荐(0) 编辑
摘要:Jenkins官网 https://www.jenkins.io/zh/doc/tutorials/ 阅读全文
posted @ 2021-03-11 13:02 woaibaobei 阅读(47) 评论(0) 推荐(0) 编辑
摘要:安装 yum install subversion -y 二 创建目录 mkdir /var/svn 创建版本库 svnadmin create /var/svn/test 三 修改配置文件 cd /var/svn/test vim passwd [users]# harry = harryssec 阅读全文
posted @ 2021-03-11 12:53 woaibaobei 阅读(51) 评论(0) 推荐(0) 编辑
摘要:参考 https://www.codenong.com/cs106389157/ https://blog.csdn.net/wisgood/article/details/47721355 阅读全文
posted @ 2021-03-10 16:31 woaibaobei 阅读(63) 评论(0) 推荐(0) 编辑
摘要:http://docs.ceph.org.cn/rados/ ceph集群部署 https://ralph.blog.imixs.com/2020/02/28/howto-install-ceph-on-centos-7/ 阅读全文
posted @ 2021-03-10 12:17 woaibaobei 阅读(56) 评论(0) 推荐(0) 编辑
摘要:一、服务器规划 主机名 主机IP 磁盘配比 角色 node1 public-ip:10.0.0.130cluster-ip:192.168.2.130 sda,sdb,sdcsda是系统盘,另外两块数据盘 ceph-deploy,monitor,mgr,osd node2 public-ip:10. 阅读全文
posted @ 2021-03-09 19:45 woaibaobei 阅读(139) 评论(0) 推荐(0) 编辑
摘要:参考 https://blog.z0ukun.com/?p=2452 阅读全文
posted @ 2021-03-09 13:07 woaibaobei 阅读(61) 评论(0) 推荐(0) 编辑
摘要:配置yum源,epel源 注:EPEL (Extra Packages for Enterprise Linux)是基于Fedora的一个项目,为“红帽系”的操作系统提供额外的软件包,适用于RHEL、CentOS和Scientific Linux. 网址:阿里云官方镜像站 例如:我所使用的是Cent 阅读全文
posted @ 2021-03-08 22:09 woaibaobei 阅读(571) 评论(0) 推荐(0) 编辑
摘要:pxe无人值守自动装机系统的安装步骤; pxe系统需要的服务:dhcpd tftp vsftpd xinetd dhcpd的作用 指明dns服务器地址,分配的ip范围以及引导文件pxelinux.0,路由。 tftp的作用 指明pxelinux.cfg目录下的引导文件,尤其是default这个文件。 阅读全文
posted @ 2021-03-08 12:27 woaibaobei 阅读(276) 评论(0) 推荐(0) 编辑
摘要:参考地址 https://blog.csdn.net/qq_38773184/article/details/82391073 参考地址train https://www.server-world.info/en/note?os=CentOS_7&p=openstack_train&f=2 阅读全文
posted @ 2021-03-06 20:16 woaibaobei 阅读(88) 评论(0) 推荐(0) 编辑
摘要:数据传输的过程,数据包经过防火墙的过程: 1 数据包首先进入的是prerouting链,会自动匹配prerouting的规则。 这里面分为两种情况;一种是进入本机的,访问本机数据的,此时数据包进入input链,获得数据后,到达output链,经postrouting链去往目标主机。 另外一种是经过转 阅读全文
posted @ 2021-03-06 13:45 woaibaobei 阅读(168) 评论(0) 推荐(0) 编辑
摘要:iptables简介 netfilter/iptables(简称为iptables)组成Linux平台下的包过滤防火墙,与大多数的Linux软件一样,这个包过滤防火墙是免费的,它可以代替昂贵的商业防火墙解决方案,完成封包过滤、封包重定向和网络地址转换(NAT)等功能。 iptables基础 规则(r 阅读全文
posted @ 2021-03-05 19:41 woaibaobei 阅读(198) 评论(0) 推荐(0) 编辑
摘要:#主配置文件 /etc/grafana/grafana.ini #数据文件 /var/lib/grafana #home目录 /usr/share/grafana #日志目录 /var/log/grafana #插件目录 /var/lib/grafana/plugins #自定义一些精细化配置的文件 阅读全文
posted @ 2021-03-05 09:08 woaibaobei 阅读(2210) 评论(0) 推荐(0) 编辑
摘要:grafana的安装 一 下载grafana wget https://dl.grafana.com/oss/release/grafana-7.4.3-1.x86_64.rpm 二 安装 yum localinstall grafana-7.4.3-1.x86_64.rpm 三 下载zabbix 阅读全文
posted @ 2021-03-04 15:56 woaibaobei 阅读(595) 评论(0) 推荐(0) 编辑
摘要:参考地址 https://blog.csdn.net/VillianTsang/article/details/104327612 阅读全文
posted @ 2021-03-04 15:26 woaibaobei 阅读(64) 评论(0) 推荐(0) 编辑
摘要:#!/bin/bash Server_ip=192.168.72.160Zabbix_config=/etc/zabbix/zabbix_server.conf#########################zabbix-server安装 ######################## echo 阅读全文
posted @ 2021-03-04 15:11 woaibaobei 阅读(99) 评论(0) 推荐(0) 编辑
摘要:#!/bin/bashServer_ip=192.168.72.160Agent_ip=192.168.72.161################ zabbix-agent 安装######################## echo -e " 开始安装zabbix-agent " system 阅读全文
posted @ 2021-03-04 14:13 woaibaobei 阅读(109) 评论(0) 推荐(0) 编辑
摘要:由于工作中经常接触到zabbix,所以将agent配置整理一下,方便日常查看。 # This is a config file for the Zabbix agent daemon (Unix) # To get more information about Zabbix, visit http: 阅读全文
posted @ 2021-03-04 13:45 woaibaobei 阅读(166) 评论(0) 推荐(0) 编辑
摘要:zabbix基于LNMP的架构搭建的,从这四个方面着手; 一 安装httpd或者nginx yum install httpd -y 二 安装php yum install php php-fpm php-mysql php php-bcmath php-mbstring 三 安装mariadb y 阅读全文
posted @ 2021-03-04 12:03 woaibaobei 阅读(119) 评论(0) 推荐(0) 编辑
摘要:一、ELK介绍 ELK是三款开源软件的缩写,即:ElasticSearch + Logstash + Kibana。这三个工具组合形成了一套实用、易用的监控架构,可抓取系统日志、apache日志、nginx日志、mysql日志等多种日志类型,目前很多公司用它来搭建可视化的集中式日志分析平台。Elas 阅读全文
posted @ 2021-03-03 14:28 woaibaobei 阅读(121) 评论(0) 推荐(0) 编辑
摘要:配置主机名 hosts绑定(/etc/hosts) 192.168.41.13 kolla 配置yum安装依赖软件 yum install https://rdoproject.org/repos/openstack-rocky/rdo-release-rocky.rpm yum install g 阅读全文
posted @ 2021-03-02 21:20 woaibaobei 阅读(585) 评论(0) 推荐(1) 编辑
摘要:kolla的安装,要求目标机器是两块网卡,所以虚拟机也是分配两块网卡: ens33, 桥接模式,设置的IP是:192.168.31.248,日后Horizon访问就是通过这个IP地址 ens37,桥接模式,ip其实是dhcp分配,这个其实是让neutron的br-ex 绑定使用,虚拟机是通过这块网卡 阅读全文
posted @ 2021-03-01 16:54 woaibaobei 阅读(920) 评论(0) 推荐(0) 编辑
摘要:kolla-ansible部署单节点OpenStack-Pike 一、准备工作 最小化安装CentOS 7.5,装完后,进行初始化 selinux,防火墙端口无法访问,主机名问题,都是安装的常见错误,一定要细心确认。 kolla的安装,要求目标机器是两块网卡: ens33,设置的IP是:192.16 阅读全文
posted @ 2021-03-01 16:18 woaibaobei 阅读(939) 评论(0) 推荐(0) 编辑
摘要:##################################### 7.16版本########################################################### ELK + filebeat 日志可视化搭建 系统: centos7内存: 16G 一 配置 阅读全文
posted @ 2021-03-01 15:19 woaibaobei 阅读(592) 评论(0) 推荐(0) 编辑
摘要:pip install --upgrade kolla-ansible=6.0.0 1.修改hostname hostnamectl set-hostname kolla 2.配置域名解析 echo '10.1.10.161 kolla' >> /etc/hosts 回到顶部 Install pac 阅读全文
posted @ 2021-03-01 13:39 woaibaobei 阅读(862) 评论(0) 推荐(0) 编辑
摘要:1、查找镜像源 $ docker search centos NAME DESCRIPTION STARS OFFICIAL centos The official build of CentOS. 3857 [OK] 2、下载镜像 docker pull centos 3、查看已下载的镜像 $ d 阅读全文
posted @ 2021-03-01 12:11 woaibaobei 阅读(1311) 评论(0) 推荐(0) 编辑
摘要:1.确定系统centos7 1 2 3 4 cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) uname -r 4.4.190-1.el6.elrepo.x86_64 2.安装kvm所需的各种依赖包 1 2 3 yum -y i 阅读全文
posted @ 2021-03-01 11:51 woaibaobei 阅读(486) 评论(0) 推荐(0) 编辑
摘要:qemu与libvirt编译与安装 一 、qemu编译前准备 以下链接为的本次编译环境为前提继续进行。 1 http://www.cnblogs.com/grglym/p/7891253.html 1、安装必要依赖包 1 sudo apt-get install libyajl-dev libgli 阅读全文
posted @ 2021-03-01 11:47 woaibaobei 阅读(842) 评论(0) 推荐(0) 编辑
摘要:环境说明 CentOS 7(Minimal Install) $ cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) 准备工作 操作系统要求 CentOS 7 以后都可以安装 Docker 了,也可以确认一下。 $ uname - 阅读全文
posted @ 2021-03-01 11:01 woaibaobei 阅读(1832) 评论(0) 推荐(0) 编辑