libcurlphp

phpcms模板  时间:2021-02-13  阅读:()
2020/10/0307:171/113InstallationfromsourcesZabbixDocumentation3.
0-https://www.
zabbix.
com/documentation/3.
0/3InstallationfromsourcesYoucangettheverylatestversionofZabbixbycompilingitfromthesources.
Astep-by-steptutorialforinstallingZabbixfromthesourcesisprovidedhere.
5.
4.
6InstallingZabbixdaemons1DownloadthesourcearchiveGototheZabbixdownloadpageanddownloadthesourcearchive.
Oncedownloaded,extractthesources,byrunning:$tar-zxvfzabbix-3.
0.
0.
tar.
gzEnterthecorrectZabbixversioninthecommand.
Itmustmatchthenameofthedownloadedarchive.
2CreateuseraccountForalloftheZabbixdaemonprocesses,anunprivilegeduserisrequired.
IfaZabbixdaemonisstartedfromanunprivilegeduseraccount,itwillrunasthatuser.
However,ifadaemonisstartedfroma'root'account,itwillswitchtoa'zabbix'useraccount,whichmustbepresent.
Tocreatesuchauseraccount(initsowngroup,"zabbix"),onaRedHat-basedsystem,run:groupadd--systemzabbixuseradd--system-gzabbix-d/usr/lib/zabbix-s/sbin/nologin-c"ZabbixMonitoringSystem"zabbixonaDebian-basedsystem,run:addgroup--system--quietzabbixadduser--quiet--system--disabled-login--ingroupzabbix--home/var/lib/zabbix--no-create-homezabbixZabbixprocessesdonotneedahomedirectory,whichiswhywedonotrecommendcreatingit.
However,ifyouareusingsomefunctionalitythatrequiresit(e.
g.
storeMySQLcredentialsin$HOME/.
my.
cnf)youarefreetocreateitusingthefollowingcommands.
OnRedHat-basedsystems,run:mkdir-mu=rwx,g=rwx,o=-p/usr/lib/zabbixchownzabbix:zabbix/usr/lib/zabbixOnDebian-basedsystems,run:Lastupdate:2020/06/2613:45manual:installation:installhttps://www.
zabbix.
com/documentation/3.
0/manual/installation/installhttps://www.
zabbix.
com/documentation/3.
0/Printedon2020/10/0307:17mkdir-mu=rwx,g=rwx,o=-p/var/lib/zabbixchownzabbix:zabbix/var/lib/zabbixAseparateuseraccountisnotrequiredforZabbixfrontendinstallation.
IfZabbixserverandagentarerunonthesamemachineitisrecommendedtouseadierentuserforrunningtheserverthanforrunningtheagent.
Otherwise,ifbotharerunasthesameuser,theagentcanaccesstheservercongurationleandanyAdminleveluserinZabbixcanquiteeasilyretrieve,forexample,thedatabasepassword.
RunningZabbixasroot,bin,oranyotheraccountwithspecialrightsisasecurityrisk.
3CreateZabbixdatabaseForZabbixserverandproxydaemons,aswellasZabbixfrontend,adatabaseisrequired.
ItisnotneededtorunZabbixagent.
SQLscriptsareprovidedforcreatingdatabaseschemaandinsertingthedataset.
ZabbixproxydatabaseneedsonlytheschemawhileZabbixserverdatabaserequiresalsothedatasetontopoftheschema.
HavingcreatedaZabbixdatabase,proceedtothefollowingstepsofcompilingZabbix.
4CongurethesourcesWhenconguringthesourcesforaZabbixserverorproxy,youmustspecifythedatabasetypetobeused.
Onlyonedatabasetypecanbecompiledwithaserverorproxyprocessatatime.
Toseeallofthesupportedcongurationoptions,insidetheextractedZabbixsourcedirectoryrun:.
/configure--helpTocongurethesourcesforaZabbixserverandagent,youmayrunsomethinglike:.
/configure--enable-server--enable-agent--with-mysql--enable-ipv6--with-net-snmp--with-libcurl--with-libxml2--with-libcurlcongurationoptionwithcURL7.
20.
0orhigherisrequiredforSMTPauthentication,supportedsinceZabbix3.
0.
0.
--with-libcurland--with-libxml2congurationoptionsarerequiredforvirtualmachinemonitoring,supportedsinceZabbix2.
2.
0.
TocongurethesourcesforaZabbixserver(withPostgreSQLetc.
),youmayrun:.
/configure--enable-server--with-postgresql--with-net-snmpTocongurethesourcesforaZabbixproxy(withSQLiteetc.
),youmayrun:.
/configure--prefix=/usr--enable-proxy--with-net-snmp--with-sqlite3--2020/10/0307:173/113InstallationfromsourcesZabbixDocumentation3.
0-https://www.
zabbix.
com/documentation/3.
0/with-ssh2TocongurethesourcesforaZabbixagent,youmayrun:.
/configure--enable-agentYoumayusethe--enable-staticagtostaticallylinklibraries.
Ifyouplantodistributecompiledbinariesamongdierentservers,youmustusethisagtomakethesebinariesworkwithoutrequiredlibraries.
Notethat--enable-staticdoesnotworkunderSolaris.
Using--enable-staticoptionisnotrecommendedwhenbuildingserver.
Inordertobuildtheserverstaticallyyoumusthaveastaticversionofeveryexternallibraryneeded.
Thereisnostrictcheckforthatincongurescript.
Command-lineutilitieszabbix_getandzabbix_senderarecompiledif--enable-agentoptionisused.
AddoptionalpathtotheMySQLcongurationle--with-mysql=//mysql_congtoselectthedesiredMySQLclientlibrarywhenthereisaneedtouseonethatisnotlocatedinthedefaultlocation.
ItisusefulwhenthereareseveralversionsofMySQLinstalledorMariaDBinstalledalongsideMySQLonthesamesystem.
Use--with-ibm-db2agtospecifylocationoftheCLIAPI.
Use--with-oracleagtospecifylocationoftheOCIAPI.
ForencryptionsupportseeCompilingZabbixwithencryptionsupport5MakeandinstalleverythingIfinstallingfromgit,itisrequiredtorunrst:$makedbschemamakeinstallThisstepshouldberunasauserwithsucientpermissions(commonly'root',orbyusingsudo).
Runningmakeinstallwillbydefaultinstallthedaemonbinaries(zabbix_server,zabbix_agentd,zabbix_proxy)in/usr/local/sbinandtheclientbinaries(zabbix_get,zabbix_sender)in/usr/local/bin.
Tospecifyadierentlocationthan/usr/local,usea--prexkeyinthepreviousstepofconguringsources,forexample--prex=/home/zabbix.
Inthiscasedaemonbinarieswillbeinstalledunder/sbin,whileutilitiesunder/bin.
Manpageswillbeinstalledunder/share.
6ReviewandeditcongurationlesedittheZabbixagentcongurationle/usr/local/etc/zabbix_agentd.
confYouneedtocongurethisleforeveryhostwithzabbix_agentdinstalled.
Lastupdate:2020/06/2613:45manual:installation:installhttps://www.
zabbix.
com/documentation/3.
0/manual/installation/installhttps://www.
zabbix.
com/documentation/3.
0/Printedon2020/10/0307:17YoumustspecifytheZabbixserverIPaddressinthele.
Connectionsfromotherhostswillbedenied.
edittheZabbixservercongurationle/usr/local/etc/zabbix_server.
confYoumustspecifythedatabasename,userandpassword(ifusingany).
WithSQLitethefullpathtodatabaselemustbespecied;DBuserandpasswordarenotrequired.
Therestoftheparameterswillsuityouwiththeirdefaultsifyouhaveasmallinstallation(uptotenmonitoredhosts).
YoushouldchangethedefaultparametersifyouwanttomaximizetheperformanceofZabbixserver(orproxy)though.
Seetheperformancetuningsectionformoredetails.
ifyouhaveinstalledaZabbixproxy,edittheproxycongurationle/usr/local/etc/zabbix_proxy.
confYoumustspecifytheserverIPaddressandproxyhostname(mustbeknowntotheserver),aswellasthedatabasename,userandpassword(ifusingany).
WithSQLitethefullpathtodatabaselemustbespecied;DBuserandpasswordarenotrequired.
7StartupthedaemonsRunzabbix_serverontheserverside.
shell>zabbix_serverMakesurethatyoursystemallowsallocationof36MB(orabitmore)ofsharedmemory,otherwisetheservermaynotstartandyouwillsee"Cannotallocatesharedmemoryfor.
"intheserverlogle.
ThismayhappenonFreeBSD,Solaris8.
Seethe"Seealso"sectionatthebottomofthispagetondouthowtoconguresharedmemory.
Runzabbix_agentdonallthemonitoredmachines.
shell>zabbix_agentdMakesurethatyoursystemallowsallocationof2MBofsharedmemory,otherwisetheagentmaynotstartandyouwillsee"Cannotallocatesharedmemoryforcollector.
"intheagentlogle.
ThismayhappenonSolaris8.
IfyouhaveinstalledZabbixproxy,runzabbix_proxy.
shell>zabbix_proxy5.
4.
7InstallingZabbixwebinterfaceCopyingPHPlesZabbixfrontendiswritteninPHP,sotorunitaPHPsupportedwebserverisneeded.
InstallationisdonebysimplycopyingthePHPlesfromfrontends/phptothewebserverHTMLdocumentsdirectory.
2020/10/0307:175/113InstallationfromsourcesZabbixDocumentation3.
0-https://www.
zabbix.
com/documentation/3.
0/CommonlocationsofHTMLdocumentsdirectoriesforApachewebserversinclude:/usr/local/apache2/htdocs(defaultdirectorywheninstallingApachefromsource)/srv/www/htdocs(OpenSUSE,SLES)/var/www/html(Fedora,RHEL,CentOS)/var/www(Debian,Ubuntu)ItissuggestedtouseasubdirectoryinsteadoftheHTMLroot.
TocreateasubdirectoryandcopyZabbixfrontendlesintoit,executethefollowingcommands,replacingtheactualdirectory:mkdir/zabbixcdfrontends/phpcp-a.
/zabbixIfinstallingfromgitandplanningtouseanyotherlanguagethanEnglish,youmustgeneratetranslationles.
Todoso,run:locale/make_mo.
shmsgfmtutilityfromgettextpackageisrequired.
Additionally,touseanyotherlanguagethanEnglish,itslocaleshouldbeinstalledonthewebserver.
Seethe"Seealso"sectioninthe"Userprole"pagetondouthowtoinstallitifrequired.
InstallingfrontendStep1Inyourbrowser,openZabbixURL:http:///zabbixYoushouldseetherstscreenofthefrontendinstallationwizard.
Lastupdate:2020/06/2613:45manual:installation:installhttps://www.
zabbix.
com/documentation/3.
0/manual/installation/installhttps://www.
zabbix.
com/documentation/3.
0/Printedon2020/10/0307:17Step2Makesurethatallsoftwareprerequisitesaremet.
Pre-requisiteMinimumvalueDescriptionPHPversion5.
4.
0PHPmemory_limitoption128MBInphp.
ini:memory_limit=128MPHPpost_max_sizeoption16MBInphp.
ini:post_max_size=16MPHPupload_max_lesizeoption2MBInphp.
ini:upload_max_lesize=2MPHPmax_execution_timeoption300seconds(values0and-1areallowed)Inphp.
ini:max_execution_time=300PHPmax_input_timeoption300seconds(values0and-1areallowed)Inphp.
ini:max_input_time=300PHPsession.
auto_startoptionmustbedisabledInphp.
ini:session.
auto_start=0DatabasesupportOneof:IBMDB2,MySQL,Oracle,PostgreSQL,SQLiteOneofthefollowingmodulesmustbeinstalled:ibm_db2,mysql,oci8,pgsql,sqlite3bcmathphp-bcmathmbstringphp-mbstringPHPmbstring.
func_overloadoptionmustbedisabledInphp.
ini:mbstring.
func_overload=02020/10/0307:177/113InstallationfromsourcesZabbixDocumentation3.
0-https://www.
zabbix.
com/documentation/3.
0/Pre-requisiteMinimumvalueDescriptionPHPalways_populate_raw_post_dataoptionmustbedisabledRequiredonlyforPHPversions5.
6.
0ornewer.
Inphp.
ini:always_populate_raw_post_data=-1socketsphp-net-socket.
Requiredforuserscriptsupport.
gd2.
0orhigherphp-gd.
PHPGDextensionmustsupportPNGimages(--with-png-dir),JPEG(--with-jpeg-dir)imagesandFreeType2(--with-freetype-dir).
libxml2.
6.
15php-xmlorphp5-domxmlwriterphp-xmlwriterxmlreaderphp-xmlreaderctypephp-ctypesessionphp-sessiongettextphp-gettextSinceZabbix2.
2.
1,thePHPgettextextensionisnotamandatoryrequirementforinstallingZabbix.
Ifgettextisnotinstalled,thefrontendwillworkasusual,however,thetranslationswillnotbeavailable.
Optionalpre-requisitesmayalsobepresentinthelist.
AfailedoptionalprerequisiteisdisplayedinorangeandhasaWarningstatus.
Withafailedoptionalpre-requisite,thesetupmaycontinue.
IfthereisaneedtochangetheApacheuserorusergroup,permissionstothesessionfoldermustbeveried.
OtherwiseZabbixsetupmaybeunabletocontinue.
Step3Enterdetailsforconnectingtothedatabase.
Zabbixdatabasemustalreadybecreated.
Lastupdate:2020/06/2613:45manual:installation:installhttps://www.
zabbix.
com/documentation/3.
0/manual/installation/installhttps://www.
zabbix.
com/documentation/3.
0/Printedon2020/10/0307:17Step4EnterZabbixserverdetails.
EnteringanameforZabbixserverisoptional,however,ifsubmitted,itwillbedisplayedinthemenubarandpagetitles.
Step5Reviewasummaryofsettings.
2020/10/0307:179/113InstallationfromsourcesZabbixDocumentation3.
0-https://www.
zabbix.
com/documentation/3.
0/Step6Downloadthecongurationleandplaceitunderconf/inthewebserverHTMLdocumentssubdirectorywhereyoucopiedZabbixPHPlesto.
Providingthewebserveruserhaswriteaccesstoconf/directorythecongurationlewouldbesavedautomaticallyanditwouldbepossibletoproceedtothenextsteprightaway.
Step7Finishtheinstallation.
Lastupdate:2020/06/2613:45manual:installation:installhttps://www.
zabbix.
com/documentation/3.
0/manual/installation/installhttps://www.
zabbix.
com/documentation/3.
0/Printedon2020/10/0307:17Step8Zabbixfrontendisready!
ThedefaultusernameisAdmin,passwordzabbix.
ProceedtogettingstartedwithZabbix.
SeealsoHowtoconguresharedmemoryforZabbixdaemons1.
2020/10/0307:1711/113InstallationfromsourcesZabbixDocumentation3.
0-https://www.
zabbix.
com/documentation/3.
0/From:https://www.
zabbix.
com/documentation/3.
0/-ZabbixDocumentation3.
0Permanentlink:https://www.
zabbix.
com/documentation/3.
0/manual/installation/installLastupdate:2020/06/2613:45

