网易的centos epel源 安装包是哪个啊?

使用epel源来安装NTOP及使用和chkrootkit的安装应用 - 系统管理 - 次元立方网 - 电脑知识与技术互动交流平台
使用epel源来安装NTOP及使用和chkrootkit的安装应用
简单使用epel源来安装NTOP和chkrootkit
首先来说一下epel源是什么:
如果既想获得 RHEL 的高质量、高性能、高可靠性,又需要方便易用(关键是免费)的软件包更新功能,那么 Fedora Project 推出的 EPEL(Extra Packages for Enterprise Linux)正好适合你。EPEL(http://fedoraproject.org/wiki/EPEL) 是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS、Scientific Linux 等提供高质量软件包的项目。
下面来配置一下epel源
所使用的系统是Centos 6.3 x86_64 ip 192.168.112.129
在安装之前要事先安装yum-priorities
# yum install -y yum-priorities
安装完成后,便可以配置epel源了
由于使用的是64位的系统,所以选择安装相对应的rpm包
可以在http://dl.fedoraproject.org/pub/epel/6/x86_64/这里面到找,执行下面的命令安装
[root@www yum.repos.d]# rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
warning: /var/tmp/rpm-tmp.KQrxb7: Header V3 RSA/SHA256 Signature, key ID : NOKEY
Preparing...
########################################### [100%]
1:epel-release
########################################### [100%]
对于32位的系统则需要执行下面的命令:
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
安装完成后导入DAG的PGP Key
[root@www yum.repos.d]# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
然后再来设置/etc/yum.repos.d/epel.repo文件中源的级别,添加priority=11 (将其级别设置为较低级别,这样系统安装软件时会首先选择官方yum源,如果实在找不到它会选择epel源)/etc/yum.repos.d/epel.repo文件内容如下:
[root@www yum.repos.d]# cat epel.repo
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
priority=11
\\设置优先级
[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
failovermethod=priority
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
failovermethod=priority
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
设置安装完成后就可以直接用yum安装NTOP了
[root@www yum.repos.d]# yum install ntop
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
epel/metalink
* base: centos.
* epel: ftp.cuhk.edu.hk
* extras: centos.
* updates: centos.
http://ftp.cuhk.edu.hk/pub/linux/fedora-epel/6/x86_64/repodata/e7f018b6bfa56fb703eca514-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 7 - &couldn't connect to host&
Trying other mirror.
epel/primary_db
73 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--& Running transaction check
---& Package ntop.x86_64 0:5.0-5.el6 will be installed
--& Processing Dependency: graphviz for package: ntop-5.0-5.el6.x86_64
--& Processing Dependency: libpcap.so.1()(64bit) for package: ntop-5.0-5.el6.x86_64
--& Processing Dependency: libGeoIP.so.1()(64bit) for package: ntop-5.0-5.el6.x86_64
--& Running transaction check
---& Package GeoIP.x86_64 0:1.4.8-1.el6 will be installed
---& Package graphviz.x86_64 0:2.26.0-10.el6 will be installed
--& Processing Dependency: urw-fonts for package: graphviz-2.26.0-10.el6.x86_64
--& Processing Dependency: libXmu.so.6()(64bit) for package: graphviz-2.26.0-10.el6.x86_64
--& Processing Dependency: libXaw.so.7()(64bit) for package: graphviz-2.26.0-10.el6.x86_64
---& Package libpcap.x86_64 14:1.0.0-6.git117cb5.el6 will be installed
--& Running transaction check
---& Package libXaw.x86_64 0:1.0.11-2.el6 will be installed
---& Package libXmu.x86_64 0:1.1.1-2.el6 will be installed
---& Package urw-fonts.noarch 0:2.4-10.el6 will be installed
--& Finished Dependency Resolution
Dependencies Resolved
=======================================================================================================================================================================
Repository
=======================================================================================================================================================================
Installing:
Installing for dependencies:
1.4.8-1.el6
2.26.0-10.el6
1.0.11-2.el6
1.1.1-2.el6
14:1.0.0-6.git117cb5.el6
2.4-10.el6
Transaction Summary
=======================================================================================================================================================================
安装完成后就可以启动NTOP了,启动过程会提示调置admin用户的密码。
[root@www yum.repos.d]# ntop
Sun Mar 24 04:09:27 2013
Initializing gdbm databases
Sun Mar 24 04:09:27 2013
ntop will be started as user ntop
Sun Mar 24 04:09:27 2013
ntop v.5.0 Fedora RPM (64 bit)
Sun Mar 24 04:09:27 2013
Configured on Nov 26 :02, built on Nov 26 :07.
ntop startup - waiting for user response!
Please enter the password for the admin user:
最后就可以在中访问了 http://192.168.112.129:3000
如图所示工作界面:
到此 使用epel源安装NTOP就完成了,具体关于NTOP的使用,还在熟悉过程中。
下面来说一下chkrootkit的安装
先来认识一下chkrootkit。Rootkit检测工具Chkrootkit
Rootkit是单个或一组软件,它针对一个或者多个弱点进行获取正式权限的攻击,或者对目标主机进行其他任何类型的攻击。很多Rootkit不仅仅是发起一个攻击以获得root权限,其同时还试图掩藏和清除攻击的行为。为了达到掩盖的目的,它们删除日志文件、安装特洛伊木马或采取其他的掩盖方法。就像网络中别的攻击一样,Rootkit通常也具有特征并且会留下一些蛛丝马迹,这些都是可以用来识别出它们。我们这里有专门的软件可对Rootkit的踪迹和特征进行查找,其中之一就是chkrootkit
Chkrootkit的安装
Chkrootkit目前的最新版本是0.49,而epel源中的Chkrootkit正好的就是最新版本。由于前面已经配置好了epel源就可以直接安装了:
# yum install -y chkrootkit
成功安装后,再用rpm命令来检查一下,如下所示:
[root@www ~]# rpm -ql chkrootkit
/etc/pam.d/chkrootkit
/etc/security/console.apps/chkrootkit
/usr/bin/chkrootkit
/usr/bin/chkrootkitX
/usr/lib64/chkrootkit-0.49
/usr/lib64/chkrootkit-0.49/check_wtmpx
/usr/lib64/chkrootkit-0.49/chkdirs
/usr/lib64/chkrootkit-0.49/chklastlog
/usr/lib64/chkrootkit-0.49/chkproc
/usr/lib64/chkrootkit-0.49/chkrootkit
/usr/lib64/chkrootkit-0.49/chkutmp
/usr/lib64/chkrootkit-0.49/chkwtmp
/usr/lib64/chkrootkit-0.49/ifpromisc
/usr/lib64/chkrootkit-0.49/strings
/usr/lib64/chkrootkit-0.49/strings-static
/usr/sbin/chkrootkit
/usr/share/applications/fedora-chkrootkit.desktop
/usr/share/doc/chkrootkit-0.49
/usr/share/doc/chkrootkit-0.49/ACKNOWLEDGMENTS
/usr/share/doc/chkrootkit-0.49/COPYRIGHT
/usr/share/doc/chkrootkit-0.49/README
/usr/share/doc/chkrootkit-0.49/README.chklastlog
/usr/share/doc/chkrootkit-0.49/README.chkwtmp
/usr/share/doc/chkrootkit-0.49/README.false_positives
/usr/share/doc/chkrootkit-0.49/chkrootkit.lsm
/usr/share/pixmaps/chkrootkit.png
这里显示的是成功安装后Chkrootkit后的相关文件。运行相关命令可以查看版本号: www.it165.net
[root@www ~]# chkrootkit -V
chkrootkit version 0.49
安装后就可以运行了
[root@www ~]# chkrootkit -V
chkrootkit version 0.49
[root@www ~]# chkrootkit
ROOTDIR is `/'
Checking `amd'... not found
Checking `basename'... not infected
Checking `biff'... not found
Checking `chfn'... not infected
Checking `chsh'... not infected
Checking `cron'... not infected
Checking `crontab'... not infected
Checking `date'... not infected
Checking `du'... not infected
Checking `dirname'... not infected
Checking `echo'... not infected
Checking `egrep'... not infected
Checking `env'... not infected
Checking `find'... not infected
Checking `fingerd'... not found
Checking `gpm'... not found
Checking `grep'... not infected
Checking `hdparm'... not found
Checking `su'... not infected
Checking `ifconfig'... not infected
Checking `inetd'... not found
Checking `inetdconf'... not found
Checking `identd'... not found
Checking `init'... not infected
Checking `killall'... not infected
Checking `ldsopreload'... not infected
Checking `login'... not infected
Checking `ls'... not infected
Checking `lsof'... not found
Checking `mail'... not found
Checking `mingetty'... not infected
Checking `netstat'... not infected
Checking `named'... not found
Checking `passwd'... not infected
Checking `pidof'... not infected
Checking `pop2'... not found
Checking `pop3'... not found
Checking `ps'... not infected
Checking `pstree'... not infected
Checking `rpcinfo'... not found
Checking `rlogind'... not found
Checking `rshd'... not found
Checking `slogin'... not found
Checking `sendmail'... not infected
Checking `sshd'... not infected
Checking `syslogd'... not tested
Checking `tar'... not infected
Checking `tcpd'... not infected
Checking `tcpdump'... not infected
Checking `top'... not infected
Checking `telnetd'... not found
Checking `timed'... not found
Checking `traceroute'... not found
Checking `vdir'... not infected
Checking `w'... not infected
Checking `write'... not infected
Checking `aliens'... no suspect files
Searching for sniffer's logs, it may take a while... nothing found
Searching for HiDrootkit's default dir... nothing found
Searching for t0rn's default files and dirs... nothing found
Searching for t0rn's v8 defaults... nothing found
Searching for Lion Worm default files and dirs... nothing found
Searching for RSHA's default files and dir... nothing found
Searching for RH-Sharpe's default files... nothing found
Searching for Ambient's rootkit (ark) default files and dirs... nothing found
Searching for suspicious files and dirs, it may take a while... nothing found
Searching for LPD Worm files and dirs... nothing found
Searching for Ramen Worm files and dirs... nothing found
Searching for Maniac files and dirs... nothing found
Searching for RK17 files and dirs... nothing found
Searching for Ducoci rootkit... nothing found
Searching for Adore Worm... nothing found
Searching for ShitC Worm... nothing found
Searching for Omega Worm... nothing found
Searching for Sadmind/IIS Worm... nothing found
Searching for MonKit... nothing found
Searching for Showtee... nothing found
Searching for OpticKit... nothing found
Searching for T.R.K... nothing found
Searching for Mithra... nothing found
Searching for LOC rootkit... nothing found
Searching for Romanian rootkit... nothing found
Searching for HKRK rootkit... nothing found
Searching for Suckit rootkit... nothing found
Searching for Volc rootkit... nothing found
Searching for Gold2 rootkit... nothing found
Searching for TC2 Worm default files and dirs... nothing found
Searching for Anonoying rootkit default files and dirs... nothing found
Searching for ZK rootkit default files and dirs... nothing found
Searching for ShKit rootkit default files and dirs... nothing found
Searching for AjaKit rootkit default files and dirs... nothing found
Searching for zaRwT rootkit default files and dirs... nothing found
Searching for Madalin rootkit default files... nothing found
Searching for Fu rootkit default files... nothing found
Searching for ESRK rootkit default files... nothing found
Searching for rootedoor... nothing found
Searching for ENYELKM rootkit default files... nothing found
Searching for common ssh-scanners default files... nothing found
Searching for anomalies in shell history files... nothing found
Checking `asp'... not infected
Checking `bindshell'... not infected
Checking `lkm'... chkproc: nothing detected
chkdirs: nothing detected
Checking `rexedcs'... not found
Checking `sniffer'... eth0: PF_PACKET(/sbin/dhclient, /usr/sbin/ntop)
Checking `w55808'... not infected
Checking `wted'... chkwtmp: nothing deleted
Checking `scalper'... not infected
Checking `slapper'... not infected
Checking `z2'... chklastlog: nothing deleted
Checking `chkutmp'... chkutmp: nothing deleted
Checking `OSX_RSPLUG'... not infected
Chkrootkit会对系统上的重要文件进行扫描,以上结果显示是正常的,一般是没有文件感染,如果Chkrootkit显示有文件感染,请认真查看是否是误报,如果有文件感染了Rootkit,请立即从网络上断开你的服务,同时采取措施进行Rootkit的清理。
好了,到此关于epel源的配置和使用epel源安装软件介绍完毕。
不对之处请大家指出,谢谢关注。
延伸阅读:
首先查看vip在各个节点的状态[root@rac2~] ifconfig...
本教程为 李华明 编著的iOS-Cocos2d游戏开发系列教程:教程涵盖关于i......
专题主要学习DirectX的初级编程入门学习,对Directx11的入门及初学者有......
&面向对象的JavaScript&这一说法多少有些冗余,因为JavaScript 语言本......
Windows7系统专题 无论是升级操作系统、资料备份、加强资料的安全及管......你可能喜欢
12345678910
关于本站 本站以分享运维技术为主,欢迎大家参与技术分享,同时也欢迎大家吐槽,本站提供以下交流圈:QQ群①:*****(满)QQ群②:6690706 QQ群③: QQ群④:(新) 微信公众号:ttlsacom技术交流QQ群:& && && &
现在的位置:
CentOS 6.2 使用第三方yum源安装更多rpm软件包
CentOS自带的yum源中rpm包数量有限,很多时候找不到我们需的软件包,(例如:要安装网络连接查看软件iftop,默认设置下无法使用yum命令安装),下面教大家在CentOS 6.2中(以32位系统为例,64位系统安装方法一样),使用第三方yum源来安装更多软件包。
一、安装CentOS yum源优先级插件yum-priorities
yum install yum-priorities
#输入y安装
二、设置CentOS默认yum源的优先级为最高
温馨提醒:qihang01原创内容(C)版权所有,转载请注明出处及原文链接
/etc/yum.repos.d/
#进入yum源目录
vi CentOS-Base.repo
#在[base]、[updates]、[extras]组下面添加priority=1,在[centosplus]、[contrib]组下面添加priority=2
################################################################
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=1
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=1
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=1
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=2
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=2
###############################################################
备注:priority的优先级为1到99,设置为1即优先级最高,1-10为系统保留,第三方yum源的优先级从11-99
三、安装epel yum源
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
vi /etc/yum.repos.d/epel.repo
#修改epel yum源优先级,priority=11
###############################################################
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
priority=11
#################################################################
四、安装rpmforge yum源
rpm --import RPM-GPG-KEY.dag.txt
rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
/etc/yum.repos.d/rpmforge.repo
#修改rpmforge yum源优先级,priority=12
#################################################################
[rpmforge]
name = RHEL $releasever - RPMforge.net - dag
mirrorlist =
#mirrorlist =
enabled = 1
protect = 0
gpgcheck = 1
priority=12
#################################################################
温馨提醒:qihang01原创内容(C)版权所有,转载请注明出处及原文链接
五、安装rpmfusion yum源
/etc/yum.repos.d/rpmfusion-free-updates-testing.repo
#修改rpmfusion yum源优先级,priority=13
#################################################################
[rpmfusion-free-updates-testing]
name=RPM Fusion for EL 6 - Free - Test Updates
#baseurl=http://download1.rpmfusion.org/free/el/updates/testing/6/$basearch/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-testing-6&arch=$basearch
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el-6
priority=13
温馨提醒:qihang01原创内容(C)版权所有,转载请注明出处及原文链接
#################################################################
六、安装atomic yum源
sh ./atomic
/etc/yum.repos.d/atomic.repo
#修改atomic yum源优先级,priority=14
##############################################################
name = CentOS / Red Hat Enterprise Linux $releasever -
mirrorlist =
#mirrorlist =
enabled = 1
priority = 1
protect = 0
gpgcheck = 1
priority=14
##############################################################
七、更新yum软件包
yum check-update
八、安装iftop
yum install iftop
至此,CentOS 第三方yum源配置完成,现在你可以用yum命令安装自己需要的软件了!比如yum install nginx、yum update php等安装或者升级软件包。
备注:以下两个第三方yum源可以使用
yum --enablerepo=remi install php
######################################################################################
扩展阅读:
在使用yum update php命令升级php的同时,mysql也被升级到了最新版,升级好之后重启mysql,有可能会出现下面
的错误信息,导致mysql启动失败。
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
解决方法(切记,操作前,一定备份mysql数据库):
rm -fr /var/lib/mysql/*
rm /var/lock/subsys/mysqld
killall mysqld
#结束mysql进程
service mysqld start
#启动mysql
/etc/rc.d/init.d/mysqld status
#查看mysql状态
mysql_secure_installation
#重置Mysql数据库密码
#####################################################################################
&&&&&>> 本文链接:>> 订阅本站:>> 转载请注明来源: >>
&&系统运维技术交流QQ群:①& ②& ③&
【上篇】【下篇】
您可能还会对这些文章感兴趣!
您必须才能发表留言!
本分类最新文章
日志总数:308篇
评论总数:1030条
分类总数:70个
标签总数:456个
友情链接:33个
网站运行:1654天
最后更新:日
欢迎PR值≥3的IT类技术博客与本站友情链接(申请前请先做好本站链接)
Copyright&
系统运维 All rights reserved
版权声明:本站所有文章均为作者原创内容,如需转载,请注明出处及原文链接《桃花源记》网易特权礼包_桃花源记礼包奖励使用说明_爱玩礼包
十天内免登录
第三方登录
& 网易特权礼包
桃花源记网易特权礼包
本期发放数量3679646
当前已领数量3418828
该礼包有效期至,领号后请尽快使用,领取卡号将在一定时间之后对所有用户公开。
为了给大家带来一个公平的领好环境,发卡中心会不定时封禁疑似黄牛、刷子、工作室或者是外挂帐号,在这过程中会有极小概率对玩家造成误伤,发现自己被误伤的玩家请及时向我们发送邮件,对于符合我们要求的反馈会有额外积分送上,感谢玩家们的理解和支持。
如果反馈邮件未能及时回复,请隔几个小时再次进行尝试。
超级卷轴流云仙子&&&
翡翠糕*1&&
妙香果实*1&&
紫魄果实*2&&
莲花坐骑3天/飞剑坐骑3天
1、注册乐游通行证。
2、下载《桃花源记》游戏
4、进入游戏,建立角色。
5. 到桃溪镇NPC“神码哥”(206,112)处与其对话,领取相应的奖励。
集齐礼包后100%可得绝版神兽和超酷蓝狼坐骑;还可参与每日抽奖,转动金蛋博神秘大奖。
*以下是礼包领取记录,用户领取3小时后会公开他的卡号,没领到卡的小伙伴快来试试运气吧!
现在还没有人领取礼包,快来争做第一位!
点星星,给礼包打个分吧~
分享链接拿积分
复制当前页面链接
获取与使用积分之前
同厂商游戏正在发卡
该游戏正在发放的礼包
网游最新发卡
用微信扫描二维码分享至好友和朋友圈}

我要回帖

更多关于 网易 epel 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信