Bine ati venit pe RoIrc.ro

Install GnuWorld

roirc.ro:/root# sudo apt-get update

roirc.ro:/root# sudo apt-get install git

roirc.ro:/root# sudo apt-get install nano

roirc.ro:/root# sudo apt-get install byacc

roirc.ro:/root# sudo apt-get install flex

roirc.ro:/root# sudo apt-get install screen

roirc.ro:/root# adduser gnuworld

After that press ENTER and pick a password

Now we start to install ircu

roirc.ro:/root# su - gnuworld

roirc.ro:/gnuworld# wget http://roirc.ro/download/ircd.tar.gz

roirc.ro:/gnuworld# tar -zxvf ircd.tar.gz

roirc.ro:/gnuworld# cd ircd

roirc.ro:/gnuworld/ircd# ./configure

roirc.ro:/gnuworld/ircd# make && make install

roirc.ro:/gnuworld/ircd# cd ..

Passworld Settings to opers key pl:

roirc.ro:/gnuworld# cd bin

roirc.ro:/gnuworld# ./umkpasswd -m smd5 admin

roirc.ro:/gnuworld/ircd# cd ..

roirc.ro:/gnuworld/lib# cd lib

roirc.ro:/gnuworld/lib# wget http://roirc.ro/download/ircd.motd

roirc.ro:/gnuworld/lib# wget http://roirc.ro/download/ircd.conf

roirc.ro:/gnuworld/lib# cd ..

roirc.ro:/gnuworld# cd bin

roirc.ro:/gnuworld/bin# ./ircd

roirc.ro:/gnuworld# exit

NOW WE ARE BACK TO ROOT USER

Check if you have allready installed TCL

roirc.ro:/root# /usr/bin/updatedb

roirc.ro:/root# locate tclConfig.sh

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

roirc.ro:/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

roirc.ro:/root# wget http://roirc.ro/download/tcl8.4.13-src.tar.gz

roirc.ro:/root# tar -zxvf tcl8.4.13-src.tar.gz

roirc.ro:/root# cd tcl8.4.13/unix/

roirc.ro:/root/tcl8.4.13-src/unix/# ./configure

roirc.ro:/root/tcl8.4.13-src/unix/# make && make make install

roirc.ro:/root/tcl8.4.13-src/unix/# cd ..

roirc.ro:/root/tcl8.4.13-src/# cd ..

roirc.ro:/root# ln -s /usr/local/lib/tclConfig.sh /usr/lib

Install POSTGRESQL - version : 8.1.4

roirc.ro:/root# wget http://roirc.ro/download/postgresql-8.1.4.tar.gz

roirc.ro:/root# tar -zxvf postgresql-8.1.4.tar.gz

roirc.ro:/root# sudo apt-get install readline

roirc.ro:/root# sudo apt-get install zlib

roirc.ro:/root# cd postgresql-8.1.4

roirc.ro:/root/postgresql-8.1.4# ./configure --with-CXX --enable-multibyte --with-tclconfig=/usr/lib --without-tk --without-readline --without-zlib

roirc.ro:/root/postgresql-8.1.4# ln -s /usr/bin/make /usr/bin/gmake

roirc.ro:/root/postgresql-8.1.4# sudo apt-get install gmake

roirc.ro:/root/postgresql-8.1.4# sudo apt-get install gcc

roirc.ro:/root/postgresql-8.1.4# sudo apt-get install g++

roirc.ro:/root/postgresql-8.1.4# sudo apt-get install automake

roirc.ro:/root/postgresql-8.1.4# gmake --version

roirc.ro:/root/postgresql-8.1.4# gmake

roirc.ro:/root/postgresql-8.1.4# gmake install

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

roirc.ro:/root/postgresql-8.1.4# nano /etc/ld.so.conf

Add line : /usr/local/pgsql/lib

Press : Exit command : Ctrl+x and buton to Enter to save

Install PGTCLSH - version : 1.5

roirc.ro:/root# wget http://roirc.ro/download/pgtcl1.5.tar.gz

roirc.ro:/root# tar -zxvf pgtcl1.5.tar.gz

roirc.ro:/root# cd pgtcl1.5

roirc.ro:/root/pgtcl1.5# export PG_CONFIG=/usr/local/pgsql/bin/pg_config

roirc.ro:/root/pgtcl1.5# ./configure --with-tcl=/usr/lib/ --prefix=/usr/local/pgsql --exec-prefix=/usr/local/pgsql --with-postgres-lib=/usr/local/pgsql/lib

roirc.ro:/root/pgtcl1.5# gmake

roirc.ro:/root/pgtcl1.5# cd generic

roirc.ro:/root/pgtcl1.5/generic# nano pgtclAppInit.c

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