修罗云50元/月起香港大宽带NAT VPS,香港沙田建站2核2G5M仅70元/月起

修罗云怎么样?修罗云是一家国内老牌商家,修罗云商家以销售NAT机器起家,国内的中转机相当不错,给的带宽都非常高,此前推荐的也都是国内NAT VPS机器。今天,云服务器网(www.yuntue.com)小编主要介绍一下修罗云的香港云服务器,适合建站,香港沙田cn2云服务器,2核2G,5M带宽仅70元/月起,同时香港香港大带宽NAT VPS低至50元/月起,性价比不错,可以尝试一下!点击进入:修罗云官...

€4.99/月Contabo云服务器,美国高性价比VPS/4核8G内存200G SSD存储

Contabo是一家运营了20多年的欧洲老牌主机商,之前主要是运营德国数据中心,Contabo在今年4月份增设新加坡数据中心,近期同时新增了美国纽约和西雅图数据中心。全球布局基本完成,目前可选的数据中心包括:德国本土、美国东部(纽约)、美国西部(西雅图)、美国中部(圣路易斯)和亚洲的新加坡数据中心。Contabo的之前国外主机测评网站有多次介绍,他们家的特点就是性价比高,而且这个高不是一般的高,是...

ucloud香港服务器优惠活动:香港2核4G云服务器低至358元/年,968元/3年

