Archives for Linux - Page 8
Ubuntu – mysql 5.6 – max connections 214
You try to increase your connections to 1000 by editing /etc/ (change max_connections=1000) , but when you login to your database, you can only see your mysql only accept...
Install PHP on Ubuntu 16.04
List all php packages installed: Remove all php package: Add PPA You can install modules too for example Verify your version
Ubuntu – adding startup script
Edit file: / This file will auto run at startup. This file is a bash file, it might be run when all the services is not ready yet,...
Apache DOS attack – CLOSE_WAIT
Our servers recently were crashed due to a large number connections to web (apache) services, we didn’t see anything abnormal on the web. The server will crash when there...
How to check if your PHP support TLS V1.2?
Run this script to see your SSL Version If you want to check your open SSL version? OpenSSL and later supportĀ TLS and TLS...
Upgrade Ubuntu 10.04 to 12.04.1
Ubuntu is quite old, you can’t just upgrade it right away using do-release-upgrade, you should try the following steps: If that’s still doesn’t work, replace /etc/ with...
Override WordPress .htaccess file
RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !^/(file|member|photo) RewriteRule . RewriteRule ^member/(+)/ $1 RewriteRule ^file/(+)/(.+)? $1 RewriteRule ^photo/(+)/(+)/(.+)? $1&ref_id=$2&photo=1