How to install Openfire(instant messaging and group chat server) XMPP on Ubuntu
Quickloss3
Update Server: apt update && apt upgrade -y
Set Hostname: hostnamectl set-hostname ex.example.com vim /etc/hosts server_ip ex.example.com ex
Install Openfire XMPP: wget https://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_4.6.7_all.deb -O openfire.deb sudo apt install -f ./openfire.deb sudo systemctl enable --now openfire systemctl status openfire
Configure Database: sudo apt update sudo apt -y install mariadb-server mysql CREATE DATABASE openfire; GRANT ALL PRIVILEGES ON openfire.* TO openfire@localhost IDENTIFIED BY 'your password'; FLUSH PRIVILEGES; QUIT mysql -u openfire -p USE openfire; source /usr/share/openfire/resources/database/openfire_mysql.sql; SHOW tables; exit
Configure Firewall: for i in 9090 9091 5222 7777; do sudo ufw allow $i; done
Accessing Openfire XMPP: ex.example.com:9090
Database URL:jdbc:mysql://127.0.0.1/openfire?useUnicode=true characterEncoding=UTF-8&characterSetResults=UTF-8 ... https://www.youtube.com/watch?v=KZp8rSxpz0I
29047616 Bytes