這篇文章主要介紹“Redhat配置安裝nagios-apache和gcc的步驟”,在日常操作中,相信很多人在Redhat配置安裝nagios-apache和gcc的步驟問題上存在疑惑,小編查閱了各式資料,整理出簡(jiǎn)單好用的操作方法,希望對(duì)大家解答”Redhat配置安裝nagios-apache和gcc的步驟”的疑惑有所幫助!接下來,請(qǐng)跟著小編一起來學(xué)習(xí)吧!
十余年的涵江網(wǎng)站建設(shè)經(jīng)驗(yàn),針對(duì)設(shè)計(jì)、前端、開發(fā)、售后、文案、推廣等六對(duì)一服務(wù),響應(yīng)快,48小時(shí)及時(shí)工作處理。營(yíng)銷型網(wǎng)站建設(shè)的優(yōu)勢(shì)是能夠根據(jù)用戶設(shè)備顯示端的尺寸不同,自動(dòng)調(diào)整涵江建站的顯示方式,使網(wǎng)站能夠適用不同顯示終端,在瀏覽器中調(diào)整網(wǎng)站的寬度,無論在任何一種瀏覽器上瀏覽網(wǎng)站,都能展現(xiàn)優(yōu)雅布局與設(shè)計(jì),從而大程度地提升瀏覽體驗(yàn)。創(chuàng)新互聯(lián)從事“涵江網(wǎng)站設(shè)計(jì)”,“涵江網(wǎng)站推廣”以來,每個(gè)客戶項(xiàng)目都認(rèn)真落實(shí)執(zhí)行。
安裝組件
本文講述的是: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,舒服多了,具體請(qǐng)見使用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í),請(qǐng)繼續(xù)關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編會(huì)繼續(xù)努力為大家?guī)砀鄬?shí)用的文章!