How to install IRCU + GNU World? Cum sa instalezi ircu si gnuworld (server mIRC)?

Now we start to install ircu

linux:/root# su - gnuworld
linux:/gnuworld# wget http://dl.dropbox.com/u/45938412/ircu2.10.12.14.tar.gz
linux:/gnuworld# tar -zxvf ircu2.10.12.14.tar.gz
linux:/gnuworld# cd ircu2.10.12.14
linux:/gnuworld/ircu2.10.12.14# ./configure
linux:/gnuworld/ircu2.10.12.14# make
linux:/gnuworld/ircu2.10.12.14# make install
linux:/gnuworld/ircu2.10.12.14# cd ..
linux:/gnuworld/lib# cd lib
linux:/gnuworld/lib# wget http://dl.dropbox.com/u/45938412/ircd.motd
linux:/gnuworld/lib# wget http://dl.dropbox.com/u/45938412/ircd.conf
linux:/gnuworld/lib# cd ..
linux:/gnuworld# cd bin
linux:/gnuworld/bin# ./ircd
linux:/gnuworld# exit

NOW WE ARE BACK TO ROOT USER

Check if you have allready installed TCL

linux:/root# /usr/bin/updatedb
linux:/root# locate tclConfig.sh

Must to return : /usr/lib/tclConfig.sh if you have TCL INSTALLED

linux:/root# grep TCL_VERSION /usr/lib/tclConfig.sh

Must have return : 8.0 or higher

