友情提示:欢迎光临!本地已启用二维码api网关,地址是https://api.slogra.com

使用supervisor管理hhvm进程

post by rocdk890 / 2016-1-29 16:32 Friday linux技术

  看了网上很多都说hhvm容易宏掉,使网页前台出现502错误,目前我这台vps上还没有发现有出现过这样的情况,但为了以防万一,所以还是给vps装了个supervisor来保证hhvm的正常运行.下面我们来看安装教程.
  系统:centos 6.5(64位)
1.确认python版本
python -V
Python 2.6.6

2.安装setuptools
wget http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg#md5=bfa92100bd772d5a213eedd356d64086
sh setuptools-0.6c11-py2.6.egg

3.安装supervisor...

阅读全文>>

标签: linux 进程 管理 python hhvm supervisor

评论(2) 引用(0) 浏览(3716)

centos6.5 yum安装nginx+hhvm+mariadb环境

post by rocdk890 / 2016-1-27 15:11 Wednesday linux技术

  一直都听说hhvm的性能怎么怎么好,速度怎么怎么快,就想自己也搭建个环境来测试下,在搭建的中途遇到的了各种坑,让我拖到今天才终于把hhvm搭建成功.好了,下面来看教程吧.
  系统:centos 6.5(64位)
1.添加搭建hhvm需要的源
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS6-Base-163.repo
wget -O /etc/yum.repos.d/hop5.repo http://www.hop5.in/yum/el6/hop5.repo
rpm -Uvh http://ftp.riken.jp/Linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
或者
rpm -Uvh http://download.slogra.com/yum-x86_64/epel-release-6-8.noarch.rpm

yum -y install libmcrypt-devel glog-devel jemalloc-devel tbb-devel libdwarf-devel mysql-devel \
libxml2-devel libicu-devel pcre-devel gd-devel boost-devel sqlite-devel pam-devel \
bzip2-devel oniguruma-devel openldap-devel readline-devel libc-client-devel libcap-devel \
libevent-devel libcurl-devel libmemcached-devel

2.安装hhvm...

阅读全文>>

标签: centos yum 安装 install hhvm HipHop mariadb

评论(0) 引用(0) 浏览(3333)