Tuesday, April 3, 2012

Unreal IRC Installation & Basic Configuration


===============================================
Unreal IRC Installation & Basic Configuration
===============================================

Introduction
-------------

Internet Relay Chat (IRC) is a protocol for real-time Internet text messaging (chat) or synchronous conferencing. It is mainly designed for group communication in discussion forums, called channels, but also allows one-to-one communication via private message as well as chat and data transfer, including file sharing.

UnrealIRCd is an Open Source IRC Server. Unreal was created from the Dreamforge IRCd that was formerly used by the DALnet IRC Network. Over the years, many new and exciting features have been added to Unreal. Some of Unreal's most notable features include:

    * Channel Half-ops (+h)
    * Channel Owners (+q) and Channel Admins (+a)
    * Advanced anti-flood and anti-spam systems (such as Spamfilter)
    * Advanced banning through 'extended bans'
    * Swear filtering (+G)
    * Channel linking (+L)
    * Hostname cloaking (+x)
    * Color blocking and stripping (+c/+S)
    * Vhosts
    * WebTV Support
    * DCCDeny
    * SSL encrypted client and server connections
    * Ziplinks
    * Advanced and highly configurable configuration file
    * Module support
    * Extensive documentation in several languages (in HTML and on IRC through /HELPOP)
    * And much more... see also the Features section in the official documentation

Unreal can run on several operating systems. Unreal works on most nix OSes including Linux, BSD, MacOS X, Solaris, and HP-UX. Unreal also works on Windows (NT4/2K/XP/2003/Vista/7).


====================================
Installation & Basic Configuration
====================================

Installation
-------------

# First of All add user irc

``useradd irc``

``cd /home/irc/``

# As root user download UNREAL IRC

``wget http://www.unrealircd.com/downloads/Unreal3.2.9.tar.gz``

# Extract unreal Tar Ball

``tar -zxvf Unreal3.2.9.tar.gz``

``cd Unreal3.2.9/``

# Run Config script & keep everything default as shown in image

``./Config``










# Compile Unreal source

``make``








# Copy example config file as unrealircd.conf

``cp doc/example.conf unrealircd.conf``




# Open unrealircd.conf & edit "this is me block" & "this is admin block" & "this is services block" as shown in images below

``vi unrealircd.conf``








# After editing unrealircd.conf file, now setup services for IRC

# Download services version 4.3 as shown below

``cd /home/irc``

``wget http://www.surrealchat.net/services/releases/srsv-0.4.3.0.tar.bz2``





# Before installing services install prerequisites, i.e Perl & perl Modules (Event,Date::Parse, & Math::BigInt)

``cpan``

``install Event``

``install Date::Parse``

``install Math::BigInt``














# Login to Mysql Database & create database services

``create database services;``





# Extract Tar ball

``tar -jxvf srsv-0.4.3.0.tar.bz2``

``cd srsv-0.4.3.0/``

# Copy Example Config Folder as Config

``cp -avr example-config/ config/``

# Change Mysql Credentials in sql.conf as shown in image

``vi config/sql.conf``





# Run Database Setup Script

``./db-setup.pl``





# Start unreal irc using following command

``cd /home/irc/Unreal3.2/``

``./unreal start``





# Now Start IRC Services as user irc

``chown -R irc:irc /home/irc/srsv-0.4.3.0/``

``cd /home/irc/srsv-0.4.3.0/``

``./services.pl``





# Now Connect to IRC Server using any irc client as shown in image below










No comments:

Post a Comment