Installing VerliHub
Sunday, 18. May 2008, 09:40:13
install the needed packages :
get the latest version, from HERE (latest version when i was writing this was Verlihub 0.9.8-d_RC2) download the "Source archive" and extract it, then go to verlihub subfolder and run :
If you get this message :
Run
. If you get this message
Then download the plugins you need and do the same for each one of them.
after you've finished, run
after that, run vh_runhub to start it up.
now in DC++ you can do the following :
then
now add some lua scripts to the /etc/verlihub/scripts folder and run
to load a script, just run
Repair a bad compile/install
first of all, we must get rid of all the old verlihub data
we need to get rid of the libs and header files from Verlihub. for that, you should do this :
For safety, i reinstall the GCC libraries too, for that do this :
then do the steps for installing it all (just like i said at the begining of the post).
sudo apt-get install build-essential mysql-server libmysqlclient-dev libpcre3-dev geoip-bin libgeoip-dev g++-3.3 liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 luasocket luasocket-dev
get the latest version, from HERE (latest version when i was writing this was Verlihub 0.9.8-d_RC2) download the "Source archive" and extract it, then go to verlihub subfolder and run :
CXX=g++-3.3 ./configure
If you get this message :
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Configure has completed successfully. Now you must run make. If make fails with errors, please consult the forums and see if anyone else has had the same issue. The forums are located here http://www.verlihubforums.com Extensive documentation is also available at the project website which can be found here http://www.verlihub-project.org Please feel free to join and register at the Verlihub suport hub located here dchub://hub.verlihub-project.org:7777 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-then you can compile it.
Run
make, note that this will take some time, so go grab a coffee or something
make[2]: Entering directory `/home/cyberwolf/!KITS/verlihub-0.9.8-d-RC2/share' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/!KITS/verlihub-0.9.8-d-RC2/share' make[2]: Entering directory `/home/!KITS/verlihub-0.9.8-d-RC2' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/home/!KITS/verlihub-0.9.8-d-RC2' make[1]: Leaving directory `/home/!KITS/verlihub-0.9.8-d-RC2'then you can install it with
sudo make install
Then download the plugins you need and do the same for each one of them.
after you've finished, run
sudo vh_installand answer to the questions.
after that, run vh_runhub to start it up.
now in DC++ you can do the following :
!pluglist allwill list all loaded plugins
!lstplugwill list available plugins
!plugin /usr/local/lib/liblua_pi.soto load the LUA plugin
then
!onplug luato start it. if it fails, you could try with
!replug lua
now add some lua scripts to the /etc/verlihub/scripts folder and run
!lualistto see which scripts does the LUA plugin load
to load a script, just run
!luaload /etc/verlihub/scripts/verlimenu.luato load it (in our example it's the verlimenu.lua script)
Repair a bad compile/install
first of all, we must get rid of all the old verlihub data
we need to get rid of the libs and header files from Verlihub. for that, you should do this :
sudo make uninstallfor verlihub and each one of the plugins
For safety, i reinstall the GCC libraries too, for that do this :
sudo apt-get remove build-essential mysql-server libmysqlclient10-dev libpcre3-dev geoip-bin libgeoip-dev g++-3.3 liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 luasocket luasocket-dev --purgeafter that
sudo apt-get autoremove --purge
then do the steps for installing it all (just like i said at the begining of the post).












