Move to Account Setup in order to validate the “User1” and Follow with “add button”.ģ. Click on the indicated icon for setting of account “User1”.Ģ.The following guidelines and Screenshots can be followed in order to register the user and create a 1 on 1 chat app. Installation of PSi+ Software for One-to-one Chatĭownload & install the PSi+ Software through Ubuntu Software Centre. $ ejabberdctl register user2 localhost password The registration of users in ejabberd can be carried with the following code: $ ejabberdctl register user1 localhost password To import the ejabberd database structure to chat database, use the following command. $ mysql> create database chat Ĭopy the Ejabberd MySQL database structure from the mentioned link and thereby Save the code in the respective mysql.sql file. This leads to rise of Pop-up to enter the password and thereby to create a database for one-on-one chat between the users. The creation of database can be carried with the following command. In order to review the status of MySQL server, the mentioned command will help you out.ĥ.Once the installation process of MySQL server is carried, the MySQL service automatically runs where you can login the MySQL server with the user root password.Confirm the action again in the dialogue box.The installation of MySQL Server package will lead to a screen in order to set up the MySQL root on your terminal, enter the user root password of MySQL. Installation of MySQL database can be performed using the command. Now Install MySQL Database and Import Ejabberd Database To verify the dependencies “configure” command will assist with. In order to compile the source code use “make” command to initiate the execution of the file and install the Erlang through “make install” on the linux server. $ sudo apt-get install gcc make build-essential libncurses5-dev openssl libssl-dev fop xsltproc unixodbc-dev libwxbase3.0 libwxgtk3.0-dev libqt4-opengl-dev autoconf Step 4: Beginning the Compilation and Install the Erlang In order to perform a specific task, there demands dependencies in a single library that will do the certain task. $ tar -xvzf otp_src_18.0.tar.gz Step 3: Addition of Dependencies in the Command The Wget Command is program used to retrieve the content and download the erlang source files.Įxtract the entire tar file downloaded using the command.To make the process running, Erlang Version of 18.0 requires and it demands regular update. Download the source file in the Linux server using the link mentioned.Step-by-step procedure for the installation of Erlang in the Ubuntu server: Step 1: Download Erlang in the Ubuntu Server Installation and Setting Up Erlang on Ubuntu To handle the deployment we use open-source operating system and Linux distribution, Ubuntu’s latest version. In order to initiate the process of development, certain consideration is involved to create your one-on-one chat application. In this article, we are going to develop a one-to-one chat system with help of Contus fly’s source code and also combination with powerful technologies such as Ejabberd (Framework) and Erlang (language), XMPP Protocols, MySQL (Database). Yet another purposeful, functional programming language which can be distributed on different networks provide to create a unified 1-to-1 messaging app. Serving as a decentralized communication infrastructure Ejabberd (an application server with tons of ejabberd chat tutorials) allows you to create a 1-to-1 chat app with erlang that can run under many operating systems. But considering a real-time chat system as an addition or replacement for the messengers is possible only by relying on Ejabberd and Erlang. Coming to the discussion, building yet another instant messaging system is not fair enough since most people already have a lot of messenger apps on their smartphones. And the contributors to create a 1-to-1 messaging app is more or less increasing due to the abrupt growth of the chat app market value. There are tons of chat communication platforms available in the market transmitting millions of messages every day over the servers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |