Instalare Verlihub - Slackware

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Cos de Gunoi -> Trash
Author Message
Hidden

[Very Important Person]



Status: Offline
(since 25-01-2009 22:13)
Joined: 15 Nov 2006
Posts: 3391, Topics: 172
Location: Universul meu interior

Reputation: 440.7
Votes: 48

Post Posted: 26-03-2007, 15:11:18 | Translate post to: ... (Click for more languages)

1. Pachete necesare
1.1 - MySQL
1.2 - pcre
1.3 - GeoIP
2. download
3. compilare
3.1 - compilare & instalare
3.2 - numai compilare
4. configurare si startare verlihub
4.1 - ca daemon
4.2 - normal


1. Pachete necesare

Pentru a putea compial verlihub aveti nevoie de

1.1 MySQL

Daca nu aveti instalat MySQL, puteti downloada de la http://www.linuxpackages.net o versiune de MySQL, instaland-o cu pkgtool , sau pkginstall

1.2 pcre

Distributia slackware vine cu acest pachet din default, daca nu il aveti puteti downloada de la http://www.linuxpackages.net o versiune de pcre, instaland-o cu pkgtool , sau pkginstall.

1.3 GeoIP

Pentru a downloada GeoIP:
Code:

wget http://opensys.linuxpackages.net/Slackware-10.0/Console/geoip/geoip-1.3.6-i486-2dst.tgz


instalarea se va face cu comanda:
Code:

installpkg geoip-1.3.6-i486-2dst.tgz


2. Download verlihub

De la aceasta adresa puteti downloada verlihub : http://sourceforge.net/projects/verlihub/ , sau o puteti lua si prin cvs , cu comenzile:
Code:

            cvs -z1 -d:pserver:anonymous@cvs.sf.net:/cvsroot/verlihub login
            cvs -z1 -d:pserver:anonymous@cvs.sf.net:/cvsroot/verlihub co verlihub


In caz ca cere o parola , apasati enter, deoarece nu exista nici o parola.

Prima comanda va returna:
Code:

root@pc02:~# cvs -z1 -d:pserver:anonymous@cvs.sf.net:/cvsroot/verlihub login
Logging in to :pserver:anonymous@cvs.sf.net:2401/cvsroot/verlihub
CVS password:
cvs login: warning: failed to open /root/.cvspass for reading: No such file or directory


A 2-a:
Code:

root@pc02:~# cvs -z1 -d:pserver:anonymous@cvs.sf.net:/cvsroot/verlihub co verlihub
cvs checkout: Updating verlihub
U verlihub/AUTHORS
U verlihub/BUGS
U verlihub/COPYING
U verlihub/ChangeLog
U verlihub/INSTALL
U verlihub/LuaPlugin.dev
U verlihub/Makefile.am
U verlihub/Makefile.cvs
U verlihub/Makefile.in
U verlihub/Makefile.win
U verlihub/NEWS
U verlihub/README
U verlihub/TODO
U verlihub/acinclude.m4
U verlihub/aclocal.m4
U verlihub/config.guess
U verlihub/config.h.in
U verlihub/config.sub
U verlihub/config_geoip
U verlihub/configure
U verlihub/configure.in
U verlihub/depcomp
U verlihub/install-sh
U verlihub/ltconfig
U verlihub/ltmain.sh
U verlihub/missing
U verlihub/mkinstalldirs
U verlihub/noapos
U verlihub/noapos_mysql
U verlihub/noapos_pcre
U verlihub/stamp-h
U verlihub/stamp-h.in
U verlihub/verlihub.dev
U verlihub/verlihub.dsp
U verlihub/verlihub.dsw
U verlihub/verlihub.spec.in
U verlihub/verlihub_config.in
U verlihub/verlihubdll.dev
cvs checkout: Updating verlihub/docs
U verlihub/docs/.cvsignore
U verlihub/docs/Makefile.am
U verlihub/docs/Makefile.in
U verlihub/docs/WIN_INSTALL.txt
U verlihub/docs/ascii
U verlihub/docs/configuring.txt
U verlihub/docs/features.html
U verlihub/docs/help
U verlihub/docs/help.html
U verlihub/docs/help.sql
U verlihub/docs/params.php
U verlihub/docs/plugins_devel.html
U verlihub/docs/protocol.dia
U verlihub/docs/setuphelp.sql
U verlihub/docs/using.txt
U verlihub/docs/verlihub.html
cvs checkout: Updating verlihub/docs/html_docs
cvs checkout: Updating verlihub/docs/html_manual
U verlihub/docs/html_manual/verlihub.css
U verlihub/docs/html_manual/verlihub_manual.html
cvs checkout: Updating verlihub/docs/pdf_manual
U verlihub/docs/pdf_manual/verlihub_manual.pdf
cvs checkout: Updating verlihub/html_docs
cvs checkout: Updating verlihub/html_docs/verlihub_files
cvs checkout: Updating verlihub/lib
U verlihub/lib/Makefile.am
U verlihub/lib/Makefile.in
U verlihub/lib/libverlihub.cpp
cvs checkout: Updating verlihub/plugins
U verlihub/plugins/Makefile.am
U verlihub/plugins/Makefile.in
cvs checkout: Updating verlihub/plugins/diakritika
U verlihub/plugins/diakritika/Makefile.am
U verlihub/plugins/diakritika/Makefile.in
U verlihub/plugins/diakritika/README
U verlihub/plugins/diakritika/cdiacfg.cpp
U verlihub/plugins/diakritika/cdiacfg.h
U verlihub/plugins/diakritika/cpidia.cpp
U verlihub/plugins/diakritika/cpidia.h
cvs checkout: Updating verlihub/plugins/hublink
cvs checkout: Updating verlihub/plugins/lua
U verlihub/plugins/lua/cLua.h
U verlihub/plugins/lua/dll.h
U verlihub/plugins/lua/dllmain.cpp
cvs checkout: Updating verlihub/plugins/perl
cvs checkout: Updating verlihub/plugins/perl/docs
cvs checkout: Updating verlihub/plugins/plugman
U verlihub/plugins/plugman/Makefile.am
U verlihub/plugins/plugman/Makefile.in
U verlihub/plugins/plugman/cconsole.cpp
U verlihub/plugins/plugman/cconsole.h
U verlihub/plugins/plugman/cpiplug.cpp
U verlihub/plugins/plugman/cpiplug.h
U verlihub/plugins/plugman/cplugs.cpp
U verlihub/plugins/plugman/cplugs.h
cvs checkout: Updating verlihub/plugins/test
U verlihub/plugins/test/Makefile.am
U verlihub/plugins/test/Makefile.in
U verlihub/plugins/test/cpitest.cpp
U verlihub/plugins/test/cpitest.h
cvs checkout: Updating verlihub/scripts
U verlihub/scripts/Makefile.am
U verlihub/scripts/Makefile.in
U verlihub/scripts/ccgraph
U verlihub/scripts/import_reglist_0.9.x_to_0.9.7.sql
U verlihub/scripts/odch2vh
U verlihub/scripts/regpinger
U verlihub/scripts/runhub
U verlihub/scripts/vh_getcfg.in
U verlihub/scripts/vh_getdb.in
U verlihub/scripts/vh_install.in
U verlihub/scripts/vh_regnick.in
U verlihub/scripts/vh_restart.in
U verlihub/scripts/vh_runhub.in
U verlihub/scripts/vh_setup.in
U verlihub/scripts/vh_trigger.in
cvs checkout: Updating verlihub/scripts/def_config
cvs checkout: Updating verlihub/share
U verlihub/share/Makefile.in
cvs checkout: Updating verlihub/share/config
U verlihub/share/config/faq
U verlihub/share/config/help_admin
U verlihub/share/config/help_cheef
U verlihub/share/config/help_master
U verlihub/share/config/help_op
U verlihub/share/config/help_reg
U verlihub/share/config/help_usr
U verlihub/share/config/help_vip
U verlihub/share/config/motd
U verlihub/share/config/rules
cvs checkout: Updating verlihub/share/sql
U verlihub/share/sql/default_conn_types.sql
U verlihub/share/sql/default_dc_clients.sql
U verlihub/share/sql/default_file_trigger.sql
U verlihub/share/sql/default_pi_plug.sql
U verlihub/share/sql/default_pi_plug.sql.in
U verlihub/share/sql/default_reglist.sql
cvs checkout: Updating verlihub/src
U verlihub/src/Makefile.am
U verlihub/src/Makefile.in
U verlihub/src/cantiflood.cpp
U verlihub/src/cantiflood.h
U verlihub/src/casyncconn.cpp
U verlihub/src/casyncconn.h
U verlihub/src/casyncsocketserver.cpp
U verlihub/src/casyncsocketserver.h
U verlihub/src/cban.cpp
U verlihub/src/cban.h
U verlihub/src/cbanlist.cpp
U verlihub/src/cbanlist.h
U verlihub/src/cbanlist_interface.h
U verlihub/src/ccallbacklist.cpp
U verlihub/src/ccallbacklist.h
U verlihub/src/cchatconsole.cpp
U verlihub/src/cchatconsole.h
U verlihub/src/ccmdr.cpp
U verlihub/src/ccmdr.h
U verlihub/src/ccommand.cpp
U verlihub/src/ccommand.h
U verlihub/src/cconfigbase.cpp
U verlihub/src/cconfigbase.h
U verlihub/src/cconfigfile.cpp
U verlihub/src/cconfigfile.h
U verlihub/src/cconfigitembase.cpp
U verlihub/src/cconfigitembase.h
U verlihub/src/cconfmysql.cpp
U verlihub/src/cconfmysql.h
U verlihub/src/cconnbase.h
U verlihub/src/cconnchoose.cpp
U verlihub/src/cconnchoose.h
U verlihub/src/cconndc.cpp
U verlihub/src/cconndc.h
U verlihub/src/cconnpoll.cpp
U verlihub/src/cconnpoll.h
U verlihub/src/cconnselect.cpp
U verlihub/src/cconnselect.h
U verlihub/src/cconntypes.cpp
U verlihub/src/cconntypes.h
U verlihub/src/cdbconf.cpp
U verlihub/src/cdbconf.h
U verlihub/src/cdcclients.cpp
U verlihub/src/cdcclients.h
U verlihub/src/cdccommand.cpp
U verlihub/src/cdccommand.h
U verlihub/src/cdcconf.cpp
U verlihub/src/cdcconf.h
U verlihub/src/cdcconsole.cpp
U verlihub/src/cdcconsole.h
U verlihub/src/cdcproto.cpp
U verlihub/src/cdcproto.h
U verlihub/src/cdctag.cpp
U verlihub/src/cdctag.h
U verlihub/src/cfreqlimiter.cpp
U verlihub/src/cfreqlimiter.h
U verlihub/src/cgeoip.cpp
U verlihub/src/cgeoip.h
U verlihub/src/cinfoserver.cpp
U verlihub/src/cinfoserver.h
U verlihub/src/cinterpolexp.cpp
U verlihub/src/cinterpolexp.h
U verlihub/src/ckick.cpp
U verlihub/src/ckick.h
U verlihub/src/ckicklist.cpp
U verlihub/src/ckicklist.h
U verlihub/src/cmeanfrequency.cpp
U verlihub/src/cmeanfrequency.h
U verlihub/src/cmessagedc.cpp
U verlihub/src/cmessagedc.h
U verlihub/src/cmutex.cpp
U verlihub/src/cmutex.h
U verlihub/src/cmysql.cpp
U verlihub/src/cmysql.h
U verlihub/src/cobj.cpp
U verlihub/src/cobj.h
U verlihub/src/coperator.cpp
U verlihub/src/coperator.h
U verlihub/src/cpcre.cpp
U verlihub/src/cpcre.h
U verlihub/src/cpenaltylist.cpp
U verlihub/src/cpenaltylist.h
U verlihub/src/cpluginbase.cpp
U verlihub/src/cpluginbase.h
U verlihub/src/cpluginloader.cpp
U verlihub/src/cpluginloader.h
U verlihub/src/cpluginmanager.cpp
U verlihub/src/cpluginmanager.h
U verlihub/src/cprotocol.cpp
U verlihub/src/cprotocol.h
U verlihub/src/cprotocommand.cpp
U verlihub/src/cprotocommand.h
U verlihub/src/cquery.cpp
U verlihub/src/cquery.h
U verlihub/src/creglist.cpp
U verlihub/src/creglist.h
U verlihub/src/creguserinfo.cpp
U verlihub/src/creguserinfo.h
U verlihub/src/cserverdc.cpp
U verlihub/src/cserverdc.h
U verlihub/src/csetuplist.cpp
U verlihub/src/csetuplist.h
U verlihub/src/ctempfunctionbase.cpp
U verlihub/src/ctempfunctionbase.h
U verlihub/src/cthread.cpp
U verlihub/src/cthread.h
U verlihub/src/cthreadwork.cpp
U verlihub/src/cthreadwork.h
U verlihub/src/ctime.cpp
U verlihub/src/ctime.h
U verlihub/src/ctimeout.cpp
U verlihub/src/ctimeout.h
U verlihub/src/ctrigger.cpp
U verlihub/src/ctrigger.h
U verlihub/src/ctriggers.cpp
U verlihub/src/ctriggers.h
U verlihub/src/curr_date_time.h
U verlihub/src/cuser.cpp
U verlihub/src/cuser.h
U verlihub/src/cusercollection.cpp
U verlihub/src/cusercollection.h
U verlihub/src/cvhplugin.cpp
U verlihub/src/cvhplugin.h
U verlihub/src/cvhpluginmgr.cpp
U verlihub/src/cvhpluginmgr.h
U verlihub/src/cworkerthread.cpp
U verlihub/src/cworkerthread.h
U verlihub/src/dll.h
U verlihub/src/dllmain.cpp
U verlihub/src/script_api.cpp
U verlihub/src/script_api.h
U verlihub/src/stringutils.cpp
U verlihub/src/stringutils.h
U verlihub/src/tcache.h
U verlihub/src/tchashlistmap.h
U verlihub/src/thasharray.cpp
U verlihub/src/thasharray.h
U verlihub/src/tlistconsole.h
U verlihub/src/tlistplugin.h
U verlihub/src/tmysqlmemoryhash.h
U verlihub/src/tmysqlmemorylist.h
U verlihub/src/tmysqlmemoryordlist.h
U verlihub/src/tpluginbase.cpp
U verlihub/src/tpluginbase.h
U verlihub/src/verlihub.cpp
cvs checkout: Updating verlihub/templates
U verlihub/templates/cpp
U verlihub/templates/h
root@pc02:~#           


