Saturday, January 6, 2018
Install Apache,php and Mongo DB drvier
I have installed below package before installing mongo
yum -y install httpd php
yum -y install php-pear.noarch
yum -y install php-devel
yum -y install openssl-devel
Once all dependence is finished run below command.
wget http://pecl.php.net/get/mongo
pecl install mongo-*.tgz
vi /etc/php.in
extension=mongo.so
restart Apache
service httpd restart
Subscribe to:
Post Comments (Atom)
curl and cacert
curl -v --cacert cacert.pem https://www.example/cgi-bin/f ile.xgi -I -X POST
-
Command to Run setcap 'cap_net_bind_service=+ep' /opt/apache/bin/httpd httpd is the custom script i made to run apache.
-
pass header to wget command header = Accept-Encoding: gzip,deflate
-
This is mainly for system that is not connected to internet directly , all you have to do is search for below rpm's download it to your...
No comments:
Post a Comment