Skip to content

Building and installing hhvm on CentOS 7.x

j113203 edited this page Apr 5, 2016 · 62 revisions

Need to be ran under root priv or you can sudo it

Update your CentOS first

yum update -y

Then you need to get EPEL repositories

rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm

Install some dependencies

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

Clone this wiki locally