3. compilare

3.1 Pentru a compila si instala verlihub introduceti urmatoarea comanda in directorul in care ati downloadat / dezarhivat verlihub :
Code:

./configure && make && make install


Code:

root@pc02:~# cd verlihub/
root@pc02:~/verlihub# ./configure && make && make install 


3.2 Numai pentru compilare:
Code:

./configure && make


4. configurare si startare verlihub

Pentru a incepe configuarrea verlihubului :

Tastati " ldconfig "

Tastati " /usr/local/bin/vh_install"

Ouputul :
Code:

--------------------------------
 Your name ? (root) [ .. Apasati enter .. ]
 
 Hello root,
 let's start with configuration of database access..
 
 --------------------------------
 mysql database for verlihub will be called? (verlihub) [ .. Numele db verlihubului .. ]
 mysql user to access verlihub gonna be? (verlihub) [ .. Numele userului cu privilegii la acest db .. ]
 password to access verlihub be? (1110079846) [ .. Parola Userului .. ]
 mysql server will run where? (localhost) [ .. Apasati enter .. ]
 --------------------------------
 user = verlihub
 password = 1110079846
 host = localhost
 database = verlihub
 --------------------------------
 This database account cannot be accessed
 --------------------------------
 Is this info correct ? (Y/N)y [ .. Scrieti " y " .. ]
 Do you want to create database now? (Y/N)y [ .. Scrieti "y" .. ]
 --------------------------------
 Ok preparing mysql..
 You probably need administrator access to mysql database
 mysql administrator username? (root) [ .. Apasati enter .. ]
 
 --------------------------------
 
 You'll be now promted by mysql client for password of root@localhost
 Enter password:[ .. Apasati enter daca nu aveti nici o parola, sau scrieti parola daca aveti .. ]
 --------------------------------
 This database account exists
 --------------------------------
 
 --------------------------------
 
 root, you need to choos a place for the configuration files
 --------------------------------
 The order of folder that verlihub is looking for is following:
 
 1 - variable $VERLIHUB_CFG - -inexisting-
 2 - ./.verlihub - /root/verlihub-0.9.8c/scripts/.verlihub -inexisting-
 3 - /root/.verlihub - /root/.verlihub -inexisting-
 4 - /usr/local/etc/verlihub - /usr/local/etc/verlihub -inexisting-
 5 - /etc/verlihub - /etc/verlihub -inexisting-
 if two or more of these exist, lower number has priority
 --------------------------------
 
 --------------------------------
 what is will be the configuration folder ? (/etc/verlihub) [ .. Apasati enter .. ]
 The config folder /etc/verlihub does not exist and would be created
 --------------------------------
 Do you want to continue with these settings (if not then select another folder) ? (Y/N) [ .. Scrieti "y" .. ]
 --------------------------------
 Written: /etc/verlihub/dbconfig
 
 --------------------------------
 
 Wait few seconds..
 ./vh_install: line 63: <PID> Killed $bindir/verlihub 1 >&/dev/null
 --------------------------------
 root, now I will ask you few more questions about your f***ure hub, if you permit..
 
 --------------------------------
 Try to not put many special characters, you'll be able to put some laer
 
 Give me your DC hub master nickname.. ([SU]root) [ .. Scrie nickul tau de admin ..]
 Choose your password.. (1110079846) [ .. Scrie o parola pt. userul tau .. ]
 Which will be default ONE hub port number? (4111) [ .. Alege un port pe care sa functioneze verlihub .. ]
 What will be your hub hostname? [ .. Introdu adresa sau ip`ul serverului .. ]
 Give me the name of your hub (hub of root) [ .. Introdu numele hubului .. ]
 --------------------------------
 Hub:
 url:
 Master user:
 Master's password:
 --------------------------------
 Is this info correct ? (Y/N) [ .. Scrie "y" .. ]
 FYI: settings are going to be created or updated
 /etc/verlihub
 /etc/verlihub
 /etc/verlihub
 will invoke the command
 class is 10
 nick is
 password is
 done


4.1 Pentru rularea hubului ca daemon scrie :

" /usr/local/bin/vh_runhub "

4.2 Pentru rularea hubului in mod normal :

" verlihub "

In format PDF:Aici
In format TEXT:Aici


...va asigur ca greselile ortografice, ortoepice, de punctuatie, morfosintactice si folosirea inadecvata a unitatilor lexico-semantice imi apartin, mi le asum, dar la scoala sa stiti ca tot nu ma duc!

0 0
  
Back to top
View user's profile Send private message

  Topic locked


This forum section is closed, you cannot post any messages in it anymore


 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Cos de Gunoi -> Trash  


The time now is 19-11-2017, 17:57:27
Copyright info

Based on phpBB ro/com

 
 
 





I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x