On the test I will launch IRC (Internet Relay Chat) server ircd-irc2 in Ubuntu Server 14.04.
The first command is to install the IRC server in Ubuntu:
sudo apt-get install ircd-irc2
There are several configuration files in the /etc/ircd/ directory: /etc/ircd/ircd.conf (main), /etc/ircd/ircd.motd (message to users when connecting), /etc/ircd/iauth.conf (connection parameters ).
In the /usr/share/doc/ircd-irc2/ directory, you can see examples of configuration files.
After the changes in the configuration files, you must reboot the IRC server:
sudo /etc/init.d/ircd-irc2 restart
Users can create and connect to channels with this command:
/join #channel_name