This is my first blog post, as I handle blogging and tech forums I am used to working with administrators and advanced GNU / Linux users, the truth is I have a hard time explaining simple things like using the terminal, creating a bash script and another task that little by little the GNU / Linux user is switching to graphical interface applications, I am doing my best to make them understand me and be able to perform the steps.
Introduction to Jabber
Jabber is an open protocol based on the XML standard for real-time message exchange and presence between two points on the Internet. The main application of Jabber technology is an extensible messaging platform and an IM (instant messaging) network that offers similar functionality to other systems such as AIM, ICQ, MSN Messenger and Yahoo.
It stands out because it is different:
* it is open – Jabber’s protocol is free, open, public and understandable. In addition, there are multiple open source implementations for Jabber servers (see the list of public servers) such as numerous clients and development libraries.
* it is extensible – Using the potential of the XML language, anyone can extend the Jabber protocol for custom functionality. It is clear that to maintain interoperability, common extensions are controlled by the Jabber Software Foundation.
* it is decentralized – anyone can set up their own Jabber server, it is also patent free and does not depend on any company so it can be used now and always with complete freedom.
* it is safe – Any Jabber server can be isolated from the Jabber public network, any server implementation uses SSL for client-server communications, and many clients support PGP-GPG to encrypt client-to-client communications. In addition, more robust security is being developed through the use of SASL and session passwords.
Jabber can create confusion at first with respect to other instant messaging systems because usually, in other IMs, the client is identified with the protocol. In the case of Jabber this is not the case: there is a protocol and each of the clients is an implementation.
Original text in: JabberES
to create your own instant messaging system, We need a server application.
Openfire it is a jabber server with webmaster (Like a router or modem), written in java and is GPL, ie OpenSource.
Apache2 + MySQL + PHP5 and PHPMyAdmin
To install these applications we type in a terminal with permissions to use sudo
Note: #s are comments, they are not executed, they are references for a better understanding.
# Instalamos Apache2 + MySQL5.1 + PHP5 y phpmyadmin sudo apt-get -y install apache2 sudo apt-get -y install mysql-server mysql-common sudo apt-get -y install php5 php5-cli sudo apt-get -y install phpmyadmin # Para que Apache2 mustre el Error de Host sudo echo "ServerName localhost" >> /etc/apache2/httpd.conf # Para que Apache2 Mustre Bien los Asentos y Tildes sudo echo "AddDefaultCharset ISO-8859-1" >> /etc/apache2/conf.d/charset # Reseteamos Apache2 sudo /etc/init.d/apache2 restart ya tenemos las aplicaciones mínimas, ahora a instalar OpenFire: # Instalmos Java sudo apt-get install sun-java6-bin # Configuramos Java como Interprete Principal sudo update-alternatives --config java # Creamos el Usuario para OpenFire sudo adduser openfire # Descargamos OpenFire en Paquete DEB wget -c http://www.igniterealtime.org/downloads/download-landing.jsp?file=openfire/openfire_3.7.0_all.deb # Instalamos OpenFire sudo dpkg -i openfire_3.7.0_all.deb # Copiamos Contenido Basico para OpenFire y MySQL sudo cp /usr/share/openfire/resources/database/openfire_mysql.sql $HOME/ sudo chmod 777 openfire_mysql.sql # Creamos Base de Datos e Importamos Comtenido Basico en MySQL mysqladmin -h localhost -u root -p create openfire mysql -h localhost -u root -p openfire < openfire_mysql.sql # Creamos Usuario y Asignamos Permisos en MySQL Linea="CREATE USER openfire@localhost IDENTIFIED BY 'CONTRASEÑA';" echo "$Linea" | mysql -h localhost -u root -p Linea="GRANT ALL ON openfire.* TO openfire@localhost;" echo "$Linea" | mysql -h localhost -u root -p # Eliminamos Archivos Residuales rm openfire_3.7.0_all.deb rm openfire_mysql.sql # Resetamos OpenFire sudo /etc/init.d/openfire restart # Abrimos Administrador Web firefox http://127.0.0.1:9090
remember that the admin panel is:
http: // TUIP: 9090
http: // TUDOMINIO: 9090
If for some reason you can’t log in as admin after configuring the web, reset Openfire as you installed it and try, if the problem persists we can change the password with phpmyadmin looking for the user table in the Openfire database.
To see screenshots of Openfire enter here there are of all the functions and even of connectors.
Thanks for your Comments, If any ERROR is a product of your imagination, hahaha