*New 12.1 series Release:
2020-04-17: XigmaNAS - released

*New 11.3 series Release:
2020-04-16: XigmaNAS - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

[HOWTO] install a XMPP (Jabber) Server on Nas4Free (Messenger on Localhost)

XigmaNAS Packages
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
Posts: 7
Joined: 10 Nov 2015 16:59
Location: Ordu/TURKEY
Status: Offline

[HOWTO] install a XMPP (Jabber) Server on Nas4Free (Messenger on Localhost)


Post by ozdesoner »

Step 1: Installation of required packages
Login to your NAS4Free box via your web browser of your choice: http{s*}://{your-NAS4Free-IP_address}:{port**} (my's:
Go to Access > Users and Groups
Click On Groups and click on the Add (+) Button.
Type in your group name, group ID (leave as-is), and type in a description, click on Add and apply
Create a new user by clicking the Add (+) Button
Type in the login name of user (ex: soner)
Type in the full name (ex: Soner Ozdemir)
Type and Re-enter your desired password (ex: soner1234)
Specify a User ID, or leave as-is
Specify a shell login (bash is recommended)
Select your primary group (ex: sonerfirma)
Select the additional groups wheel and sshd (recommended for logging in via ssh and for running su - root)
Setup a home directory for read-write access for your user (ex: /home/soner)
*Optional, but recommended* tick the box to allow the user to access the user portal
Click on Add and apply
Go to Services > SSH
Click on Enable, and click on Save and Restart
Sign in to your NAS4Free box on your computer that is either running Windows, Linux, Mac OS X or UNIX via ssh
Windows: download and run PuTTY, and type in the IP Address (my’s: of your NAS4Free box, and select SSH, and click on open.
Type in your username and password
Linux, Unix, and Mac OS X: Run a terminal and type in the following:
ssh -l username ip-address
Where username is your newly created username and ip-address is your NAS4Free IP Address and type in your password to login.
Login as root by typing in:

Code: Select all

su - root
Type in root's password (nas4free)
Enter the following command to install the packages:

Code: Select all

pkg install openfire
Step 2: Configuring System Files
Login as root by typing in:

Code: Select all

su - root
Type in root's password (nas4free)
Copy sample configuration files and make a new one:

Code: Select all

cd /usr/local/etc/openfire
cp keystore.sample keystore
cp openfire.xml.sample openfire.xml
cp security.xml.sample security.xml
cp truststore.sample truststore
Login to NAS4Free via web interface, go to access > users and groups
Syntax for openfire:
Username: openfire
Name: openfire
user ID 1001
shell: nologin
primary group: openfire
additional group: wheel
Add and apply

Go to System > Advanced and click on rc.conf
Add the following variables and values:
Reboot to apply settings.

Step 3: Configuring XMPP Server via HTTP
Login to Openfire via web interface, go to address bar and type
localhost:9090 (Ex me:
Appear Welcome to Setup and select language click to continue.
In the Server setting you type mail and click to continue.
In the database settings you should Embedded Database and continue.
In the profile settings you should Default and click to continue.
Setup complete and Login to the admin console.
You can make a lot of setting in the console.
First you can create New users on the Users/Groups tabs.
Now Ready XMPP Server.

Step 4: Installing client Other devices (PC, OSX, Linux and Android Phones)
For Windows:
Download http://www.igniterealtime.org/downloads ... _2_7_6.exe and install it.

For Redhat Linux:
Download http://www.igniterealtime.org/downloads ... -2.7.6.rpm and install it.

For Mac:
Download http://www.igniterealtime.org/downloads ... _2_7_6.dmg and install it.

For Android Phones:
Download Talkonaut via Google Play Store and install it.

For Other Linuxs:
# Checking JAVA Version #
$ java -version
java version "1.7.0_95"
OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-0ubuntu0.15.10.1)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)

# Download Spark Archive file #
$ sudo wget http://download.igniterealtime.org/spar ... 7_5.tar.gz

# Extract Spark Archive file #
$ sudo tar -zxvf spark_2_7_5.tar.gz

# Download Spark Icon #
$ sudo wget https://dl.dropbox.com/u/50880014/spark.png

# Prerequiest library #
$ sudo apt-get install libxtst6:i386 libxi6:i386

Create Desktop shortcut for Spark.
$ sudo nano /usr/share/applications/spark.desktop
[Desktop Entry]
Comment=ignite realtime Spark IM client
FOXCONN 45CS/45CSX 2GB RAM 16 GB SSD 4 TB HDD x64-full on Intel Atom CPU 230 @ 1.60GHz Silverstone ML05 Mini-ITX

Post Reply

Return to “Packages”