https://prosody.im/downloads/source/
https://prosody.im/doc/installing_from_source
https://prosody.im/doc/configure
1. download & extract
wget --no-check-certificate https://prosody.im/downloads/source/prosody-0.9.2.tar.gz
tar xvf prosody-0.9.2.tar.gz
cd prosody-0.9.2
2. install dependencies
yum install openssl openssl-* lua5.1 liblua5.1-dev libidn11-dev libssl-dev
3. configure & make install
./configure --ostype=PRESET
make install
note : Prosody's configuration is held in a single file, prosody.cfg.lua. on centos 6 you should find it in /usr/local/etc/prosody/prosody.cfg.lua
Errors at step 2:
ReplyDeleteNo package lua5.1 available.
No package liblua5.1-dev available.
No package libidn11-dev available.
No package libssl-dev available.
Packages to install:
Deletelibidn-devel
lua
lua-devel
cannot install on CentOS 6.7, error message:
ReplyDelete-------
[root@Atom230 prosody-0.9.2]# make install
Makefile:2: config.unix: No such file or directory
make: *** No rule to make target `config.unix'. Stop.
--------
Please help
1. yum install epel-release -y
ReplyDelete2. yum install prosody -y
Building Prosody from sources is not a good idea if there is an RPM package - like in this case. Use the Prosody RPM from Fedora EPEL for CentOS 6 or 7, please. This short tutorial also does not cover proper CA verification for SSL/TLS based connections etc.
ReplyDelete