Press : Exit command : Ctrl+x and buton to Enter to save

roirc.ro:/root/pgtcl1.5/generic# cd ..

roirc.ro:/root/pgtcl1.5# gmake pgtclsh

roirc.ro:/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

roirc.ro:/root/pgtcl1.5# mv pgtclsh /usr/local/pgsql/bin

roirc.ro:/root/pgtcl1.5# mv libpgtcl1.5.so /usr/local/pgsql/lib

roirc.ro:/root/pgtcl1.5# updatedb

roirc.ro:/root/pgtcl1.5# ldconfig

roirc.ro:/root/pgtcl1.5# cd ..

roirc.ro:/root# mkdir /usr/local/pgsql/data

roirc.ro:/root# chown gnuworld /usr/local/pgsql/data

roirc.ro:/root# su - gnuworld

roirc.ro:/home/gnuworld$ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data

roirc.ro:/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

roirc.ro:/home/gnuworld$ exit

Configure APACHE and PHP

roirc.ro:/root# sudo apt-get install apache2 (for ubuntu)

roirc.ro:/root# yum -y install httpd (for centos / fedora)

roirc.ro:/root# sudo apt-get install php5-curl php5-gd php5-dev php5-pgsql /

roirc.ro:/root# yum -y install php-curl php-gd php-dev php-pgsql

roirc.ro:/root# sudo apt-get install libpqxx-3.0 libpqxx3-dev libpqxx-dev

roirc.ro:/root# sudo apt-get install libpqxx-3.0 libpqxx3-dev

roirc.ro:/root# sudo apt-get install mysql-server mysql-client

roirc.ro:/root# sudo apt-get install apache2 php5 php5-fpm

roirc.ro:/root# sudo apt-get install curl libcurl3 libcurl3-dev php5-curl curl-ssl php5-gd

roirc.ro:/root# sudo apt-get install libapache2-mod-php5

roirc.ro:/root# sudo apt-get install php5-mysql php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl

roirc.ro:/root#> /etc/init.d/apache2 restart

Install GNUWorld - version : 2.2 by EasyE (UNOFFICIAL)

Cod: install Gnuworld

roirc.ro:/root# su - gnuworld

roirc.ro:/gnuworld# wget http://roirc.ro/download/gnuworld.tar.gz

roirc.ro:/gnuworld# mv gnuworld-enhanced/ gnuworld

roirc.ro:/gnuworld# wget http://roirc.ro/download/website.tgz

roirc.ro:/gnuworld# cd gnuworld

roirc.ro:/gnuworld/gnuworld# ./configure --enable-modules=ccontrol,cservice,dronescan,openchanfix,scanner,snoop,stats --with-pgsql-home=/usr/local/pgsql --with-extra-includes=/usr/include/postgresql/

roirc.ro:/gnuworld/gnuworld# gmake && gmake install

roirc.ro:/gnuworld/gnuworld# cd doc

roirc.ro:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/createdb cservice

roirc.ro:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/createlang plpgsql cservice

roirc.ro:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql cservice < cservice.sql

roirc.ro:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql cservice < cservice.config.sql

roirc.ro:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql cservice < languages.sql

roirc.ro:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql cservice < language_table.sql

roirc.ro:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql cservice < greeting.sql

roirc.ro:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql cservice < cservice.help.sql

roirc.ro:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql cservice < cservice.web.sql

roirc.ro:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/createdb local_db

roirc.ro:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql local_db < local_db.sql

roirc.ro:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql cservice < cservice.addme.sql

roirc.ro:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/createdb ccontrol

roirc.ro:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql ccontrol < ccontrol.sql

roirc.ro:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql ccontrol < ccontrol.help.sql

roirc.ro:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql ccontrol < ccontrol.addme.sql

roirc.ro:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql ccontrol < ccontrol.commands.sql

roirc.ro:/gnuworld/gnuworld/doc$ cd ..

roirc.ro:/gnuworld/gnuworld$ /usr/local/pgsql/bin/createdb chanfix

roirc.ro:/gnuworld/gnuworld$ cd mod.openchanfix/doc

roirc.ro:/gnuworld/gnuworld/mod.chanfix/doc$ /usr/local/pgsql/bin/psql chanfix < chanfix.sql

roirc.ro:/gnuworld/gnuworld/mod.chanfix/doc$ /usr/local/pgsql/bin/psql chanfix < chanfix.languages.sql

roirc.ro:/gnuworld/gnuworld/mod.chanfix/doc$ /usr/local/pgsql/bin/psql chanfix < chanfix.language.english.sql

