2016

Install Tinyproxy on Centos 7

Tinyproxy is a light-weight HTTP/HTTPS proxy daemon for POSIX operating systems. Designed from the ground up to be fast and yet small, it is an ideal solution for use cases such as embedded deployments where a full featured HTTP proxy is required, but the system resources for a larger proxy are unavailable. yum install -y epel-release yum update -y yum -y install tinyproxy yum install vim -y vim /etc/tinyproxy/tinyproxy.conf Search for Port 8888 Then Search for: Allow xxx.xxx.xxx.xxx If you want[…]

Install Tinyproxy on Centos 7 Read More »

ERROR: failed to ptrace(PEEKDATA) pid 17402: Input/output error (5)

You may found this error from your php-fpm and the php-fpm crash [code lang="shell"] tail /var/log/php-fpm/error.log [15-May-2016 12:24:13] ERROR: failed to ptrace(PEEKDATA) pid 17402: Input/output error (5) [15-May-2016 12:24:13] ERROR: failed to ptrace(PEEKDATA) pid 17777: Input/output error (5) [15-May-2016 12:24:13] ERROR: failed to ptrace(PEEKDATA) pid 18886: Input/output error (5) [15-May-2016 12:25:53] ERROR: failed to ptrace(PEEKDATA)

ERROR: failed to ptrace(PEEKDATA) pid 17402: Input/output error (5) Read More »

lazy-result.js ReferenceError: Promise is not defined

[code lang="javascript"] node_modules/postcss/lib/lazy-result.js:157 this.processing = new Promise(function (resolve, reject) { ^ ReferenceError: Promise is not defined [/code] When I install the FoundationPress, after I run gulp build I saw this message, this is because the node version problem. the have mention in this post https://github.com/postcss/postcss-nested/issues/30 Solution [code lang="shell"] vim node_modules/postcss/lib/lazy-result.js [/code] Put this to the

lazy-result.js ReferenceError: Promise is not defined Read More »

How to Install MongoDB 3.2 on CentOS 7

[code lang="shell"] vim /etc/yum.repos.d/mongodb.repo [/code] Paste this to the file and save using :wq [code lang="shell"] [MongoDB] name=MongoDB Repository baseurl=http://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.2/x86_64/ gpgcheck=0 enabled=1 [/code] Download and install mongodb using yum [code lang="shell"] yum install mongodb-org -y [/code] Start mongod and configure auto start while system boot [code lang="shell"] /etc/init.d/mongod restart chkconfig mongod on [/code] Check all

How to Install MongoDB 3.2 on CentOS 7 Read More »