升級(jí)過(guò)程本章節(jié)提供自2 09至2 44的環(huán)境基于_第1頁(yè)
升級(jí)過(guò)程本章節(jié)提供自2 09至2 44的環(huán)境基于_第2頁(yè)
升級(jí)過(guò)程本章節(jié)提供自2 09至2 44的環(huán)境基于_第3頁(yè)
升級(jí)過(guò)程本章節(jié)提供自2 09至2 44的環(huán)境基于_第4頁(yè)
升級(jí)過(guò)程本章節(jié)提供自2 09至2 44的環(huán)境基于_第5頁(yè)
已閱讀5頁(yè),還剩7頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

.4RHEL5.8-64位系統(tǒng);升級(jí)的時(shí)5u2-64的操作系統(tǒng)為例:1linux5u2-64iso鏡像上傳到本機(jī)/home/iso/var/ftp/as5u2-642vsftpservicevsftpdstartsetup查看servicevsftpdstartsetup查看 // //README-en替換成/var/ftp/as5u2-下的任意文件名可以正常說(shuō)明ftp服務(wù)器正3yumname=RedHatname=RedHatEnterpriseLinux$releasever-$basearch-Debug//ZabbixGUIconfigurationfile.global$DB;=====//Schemaname.UsedforIBMDB2and ==zabbix[root@test-02~]#cd/home;[root@test-02~]#cd/home;tarzxvfzabbix-[root@test-02~]#./configure--prefix=/usr/local/zabbix_2.4.4/--enable-server--enable-agent--with-net-snmp--with-mysql--with-libcurl--with-libxml2[root@test-02~]#make&&make[root@test-02~]#ln-s 為方便以后升級(jí)安裝方便,將zabbix_2.4.4等的均軟到zabbix;[root@test-02[root@test-02~]#pkill-f[root@test-02~]#cp-r/home/zabbix-2.4.4/frontends/php/var/www/html/[root@test-02~]#cd/var/www/html/;mvzabbixzabbix.bak_2.0.9[root@test-02~]#mvphpzabbix[root@test-02~]#chown-Rapache.apachezabbix[root@test-02~]# od-R777zabbix配置文件zabbix.conf.php為界面連接mysql數(shù)據(jù)庫(kù)所 == =[root@test-02tru64]#ls [root@test-02tru64]#pwd[root@test-02tru64]#ls [root@test-02tru64]#pwd##chkconfig:-85#description:Zabbixserver.if[-x/usr/local/zabbix/sbin/zabbix_server];thenexit#chkconfig:-86#description:Zabbixagentdaemon#processname:zabbix_agentd.ifif[-x/usr/local/zabbix/sbin/zabbix_agentd];thenexit[root@test-02tru64]#servicezabbix-agentShuttingdownZabbix StartingZabbix[][root@test-02tru64]#servicezabbix-serverShuttingdownZabbix[]StartingZabbix[]zabbix-server服務(wù)時(shí),zabbixmysqlzabbix庫(kù)的版本,具體可以可以看到,PHP的版本過(guò)低,zabbix2.4.4PHP5.3.0,同時(shí)還有個(gè)配置方面的報(bào)錯(cuò);針對(duì)第2個(gè)報(bào)錯(cuò),只需要在調(diào)整以下參數(shù):[root@test-02[root@test-02home]#vi= 針對(duì)第一個(gè)問(wèn)題,只能將系統(tǒng)組件PHP5.3.05.5.16apache將的安裝包上傳至/home并解壓;安裝之前可以將系統(tǒng)默認(rèn)安裝的apache先卸載phpapacheapache的重新安裝,如下所示: [root@test-02home]#yumremovehttp*-httpd.x86_640:2.2.15-15.el6_2.1 httpd-tools.x86_640:2.2.15-15.el6_2.1DependencyRemoved:Installingconfigurationfilesmkdir/usr/local/apache2/conf/extraInstallingHTML Installingerror Installingiconsmkdir/usr/local/apache2/logsInstallingCGIsInstallingheaderfilesInstallingbuildsystemInstallingmanpagesandonlinemanualmkdir/usr/local/apache2/manmkdir/usr/local/apache2/manual至此,apachephp 安裝完畢[root@test-02php-5.5.16]#yuminstall*xml2*bzip2*libcurl* type*libpng*-type-devel.x86_640:2.3.11-6.el6_2.9libcurl-devel.x86_640:7.19.7-26.el6_2.4libjpeg-devel.x86_640:6b-46.el6DependencyInstalled:autoconf.noarch0:2.63-5.1.el6 libidn-devel.x86_640:1.18-2.el6[root@test-02php-5.5.16]#--with-apxs2=/usr/local/apache2/bin/apxs--with-bz2--with-curl--enable-ftp--enable-sockets--disable-ipv6--with-gd--with-jpeg-dir=/usr/local--with-png-dir=/usr/local--with-type-dir=/usr/local--enable-gd-native-ttf--with-iconv-dir=/usr/local--enable-mbstring--enable-calendar--with-gettext--with-libxml-dir=/usr/local--with-zlib--with-pdo-mysql=mysqlnd--with-mysqli=mysqlnd--with-mysql=mysqlnd--enable-dom--enable-xml--enable-fpm--with-libdir=lib64--enable-bcmathThankyouforusingconfig.status:creatingmain/build-defs.hconfig.status:creatingscripts/phpizeconfig.status:creatingscripts/man1/phpize.1config.status:creatingscripts/php-configconfig.status:creatingscripts/man1/php-config.1config.status:creatingsapi/cli/php.1config.status:creatingsapi/fpm/php-fpm.confconfig.status:creatingsapi/fpm/init.d.php-fpmconfig.status:creatingsapi/fpm/php-fpm.serviceconfig.status:creatingsapi/fpm/php-fpm.8config.status:creatingsapi/fpm/status.htmlconfig.status:creatingsapi/cgi/php-cgi.1config.status:creatingext/phar/phar.1config.status:creatingmain/php_config.hconfig.status:executingdefaultcommandsInstallingheaderfiles: Installinghelperprograms: program:phpizeInstallingmanpages: page:phpize.1page:php-InstallingPEARenvironment: [PEAR]Archive_Tar -installed:1.3.12[PEAR]Console_Getopt-installed:1.3.1[PEAR]Structures_Graph-installed:1.0.4[PEAR] -installed:[PEAR] -installed:Youmaywanttoadd:/usr/local/php-5.5.16/lib/phptoyourphp.ini/home/php-5.5.16/build/shtoolinstall-cext/phar/phar.phar/usr/local/php-5.5.16/binln-s-f/usr/local/php-5.5.16/bin/phar.phar/usr/local/php-5.5.16/bin/pharInstallingPDOheaders: [root@test-02php-5.5.16]# 5apacheLoadModule 驗(yàn)證安裝:在apache的根 件1.php,內(nèi)容如下: [root@test-02bin]#./httpd-khttpd:Couldnotreliablydeterminetheserver'sfullyforhttpdnotrunning,tryingtostart[root@test-02bin]#./httpd-kstarthttpd:Couldnotreliablydeterminetheserver'sfullyforhttpd(pid7706)alreadyname,name,ServerName #IP:80httpdzabbix-agentinit.d作,將下面的httpd.txt并重命名為httpd,放入到/etc/init.d/,同時(shí)賦于可執(zhí)行權(quán)限,6mysql[root@test-02conf]#yumupdatemysql-RunningTransaction : fcreated : fcreated::mysql- serverfrompidfile/var/run/mysqld/mysqld.pid15041713:47:07 mysqldended : Updated:mysql.i3860:5.0.77-4.el5_6.6mysql.x86_640:5.0.77-4.el5_6.6DependencyUpdated:mysql-server.x86_640:5.0.77-4.el5_6.6 mysqld_safe--user=mysql--skip-grant-tables--skip-eetotheMySQL Commandsendwith;orYourMySQLconnectionidisServerversion:5.0.77SourceType'help;'or'\h'forhelp.Type'\c'toclearthebuffer.mysql>usemysqlReadingtableinformationforcompletionoftableandcolumnYouYoucanturnoffthisfeaturetogetaquickerstartupwith-DatabaseQueryOK,3rowsaffected(0.00Rowsmatched: Changed: mysql>flushQueryOK,0rowsaffected(0.00mysql>[root@test-02conf]#mysql-uroot-et

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論