roirc.ro:/gnuworld/gnuworld/mod.chanfix/doc$ /usr/local/pgsql/bin/psql chanfix < chanfix.help.sql

roirc.ro:/gnuworld/gnuworld/mod.chanfix/doc$ /usr/local/pgsql/bin/psql chanfix < chanfix.addme.sql

roirc.ro:/gnuworld/gnuworld/mod.chanfix/doc$ cd ..

roirc.ro:/gnuworld/gnuworld/mod.chanfix$ cd ..

roirc.ro:/gnuworld/gnuworld$ cd doc

roirc.ro:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/createdb dronescan

roirc.ro:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/psql dronescan < dronescan.sql

roirc.ro:/gnuworld/gnuworld/doc$ cd nickserv

roirc.ro:/gnuworld/gnuworld/doc$ /usr/local/pgsql/bin/createdb nickserv

roirc.ro:/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

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

CTRL + A + D = out of screen

The result :

For login to X type next command :

/msg X@services.servername.org login Admin temPass

-X- AUTHENTICATION SUCCESSFULL AS Admin!

Now we have a little and we will be done

roirc.ro:/gnuworld# tar -zvxf website.tgz

roirc.ro:/gnuworld# cd website/php_includes

roirc.ro:/gnuworld/website/php_includes# nano config.inc

Here we have the config.inc file, which we can freely edit in the way we want it,

but you must NOT forget to add // at the begining of the following line :

//die("

Error: Edit website/php_includes/config.inc file !

");

Press : Exit command : Ctrl+x and buton to Enter to save

From the last command we are in here :

roirc.ro:/home/gnuworld/gnuworld$ exit

roirc.ro:/root# cd /var/www

roirc.ro:/var/www# chmod 711 ~gnuworld

roirc.ro:/var/www# chmod 711 ~gnuworld/website

roirc.ro:/var/www# chmod 755 ~gnuworld/website/php_includes

roirc.ro:/var/www# chmod 644 ~gnuworld/website/php_includes/config.inc

roirc.ro:/var/www# chmod 755 ~gnuworld/website/docs/gnuworld/

roirc.ro:/var/www# ln -s /home/gnuworld/website/docs/gnuworld live

http://localhost/live sau http://127.0.0.1/live

roirc.ro:/root# cd /etc/php5/apache2/

roirc.ro:/root/etc/php5/apache2# nano php.ini

register_global = OFF and u get On

Press : Exit command : Ctrl+x and buton to Enter to save

roirc.ro:/root/etc/php5/apache2# cd ..

roirc.ro:/root/etc/php5/# cd cli

roirc.ro:/root/etc/php5/cli# nano php.ini

register_global = OFF and u get On

Press : Exit command : Ctrl+x and buton to Enter to save

roirc.ro:/root/etc/php5/cli# cd

roirc.ro:/root# /etc/init.d/apache2 restart

http://localhost/live sau http://127.0.0.1/live

roirc.ro:/root# sudo apt-get install sendmail

INfo forms Help easye@roirc.ro

Databaze backup save:

roirc.ro:/gnuworld# /usr/local/pgsql/bin/pg_dump cservice > cservice-2015.01.01.sql

roirc.ro:/gnuworld# /usr/local/pgsql/bin/pg_dump ccontrol > ccontrol-2015.01.01.sql

roirc.ro:/gnuworld# /usr/local/pgsql/bin/pg_dump chanfix > chanfix-2015.01.01.sql

Databaze back

Save databaze back to shell: INSTALL BACK

roirc.ro:/gnuworld# /usr/local/pgsql/bin/dropdb cservice

roirc.ro:/gnuworld# /usr/local/pgsql/bin/dropdb ccontrol

roirc.ro:/gnuworld# /usr/local/pgsql/bin/dropdb chanfix

roirc.ro:/gnuworld# /usr/local/pgsql/bin/createdb --template=template0 -E=SQL_ASCII cservice

roirc.ro:/gnuworld# /usr/local/pgsql/bin/createdb --template=template0 -E=SQL_ASCII ccontrol

roirc.ro:/gnuworld# /usr/local/pgsql/bin/createdb --template=template0 -E=SQL_ASCII chanfix

roirc.ro:/gnuworld# /usr/local/pgsql/bin/psql cservice < cservice-2015.01.01.sql

roirc.ro:/gnuworld# /usr/local/pgsql/bin/psql ccontrol < ccontrol-2015.01.01.sql

roirc.ro:/gnuworld# /usr/local/pgsql/bin/psql chanfix < chanfix-2015.01.01.sql

user modific: 1000

cd ~/gnuworld/doc/cmaster/maint/

chmod +x *.sh

./Manager1K.sh

Daca nu va descurcati ne vedem pe Blog s`au pe Forum.