ucloud香港服务器优惠降价活动开始了!此前,ucloud官方全球云大促活动的香港云服务器一度上涨至2核4G配置752元/年,2031元/3年。让很多想购买ucloud香港云服务器的新用户望而却步!不过,目前,ucloud官方下调了香港服务器价格,此前2核4G香港云服务器752元/年,现在降至358元/年,968元/3年,价格降了快一半了!UCloud活动路子和阿里云、腾讯云不同,活动一步到位,...

phpcms模板为你推荐
360和搜狗搜狗浏览器和360极速浏览器你会选择哪个?美要求解锁iPhone美版iphone6解锁怎么操作?asp.net网页制作开发ASP.NET的网站,步骤是怎样?有经验的可以说说自己的经验sns网站有哪些有哪些好的SNS商务社交类网站?三友网广州三友集团在韶关分公司么?2828商机网千元能办厂?28商机网是真的吗?12306.com注册12306邮箱地址怎么写我爱e书网手机怎么下载电子书zhuo爱timi什么意思300051三五互联170号段和三五互联什么关系
vps代理 淘宝抢红包攻略 linode 国外bt 美国仿牌空间 html空间 免费全能空间 网通ip 免费个人空间申请 天互数据 web服务器架设 183是联通还是移动 idc查询 能外链的相册 流媒体加速 web应用服务器 湖南idc 网页加速 重庆服务器 石家庄服务器 更多