-
Notifications
You must be signed in to change notification settings - Fork 17
Installation
Here you can find step-by-step procedure how to install Verlihub from source code.
First of all, you need to get the source for Verlihub from the releases page of this site. Download the archive and save it in a folder of your file system, for example your /home folder or /root folder.
Then use the following command to extract all files:
tar zxvf verlihub-x.x.x.x.tar.gz
x.x.x.x indicates the selected version of Verlihub. This will extract the source in your own folder.
Option -z will filter the archive through gzip, option -x will extract all files, option -v will list verbosely processed files and option -f will use specified archive file.
There are some required libraries and programs that need to be installed before you attempt to compile Verlihub. Each Linux distribution has its own package management system and we provide base steps to install all dependencies with package management system. These are the required dependencies:
- GCC >= 4.8.0 (use gcc --version to get the version number)
Required - CMake >= 3.16
Required - MySQL >= 5.7.1 or MariaDB >= 10
Required - OpenSSL >= 1.1.0
Required - LibICU >= 55.0
Required - Make
Required - ZLib
Required - PCRE
Required - GetText
Required - MaxMindDB
Required - LibIntl
Required - Crypt
Required - Threads
Required - DL
Required - Lua >= 5.2 (for Lua plugin)
Optional
The following dependencies are required for some BSD installations:
- LibExecInfo
Required - LibGCrypt
Required for BSD and Darwin - Bash
Required
The following dependencies are required use of vh_gui:
- Dialog
Optional
Remember that some packages are required to compile Verlihub core. Other libraries are for plugins that get compiled with the core.
In the following paragraphs it will explained how to install dependencies in Gentoo, Debian distributions and in CentOS. If you don't have one of the previous systems, you can use your favorite package manager or compile the libraries from source.
On Gentoo you can use Portage that is the official package management system. First you need to update the Portage package tree before installing any packages:
emerge sync
Then proceed with emerging these packages:
emerge -av cmake dev-db/mysql dev-libs/openssl sys-libs/zlib dev-libs/libpcre dev-libs/libmaxminddb dev-libs/libicu sys-devel/gettext
if you also want to install Lua plugin:
emerge -av dev-lang/lua
Note that some packages maybe already be installed on your system; don't worry you can exclude them for list or make Portage recompile them.
You can now follow overlay manual to install Verlihub on Gentoo with verlihub official overlay.
All distributions based on Debian use apt as package management system. To install Verlihub dependences use:
sudo apt install libpcre3-dev libssl-dev mariadb-server mariadb-client libmariadb-dev g++ libmaxminddb-dev libicu-dev gettext libasprintf-dev make cmake
If you would like to use MySQL instead of MariaDB:
sudo apt install mysql-server mysql-client libmysqlclient-dev
Note: On Debian 11 and later you might need to install default-libmysqlclient-dev or libmariadb-dev-compat package.
If you also want to install Lua plugin:
sudo apt-get install liblua5.2-dev
Note: Make sure you have only one instance of Lua library installed, either using system package manager or from source.
Tested version: 3.21.3
Alpine Linux uses apk as package management system. To install Verlihub dependencies use:
apk add bash ncurses pcre-dev openssl-dev g++ libmaxminddb-dev icu-dev icu-data-full gettext-dev gettext-asprintf make cmake mariadb mariadb-client mariadb-dev libexecinfo-dev
Note: ExecInfo library is no longer supported by newer releases, but could be installed using latest package from older release:
apk add --no-cache --update --repository=https://dl-cdn.alpinelinux.org/alpine/v3.16/main/ libexecinfo-dev
If you also want to install Lua plugin:
apk add lua5.4-dev
CentOS is a RPM based distribution and it uses use yum as package management system. To install Verlihub dependences use:
Minimum MYSQL version is 5.7.1
sudo yum install zlib libmaxminddb libmaxminddb-devel libicu-devel mysql-server mysql mysql-devel \
openssl openssl-devel gettext gettext-devel pcre pcre-devel lua-devel
For other RPM based distribution like RedHat, you can download RPM packages from this links (both): LibMaxMindDB RPM and LibMaxMindDB-devel RPM. Remember to choose the right package for your architecture and also to download the devel package.
To install them (On CentOS) use:
Download the latest epel-release rpm from:
http://dl.fedoraproject.org/pub/epel/7/x86_64/
Install epel-release rpm:
# rpm -Uvh epel-release*rpm
Install libmaxminddb rpm package by:
# yum install libmaxminddb
In case your can't find MaxMindDB for you RPM based distribution you can download the source from here.
To keep up to date MaxMindDB automatically please follow instructions on this page.
pacman -Syu libmaxminddb gettext openssl zlib pcre lua52 base-devel
And mysql. You may need for ArchLinux -DUSE_CUSTOM_AUTOSPRINTF=ON as cmake params.
Now that the prerequisites are installed, there should be no problems building the source. To build the source use:
cd /path/to/source/verlihub
mkdir -p build && cd build
cmake ..
make
This could take some minutes to compile depending on the speed of your processor. Note that all plugins get compiled with Verlihub if their dependencies are satisfied. Anyway you can exclude plugin from compiling if you don't need them by using:
cmake -DWITH_<plugin_name>=OFF ..
If the compilation has completed successfully then install it as super user (root) using:
make install
ldconfig (required only if you get shared libraries not found error)
If the compile did not complete successfully please ask a question from the Git hub issues page.
Do not start the hub yet because you need to setup the hub before the initial start-up.
Now you can start configuring the your hub for the first time reading next chapter.
Copyright © 2006-2026 Verlihub Team
Verlihub menu
- Verlihub Repository
- Wiki Home
- Installation
- Setup and Deployment
- Configuration
- Users
- Connections
- Messages
- Kicks and Bans
- Redirects
- Command List
- Variable List
- How-to
- FAQ's
- Utilities
Verlihub scripts