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

ReadyDedis:VPS全场5折,1G内存套餐月付2美元起,8个机房可选_服务器安装svn

ReadyDedis是一家2018年成立的国外VPS商家,由印度人开设,主要提供VPS和独立服务器租用等,可选数据中心包括美国洛杉矶、西雅图、亚特兰大、纽约、拉斯维加斯、杰克逊维尔、印度和德国等。目前,商家针对全部VPS主机提供新年5折优惠码,优惠后最低套餐1GB内存每月仅需2美元起,所有VPS均为1Gbps端口不限流量方式。下面列出几款主机配置信息。CPU:1core内存:1GB硬盘:25GB ...

RAKsmart新年钜惠:E3服务器秒杀$30/月起,新上韩国服务器,香港/日本/美国站群服务器,VPS月付$1.99起,GPU服务器,高防服务器_vps香港

RAKsmart发布了新年钜惠活动,即日起到2月28日,商家每天推出限量服务器秒杀,美国服务器每月30美元起,新上了韩国服务器、GPU服务器、香港/日本/美国常规+站群服务器、1-10Gbps不限流量大带宽服务器等大量库存;VPS主机全场提供7折优惠码,同时针对部分特惠套餐无码直购每月仅1.99美元,支持使用PayPal或者支付宝等方式付款,有中英文网页及客服支持。爆款秒杀10台/天可选精品网/大...

HostYun 新增美国三网CN2 GIA VPS主机 采用美国原生IP低至月15元

在之前几个月中也有陆续提到两次HostYun主机商,这个商家前身是我们可能有些网友熟悉的主机分享团队的,后来改名称的。目前这个品牌主营低价便宜VPS主机,这次有可以看到推出廉价版本的美国CN2 GIA VPS主机,月费地址15元,适合有需要入门级且需要便宜的用户。第一、廉价版美国CN2 GIA VPS主机方案我们可看到这个类型的VPS目前三网都走CN2 GIA网络,而且是原生IP。根据信息可能后续...

phpcms模板为你推荐
企业推广最常见的推广方式有哪些cuteftpcuteFTP的使用方法?支付宝调整还款日月底30号用花呗到时候下个月什么时候还款?flashfxp下载求最新无需注册的FlashFXP下载地址sns网站有哪些有趣的SNS网站有哪些闪拍网闪拍网之类的网站怎么回事?爱买网超谁有http://www.25j58.com爱网购吧网站简介?curl扩展系统不支持CURL 怎么解决pintang深圳御品堂怎么才能保证他们卖的东西都是有机食品?tumblr上不去百度为什么经常打不开
长沙域名注册公司 过期域名查询 动态ip的vps 服务器评测 ix主机 回程路由 ssh帐号 java空间 炎黄盛世 百兆独享 泉州移动 中国电信宽带测速网 raid10 中国电信网络测速 百度云空间 万网注册 789电视剧网 学生机 九零网络 apache启动失败 更多