Linux technical support - [email protected]


pinba client installation in Centos 7

# FOR TEST PERPOSES DISABLE SELINUX AND FIREWALL

# PINBA SENDER CONFIGURATION

[sender]# cat /etc/yum.repos.d/remi.repo
[remi]
name=Remi
baseurl=http://rpms.famillecollet.com/enterprise/7/remi/x86_64/
enabled=1
gpgcheck=0

[sender]# yum install -y php55-php-devel php55-php php55-php-fpm php55-php-pdo php55-php-mysqlnd php55-php-pecl-apcu wget \
glibc glibc-common mpfr libmpc cpp libgomp kernel-headers glibc-headers glibc-devel gcc libstdc++-devel \
gcc-c++ libevent libevent-devel Judy Judy-devel

[sender]# systemctl enable php55-php-fpm

[sender]# git clone https://github.com/tony2001/pinba_extension.git

[sender]# cd pinba_extension/

[sender]# /opt/remi/php55/root/bin/phpize

[sender]# ./configure --enable-pinba --with-php-config=/opt/remi/php55/root/bin/php-config

[sender]# make

[sender]# make install

[sender]# ll /opt/remi/php55/root/usr/lib64/php/modules/

[sender]# vim /opt/php-5.5/lib/php.ini

# ADD THIS LINES
extension=pinba.so
pinba.enabled=1
pinba.server=receiver:30002

[sender]# systemctl restart php55-php-fpm

[sender]# yum install -y nginx; systemctl start nginx

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>