摘要:
1.rsyslog介绍 rsyslog是一个快速处理收集系统日志的开源程序,提供了高性能、安全功能和模块化设计。rsyslog 是syslog 的升级版,它将多种来源输入输出转换结果到目的地, rsyslog被广泛用于Linux系统以通过TCP/UDP协议转发或接收日志消息。 rsyslog守护进程 阅读全文
摘要:
oracle11g下载地址参考 http://blog.chinaunix.net/uid-21125022-id-4194497 早期硬盘普遍不支持两个G以上的大文件,所以拆成了两个包,新版本都是一个包 1.创建运行oracle数据库的系统用户和用户组(分组原因参考 http://www.orac 阅读全文
摘要:
下载 wget https://bootstrap.pypa.io/get-pip.py 安装 python get-pip.py 查看版本 pip -V / pip --version 软连接 ln -sv /usr/local/python/bin/pip /usr/bin/pip 阅读全文
摘要:
如果本机安装了python2,尽量不要管他,使用python3运行python脚本就好,因为可能有程序依赖目前的python2环境,比如yum 1.安装依赖环境 yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sql 阅读全文
摘要:
yum安装 yum -y install epel-release #安装epel-release扩展源 yum -y install ansible #安装ansible ansible --version #查看版本 _______________________________________ 阅读全文
摘要:
关闭SeLinux 临时关闭:setenforce 0永久关闭修改/etc/selinux/config中***********为disabled关闭防火墙systemctl stop firewalld1.安装apacheyum -y install httpdsystemctl enable h 阅读全文
摘要:
yum安装keepalived 1. 准备一台纯新的 CentOS7.6 服务器,关闭 selinux,清空防火墙 [root@lvs1 ~]# hostname lvs1 [root@lvs1 ~]# getenforce Permissive [root@lvs1 ~]# cat /etc/sy 阅读全文
摘要:
在设置里面选择添加网络适配器 添加成功后在命令行输入ip a可以看到是有网卡eth1的,但是/etc/sysconfig/network-scripts目录下并没有创建网卡ifcfg-eth1文件,需要手动添加 nmcli connect show / nmcli device show eth1 阅读全文
摘要:
yum安装haproxy haproxy 是一款开源的负载均衡软件,他提供 L4 和 L7 层负载功能,全称为 high availability proxy。我们准备一台纯新的 CentOS7.6 服务器,关闭 selinux ,清空防火墙规则,使用 yum 安装 haproxy [root@ha 阅读全文
摘要:
1.在QQ邮箱设置-账户里打开IMAP服务,会收到一个密钥,记下 2.打包mail-sender到需要监控的机器上/opt/n9e/ mail-sender.tar.gz (cnblogs.com) tar zcvf mail-sender * tar zxvf mail-sender * 解压后查 阅读全文