Home Download Ubuntu

How to install Verlihub on Ubuntu

This method does not work anymore as of Verlihub 0.9.8e-r2, it's no longer supported. Please click here to read the new tutorial about installing verlihub from source.

Requirements before you attempt to compile Verlihub:
1.gcc version >= 3.2 (gcc –version will tell you the version number)
2.mysql (3.23 or higher)
3.Perl-compatible regular expression library (pcre)
5.Optional: A remote way to administer mysql. PhpMyAdmin is the number one choice

There are 2 types of installation you can perform: compile from the source and use Ubuntu's repositories.

A. Installing from repository:


1.Add verlihub servers to repositories:

Edit repositories:

sudo nano /etc/apt/sources.list

Add the following lines at the end of file:

deb http://www.verlihub-project.org/debian binary/
deb-src http://www.verlihub-project.org/debian source/

2.Update your repositories :
sudo apt-get update

3.Install GeoIp
sudo apt-get install libgeoip1 libgeoip-dev

4.Install Perl-compatible regular expression library (pcre)
sudo apt-get install libpcre3 libpcre3-dev

5.Install MySQL

Installing MySQL tutorial

6.Install Verlihub
sudo apt-get install verlihub

7.Now you need to run the configuration script, which will create your config files and all the needed database tables
sudo vh_install

This script will ask you all kinds of information, it is quite easy. Documentation On Verlihub official website.

8.Automatic start up of Verlihub (create an entry at /etc/init.d)
We create a new file by typing:
sudo nano /etc/init.d/verlihub

Put this text inside that file:
sudo vh_runhub

Of course replace "place_here_your_root_password" with your root password

We exit it and make it executable:

sudo chmod +x /etc/init.d/verlihub

Now we want to update the startup with our new file

sudo update-rc.d verlihub defaults

Starting Verlihub

sudo /etc/init.d/verlihub start

Resources: Verlihub Repository


Гарик said...

Verlihub repository not work!

Speedy Gonzales said...

As i said above, on the first line, the repositories are no longer working. You have to install verlihub from source. there is a link on the first line of this tutorial.

Post a Comment