Changes

Jump to navigation Jump to search
384 bytes added ,  15:06, 26 January 2015
no edit summary
Line 3: Line 3:        +
==Installation==
 +
Prosody is available from the [[epel|'''epel''']] repository, so you have to enable the [[epel|'''epel''']] repository.
 +
After enabling the [[epel|epel]] repository, prosody can be installed with:
 +
yum install prosody lua-ldap --enablerepo=epel
      −
==Installation==
+
==Configuration==
Prosody is available from the [[epel|'''epel''']] repository, so you have to enable the [[epel|'''epel''']] repository.
+
===Adding service and open ports===
After enabling the [[epel|epel]] repository, prosody can be installed with yum install prosody lua-ldap --enablerepo=epel
+
To automatically start Prosody at boot and configure the ports:
 +
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S99prosody
 +
config set prosody service
 +
config setprop prosody status enabled access private TCPPort 5222 UDPport 5222
 +
signal-event remoteaccess-update
 +
You can togle the access property to enable public access.
 +
 
 +
===Configuration file===
 +
Prosody's configuration file is located at:
 +
/etc/prosody/prosody.cfg.lua
 +
The basic setting you have to change to run your prosody server on your domain:
 +
admins = {"admin@yourdomain.com"}
 +
allow_registration = true
 +
VirtualHost "localhost
 +
VirtualHost "yourdomain.com"
 +
enabled = true
   −
===Configuration==
+
You can now start prosody by entering:
====Adding service and open ports===To automatically start Prosody at boot and configure the ports:ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S99prosodyconfig set prosody serviceconfig setprop prosody status enabled access private TCPPort 5222 UDPport 5222signal-event remoteaccess-updateYou can togle the access property to enable public access.
+
service prosody start
   −
After installation
+
[[Category:Howto]]

Navigation menu