An error occurred while installing mysql2 (0.5.2), and Bundler cannot continue.

Gem files will remain installed in /var/www/discourse/vendor/bundle/ruby/2.5.0/gems/mysql2-0.5.2 for inspection. Results logged to /var/www/discourse/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0-static/mysql2-0.5.2/gem_make.out An error occurred while installing mysql2 (0.5.2), and Bundler cannot continue. Make sure that gem install mysql2 -v ‘0.5.2’ –source ‘https://rubygems.org/‘ succeeds before bundling. In Gemfile: mysql2 I found the best way to solve the problem. I think that you may missing

An error occurred while installing mysql2 (0.5.2), and Bundler cannot continue. Read More »

File ./vendor/autoload.php missing or not readable. in centminmod phpMyAdmin

After installed the phpMyAdmin in centminmod, I saw this error message. File ./vendor/autoload.php missing or not readable. Most likely you did not run Composer to install library files. I like to fix it manually and access to my server shell and run these command. [code lang="shell"] cd /usr/local/nginx/html/1111_mysqladmin12345 git pull rm -rf composer.phar wget -cnv

File ./vendor/autoload.php missing or not readable. in centminmod phpMyAdmin Read More »

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 »