您好,登錄后才能下訂單哦!
這篇文章主要介紹“Redhat配置安裝nagios-apache和gcc的步驟”,在日常操作中,相信很多人在Redhat配置安裝nagios-apache和gcc的步驟問題上存在疑惑,小編查閱了各式資料,整理出簡單好用的操作方法,希望對大家解答”Redhat配置安裝nagios-apache和gcc的步驟”的疑惑有所幫助!接下來,請跟著小編一起來學(xué)習(xí)吧!
安裝組件
本文講述的是: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的依賴關(guān)系太煩人,配置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!
到此,關(guān)于“Redhat配置安裝nagios-apache和gcc的步驟”的學(xué)習(xí)就結(jié)束了,希望能夠解決大家的疑惑。理論與實(shí)踐的搭配能更好的幫助大家學(xué)習(xí),快去試試吧!若想繼續(xù)學(xué)習(xí)更多相關(guān)知識(shí),請繼續(xù)關(guān)注億速云網(wǎng)站,小編會(huì)繼續(xù)努力為大家?guī)砀鄬?shí)用的文章!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。