-
Notifications
You must be signed in to change notification settings - Fork 22
Running your own server
Install a Java 8 distribution. Download and extract the latest release. On the command line, execute java -jar ensichat-server.jar
. Ensichat will automatically connect to other devices and exchange messages. To connect an Android device to your server, enter the IP:Port in Settings -> Servers (the default port is 26344).
These instructions are for Ubuntu, tested with Ubuntu 16.04.
First, download the same release as above and extract it. Copy lib/ensichat-server.jar
to /usr/lib
. Then, copy the systemd unit defintion etc/linux-systemd/ensichat.service
into /lib/systemd/system/
. Finally, run the following commands:
useradd ensichat
mkdir /var/lib/ensichat
chown ensichat:ensichat /var/lib/ensichat
service ensichat start
Ensichat will now start automatically on boot, and you can use service ensichat start/stop/restart
to manage the service.
ensichat.nutomic.com:26344 (provided by @nutomic)
Please contact me to have your server added to the defaults.