centos install opcache code example

Example 1: centos install copmposer

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && php composer-setup.php --install-dir=/usr/local/bin --filename=composer

Example 2: install opam on centos

yum install sqlite-devel fuse fuse-devel libcurl-devel zlib-devel m4
    yum install ocaml ocamldoc ocaml-camlp4-devel
    wget [https://raw.github.com/ocaml/opam/master/shell/opam_installer.sh](https://raw.github.com/ocaml/opam/master/shell/opam_installer.sh) -O - | sh -s /usr/local/bin/
    yum install