暂无图片
暂无图片
暂无图片
暂无图片
暂无图片
Lepus安装手册.pdf
289
12页
1次
2023-01-15
10墨值下载
系统版本 CPU 内存 硬盘 iptables selinux lepus_version Ip
CentOS7.X Mini 2 4G 1Tb disbaled disabled 3.7 Static
Lepus安装册
软件版本 3.7
安装需求
PHPPython都是跨平台的语󰁻,所以论上系统应该可以持在同的平台上运󰀉。但是由于时间
和精以及资源有限,前天兔系统只测试完善Centos/RedHat系统的持。
需要的核包如下:
以下软件包只需要部署在监控机即可。被监控机需部署。
1.MySQL 5.0及以上(必须,来存储监控系统采集的数据)
2.Apache 2.2及以上 (必须,WEB服务运󰀉服务)
3.PHP 5.3以上 (必须,提供WEB界󰒏持)
4.Python2 (必须,推荐2.6及以上版本,执󰀉数据采集和报警任务,持Python3
5.Python连接和监控数据库的相关驱动模块包:
MySQLdb for python Python连接MySQl的接,于监控MySQL,此模块必须安装)
cx_oracle for python Python连接Oracle的接,󰒌必须,如果需要监控oracle此模块必须安装)
Pymongo for python Python连接MongoDB的接,󰒌必须,如果需要监控MongoDB此模块必须
安装)
redis-py for python Python连接Redis的接,󰒌必须,如果需要监控Redis此模块必须安装)
环境
如下表
基础环境安装
Tips: 安装身份都为root(0)
1. 源配置
最化安装的CentOS7.x需要配置下国内源再去使(保持个良好的速度)
󰔓先我们要去配置下系统源,使清华学源
修改配置件
󰔓先备份 CentOS-Base.repo sudo mv /etc/yum.repos.d/CentOS-Base.repo
/etc/yum.repos.d/CentOS-Base.repo.bak
之后启 TUNA 软件仓库, 将以下内容写 /etc/yum.repos.d/CentOS-Base.repo
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client
and the
# update status of each mirror to pick mirrors that are updated to
and
# geographically close to the client. You should use this for
CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can
try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base
baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/os
/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?
release=$releasever&arch=$basearch&repo=os
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#released updates
[updates]
name=CentOS-$releasever - Updates
baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/up
dates/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?
release=$releasever&arch=$basearch&repo=updates
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/ex
tras/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?
release=$releasever&arch=$basearch&repo=extras
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
of 12
10墨值下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论

关注
最新上传
暂无内容,敬请期待...
下载排行榜
Top250 周榜 月榜