## How to Install verlihub in FeeBSD 10.2
1. Installing sudo & bash
pkg install sudo
pkg install bash
pkg install gettext-0.19.7
2: Updating FreeBSD with
pkg update
pkg upgrade
3: To adduser & set bash as default, shell enter
add user to a sudoers while creating it
adduser
bash as default
chsh -s /usr/local/bin/bash {username}
eg :
chsh -s /usr/local/bin/bash root
chsh -s bash
4 . Installing git & cloning git repo
pkg install git
Where ever you clone ~ home folder
sudo git clone
https://github.com/Verlihub/verlihub.git
5 .Installing rest of the things with pkg install * if you want to search use
pkg search packagename
Note : indicates rest of the files need for installation of verlihub which are mention below
- [x] cmake
- [x] gmake
- [x] gettext (already installed in point number 1 above)
- [x] GeoIP
- [x] MySQL or mariadb after installing there is no password for mysql or mariadb so set it with using command **`mysql_secure_installation`** make root pass and rest yes
Note :- mysql_secure_installation will work once you start mysql/mariadb
with command
sudo service mysql-server start
- [x] PCRE
- [x] Lua >= 5.1 with pkg name lua51
Note : zlib and openssl are there by default in freebsd10.2
Type the following command:
echo 'mysql_enable="YES"' >> /etc/rc.conf
or insert the line
mysql_enable="YES" in sudo nano /etc/rc.conf
6 . Installing Verlihub
cd ~/verlihub/build
create dir with
sudo mkdir build
cd Build
sudo cmake -DUSE_CUSTOM_AUTOSPRINTF=ON -DDEFINE_DEBUG=ON ..
sudo make
sudo make install