您好,登錄后才能下訂單哦!
這篇文章主要介紹“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進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。