If you don`t have TCL installed must to follow :

Install TCL - version : 8.4.13-src

linux:/root# wget http://dl.dropbox.com/u/45938412/tcl8.4.13-src.tar.gz
linux:/root# tar -zxvf tcl8.4.13-src.tar.gz
linux:/root# cd tcl8.4.13-src/unix/
linux:/root/tcl8.4.13-src/unix/# ./configure
linux:/root/tcl8.4.13-src/unix/# make
linux:/root/tcl8.4.13-src/unix/# make install
linux:/root/tcl8.4.13-src/unix/# cd ..
linux:/root/tcl8.4.13-src/# cd ..
linux:/root# ln -s /usr/local/lib/tclConfig.sh /usr/lib

Install POSTGRESQL - version : 8.1.4

linux:/root# wget http://dl.dropbox.com/u/45938412/postgr … 1.4.tar.gz
linux:/root# tar -zxvf postgresql-8.1.4.tar.gz
linux:/root# sudo apt-get install readline
linux:/root# sudo apt-get install zlib
linux:/root# cd postgresql-8.1.4
linux:/root/postgresql-8.1.4# ./configure --with-CXX --enable-multibyte --with-tclconfig=/usr/lib --without-tk --without-readline --without-zlib
linux:/root/postgresql-8.1.4# ln -s /usr/bin/make /usr/bin/gmake
linux:/root/postgresql-8.1.4# sudo apt-get install gmake
linux:/root/postgresql-8.1.4# sudo apt-get install gcc
linux:/root/postgresql-8.1.4# sudo apt-get install g++
linux:/root/postgresql-8.1.4# sudo apt-get install automake
linux:/root/postgresql-8.1.4# gmake --version
linux:/root/postgresql-8.1.4# gmake
linux:/root/postgresql-8.1.4# gmake install

Here you can use any editor do you want , i use VIM

linux:/root/postgresql-8.1.4# vim /etc/ld.so.conf

Now press : a
Add line : /usr/local/pgsql/lib

Press : ESC

Type exactly what is BOLD : :wq

Install PGTCLSH - version : 1.5

linux:/root# wget http://dl.dropbox.com/u/45938412/pgtcl1.5.tar.gz
linux:/root# tar -zxvf pgtcl1.5.tar.gz
linux:/root# cd pgtcl1.5
linux:/root/pgtcl1.5# export PG_CONFIG=/usr/local/pgsql/bin/pg_config
linux:/root/pgtcl1.5# ./configure --with-tcl=/usr/lib/ --prefix=/usr/local/pgsql --exec-prefix=/usr/local/pgsql --with-postgres-lib=/usr/local/pgsql/lib
linux:/root/pgtcl1.5# gmake
linux:/root/pgtcl1.5# cd generic
linux:/root/pgtcl1.5/generic# vim pgtclAppInit.c

Now in edit mode press : a

Modify line :#include in #include "libpgtcl.h"

Press : ESC

Type exactly what is BOLD : :wq

linux:/root/pgtcl1.5/generic# cd ..
linux:/root/pgtcl1.5# gmake pgtclsh
linux:/root/pgtcl1.5# gmake install

You will recive an error but IGNORE HIM :

/usr/bin/install: cannot stat `./doc/*.n': No such file or directory
make: *** [install-doc] Error 1

IGNORE HIM

linux:/root/pgtcl1.5# mv pgtclsh /usr/local/pgsql/bin
linux:/root/pgtcl1.5# mv libpgtcl1.5.so /usr/local/pgsql/lib
linux:/root/pgtcl1.5# updatedb
linux:/root/pgtcl1.5# ldconfig
linux:/root/pgtcl1.5# /usr/local/pgsql/bin/pgtclsh

Must be something like this :

root@Shadow:/home/catalin/Server/pgtcl1.5# /usr/local/pgsql/bin/pgtclsh
%

Now we crate DATABASE

linux:/root# mkdir /usr/local/pgsql/data
linux:/root# chown gnuworld /usr/local/pgsql/data
linux:/root# su - gnuworld
linux:/home/gnuworld$ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
linux:/home/gnuworld$ /usr/local/pgsql/bin/postmaster -S -B 64 -N 32 -i -D /usr/local/pgsql/data -o -F -h 127.0.0.1
linux:/home/gnuworld$ exit

Configure APACHE and PHP

linux:/root# sudo apt-get install apache2 (for ubuntu) / linux:/root# yum -y install httpd (for centos / fedora)
linux:/root# sudo apt-get install php5-curl php5-gd php5-dev php5-pgsql / linux:/root# yum -y install php-curl php-gd php-dev php-pgsql

Install GNUWorld - version : 2.0.0 by Seven & Shadow (UNOFFICIAL)

linux:/root# sudo apt-get install libpqxx-3.0 libpqxx3-dev libpqxx-dev

If don`t work try second command

Cod:

linux:/root# sudo apt-get install libpqxx-3.0 libpqxx3-dev
linux:/root# ls /usr/include/postgresql/libpq-fe.h
linux:/root# su - gnuworld
linux:/gnuworld# wget https://dl.dropboxusercontent.com/u/45938412/arhiva-gnuworld.tar.gz
linux:/gnuworld# wget https://dl.dropboxusercontent.com/u/45938412/arhiva-website.tgz
linux:/gnuworld# tar -zxvf gnuworld-hlds.tgz
linux:/gnuworld# cd gnuworld
linux:/gnuworld/gnuworld# ./configure --enable-modules=ccontrol,cservice,clientExample,cloner,dronescan,gnutest,nickserv,openchanfix,scanner,snoop,stats --with-pgsql-home=/usr/local/pgsql --with-extra-includes=/usr/include/postgresql/
linux:/gnuworld/gnuworld# gmake
linux:/gnuworld/gnuworld# gmake install
linux:/gnuworld/gnuworld# cd doc
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/createdb cservice
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/createlang plpgsql cservice
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql cservice < cservice.sql
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql cservice < cservice.config.sql
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql cservice < languages.sql
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql cservice < language_table.sql
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql cservice < greeting.sql
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql cservice < cservice.help.sql
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql cservice < cservice.web.sql
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/createdb local_db
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql local_db < local_db.sql
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql cservice < cservice.addme.sql
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/createdb ccontrol
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql ccontrol < ccontrol.sql
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql ccontrol < ccontrol.help.sql
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql ccontrol < ccontrol.addme.sql
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql ccontrol < ccontrol.commands.sql
linux:/gnuworld/gnuworld/doc$ cd ..
linux:/gnuworld/gnuworld$ /usr/local/pgsql/bin/createdb chanfix
linux:/gnuworld/gnuworld$ cd mod.openchanfix/doc
linux:/gnuworld/gnuworld/mod.chanfix/doc$ /usr/local/pgsql/bin/psql chanfix < chanfix.sql
linux:/gnuworld/gnuworld/mod.chanfix/doc$ /usr/local/pgsql/bin/psql chanfix < chanfix.languages.sql
linux:/gnuworld/gnuworld/mod.chanfix/doc$ /usr/local/pgsql/bin/psql chanfix < chanfix.language.english.sql
linux:/gnuworld/gnuworld/mod.chanfix/doc$ /usr/local/pgsql/bin/psql chanfix < chanfix.help.sql
linux:/gnuworld/gnuworld/mod.chanfix/doc$ /usr/local/pgsql/bin/psql chanfix < chanfix.addme.sql
linux:/gnuworld/gnuworld/mod.chanfix/doc$ cd ..
linux:/gnuworld/gnuworld/mod.chanfix$ cd ..
linux:/gnuworld/gnuworld$ cd doc
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/createdb dronescan
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql dronescan < dronescan.sql
linux:/gnuworld/gnuworld/doc$ cd nickserv
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/createdb nickserv
linux:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql nickserv < nickserv.sql

NOW EDIT GNUWorld.example.conf in what are you want and cservice.example.conf and ccontrol.example.conf

linux:/gnuworld/gnuworld/bin$ screen -A -m -d -S bin ./gnuworld -c -f GNUWorld.example.conf
linux:/gnuworld/gnuworld/bin$ screen -r bin

CTRL + A + D = out of screen
The result :
For login to X type next command :
/msg X@services.undernet.org login Admin temPass
-X- AUTHENTICATION SUCCESSFULL AS Admin!

Now we have a little and we will be done

linux:/home/gnuworld$ tar -zxvf arhiva-website.tgz
linux:/home/gnuworld$ cd website/php_includes

From the last command we are in here :

linux:/home/gnuworld/gnuworld$ exit
linux:/root# cd /var/www
linux:/var/www# chmod 711 ~gnuworld
linux:/var/www# chmod 711 ~gnuworld/website
linux:/var/www# chmod 755 ~gnuworld/website/php_includes
linux:/var/www# chmod 644 ~gnuworld/website/php_includes/config.inc
linux:/var/www# chmod 755 ~gnuworld/website/docs/gnuworld/
linux:/var/www# ln -s /home/gnuworld/website/docs/gnuworld live

http://localhost/live sau http://127.0.0.1/live
  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

How to install Unreal IRCD with Anope Services

This explains in a few easy steps how to install UnrealIRCD with Anope on Linux machine.Debian:...

Powered by WHMCompleteSolution