这篇文章主要介绍“Redhat配置安装nagios-apache和gcc的步骤”,在日常操作中,相信很多人在Redhat配置安装nagios-apache和gcc的步骤问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”Redhat配置安装nagios-apache和gcc的步骤”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!
安装组件
本文讲述的是:Redhat配置nagios。返回大纲。
Apache、gcc glibc glibc-common gd-devel、 openssl、openssl-devel(open安装未列出)
net-snmp-libs net-snmp-devel net-snmp net-snmp-utils
安装apache、gcc
(由于rpm的依赖关系太烦人,配置yum,舒服多了,具体请见使用YUM安装LAMP全过程)
[root@localhost ~]# yum install httpd …… Downloading Packages: (1/4): apr-util-1.2.7-7.e 100% |=========================| 76 kB 00:00 (2/4): apr-1.2.7-11.i386. 100% |=========================| 123 kB 00:00 (3/4): httpd-2.2.3-11.el5 100% |=========================| 1.1 MB 00:01 (4/4): postgresql-libs-8. 100% |=========================| 196 kB 00:00 warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 37017186 Importing GPG key 0x37017186 "Red Hat, Inc. (release key) " from http://10.155.2.75/Server/RPM-GPG-KEY-redhat-release Is this ok [y/N]: y Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: apr ######################### [1/4] Installing: postgresql-libs ######################### [2/4] Installing: apr-util ######################### [3/4] Installing: httpd ######################### [4/4] …… [root@localhost ~]# yum install gcc …… Downloading Packages: (1/5): libgomp-4.1.2-42.e 100% |=========================| 82 kB 00:00 (2/5): glibc-headers-2.5- 100% |=========================| 610 kB 00:00 (3/5): glibc-devel-2.5-24 100% |=========================| 2.0 MB 00:02 (4/5): gcc-4.1.2-42.el5.i 100% |=========================| 5.2 MB 00:07 (5/5): kernel-headers-2.6 100% |=========================| 843 kB 00:01 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: libgomp ######################### [1/5] Installing: kernel-headers ######################### [2/5] Installing: glibc-headers ######################### [3/5] Installing: glibc-devel ######################### [4/5] Installing: gcc ######################### [5/5] Installed: gcc.i386 0:4.1.2-42.el5 Dependency Installed: glibc-devel.i386 0:2.5-24 glibc-headers.i386 0:2.5-24 kernel-headers.i386 0:2.6.18-92.el5 libgomp.i386 0:4.1.2-42.el5
Complete!
[root@localhost ~]# yum install glibc glibc-common gd-devel …… Running Transaction Installing: zlib-devel ####################### [ 1/12] Installing: freetype-devel ####################### [ 2/12] Installing: fontconfig-devel ####################### [ 3/12] Installing: libpng-devel ####################### [ 4/12] Installing: libXau-devel ####################### [ 5/12] Installing: libjpeg-devel ####################### [ 6/12] Installing: xorg-x11-proto-devel ####################### [ 7/12] Installing: libX11-devel ####################### [ 8/12] Installing: libXpm-devel ####################### [ 9/12] Installing: libXdmcp-devel ####################### [10/12] Installing: mesa-libGL-devel ####################### [11/12] Installing: gd-devel ####################### [12/12] Installed: gd-devel.i386 0:2.0.33-9.4.el5_1.1
Dependency Installed: fontconfig-devel.i386 0:2.4.1-7.el5 freetype-devel.i386 0:2.2.1-19.el5 libX11-devel.i386 0:1.0.3-9.el5 libXau-devel.i386 0:1.0.1-3.1 libXdmcp-devel.i386 0:1.0.1-2.1 libXpm-devel.i386 0:3.5.5-3 libjpeg-devel.i386 0:6b-37 libpng-devel.i386 2:1.2.10-7.1.el5_0.1 mesa-libGL-devel.i386 0:6.5.1-7.5.el5 xorg-x11-proto-devel.i386 0:7.1-9.fc6 zlib-devel.i386 0:1.2.3-3
Complete!
到此,关于“Redhat配置安装nagios-apache和gcc的步骤”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注亿速云网站,小编会继续努力为大家带来更多实用的文章!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。