Linux centos 6.3 Ejabberd Install

  • 来源:本站
  • 发布时间:2019-08-13
  • 144已阅读
您现在的位置:首页 >> 西方诗歌 >> 文章
简介 https:///fly2wind/TSShellScript#!/bin/sh########################################################

	Linux centos 6.3 Ejabberd Install

https:///fly2wind/TSShellScript#!/bin/sh##########################################################################################InstallEjabberdServer##ShawnMa##########################################################################################DefineTARGET==https:///processone/ejabberd//#Createabuilddirectorymkdir-p/opt/install/ejabberdcd/opt/install/ejabberd#Prepareforcompilationsourcecurl-o$TARGET$SOURCEmkdir-ptmptar-zxvf$TARGET-Ctmp#Installbuilddependenciesyuminstall-ygccgcc-c++makecmakeautoconfautomakeyuminstall-yexpat-devel#CreateaUserGroupgroupaddejabberduseradd-r-gejabberdejabberd#Compileanddeploymvtmp/*sourcecdsource\src./configure\--prefix=/opt/server/xmpp/ejabberd\--enable-user=ejabberd\--enable-full-xml\--enable-nifmakemakeinstallcd/opt/server/xmpp/ejabberdcurl-oetc/ejabberd/:///fly2wind/TSShellScript/master/ejabberd/conf//ejabberd/:///fly2wind/TSShellScript/master/ejabberd/conf//ejabberd/inetrchttps:///fly2wind/TSShellScript/master/ejabberd/conf/inetrc#Postinstallationsetupcd/opt/server/xmpp/#Configurationsed-i"/^ERL=.*/a\PMD=\/opt\/environment\/erlang\/R15B03\/bin\/epmd"sbin/ejabberdctlsed-i-e"s/epmd-names|grep-qname||epmd-kill/\$PMD-names|grep-qname||\$PMD-kill/"sbin/ejabberdctlcurl-o/etc//ejabberdhttps:///fly2wind/TSShellScript/master/ejabberd/init/ejabberdchmoda+x/etc//ejabberd#Additionalchkconfig--addejabberdchkconfigejabberdon。