-
Notifications
You must be signed in to change notification settings - Fork 3k
Building and installing hhvm on CentOS 7.x
yum update -y
rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
yum install cpp gcc-c++ cmake git psmisc {binutils,boost,jemalloc,numactl}-devel
{ImageMagick,sqlite,tbb,bzip2,openldap,readline,elfutils-libelf,gmp,lz4,pcre}-devel
lib{xslt,event,yaml,vpx,png,zip,icu,mcrypt,memcached,cap,dwarf}-devel
{unixODBC,expat,mariadb}-devel lib{edit,curl,xml2,xslt}-devel
glog-devel oniguruma-devel ocaml gperf enca libjpeg-turbo-devel openssl-devel
mariadb mariadb-server {fribidi,libc-client}-devel inotify-tools make -y
#Install HHVM rpm -Uvh http://mirrors.linuxeye.com/hhvm-repo/7/x86_64/hhvm-3.12.0-1.el7.centos.x86_64.rpm
#Source Install
cd /tmp
git clone https://github.com/facebook/hhvm -b master hhvm --recursive
cd hhvm
We have to run. ./configure
# Okay let's go
cmake .
# Multithreads compiling
make -j$(($(nproc)+1))
# Compiled?
./hphp/hhvm/hhvm --version
# Install it
make install
# Final
hhvm --version