Tag: setting

How to config PHP to secure Web Server

There are certain PHP configuration tat affect security features.  The following recommended security configuration options is for production servers. register_globals set to off safe_mode set to off error_reporting set to off disable these functions: system(), exec(), passthru(), shell_exec(), proc_open(), and popen() open_basedir set for both the /tmp directory and [...]
Read More

Gmail Settings for Joomla 3.1.1

I installed Joomla 3.1.1 on a VPS. When I tried to use mass email, no matter what kind of mailer setting I put, I did not receive any email from it. At last I tried SMTP settings with Gmail account. 1) Choose Mailer: SMTP 2) From email: youremail@gmail.com 3) [...]
Read More

Prepare CentOS 6.3 within VirtualBox

For testing purpose, I need a CentOS 6.3. So I download CentOS DVD image. Installed it in VirtualBox as web server. Note: The network of guest system is using bridged, which allow the guest access internet, and also allow the computer in Lan can access the guest system. The [...]
Read More

Setup dual monitor for desktop

I have two monitor. Both are Acer. One is x223w, the other is AL1716. Now I connected both of them to my computer. I have dual monitor working together side by side. Left side is the main monitor, or monitor 1, through DVI port. The right monitor is monitor [...]
Read More

How to enable GBK encoding

The situation is WebPage was made by GBK encoding. GBK is one of the Chinese Encoding. When the browser loading the page, it always return UTF-8. It should be GBK. I checked the head of the webpage. content=”text/html; charset=gb2312″ Different browsers tested. All failed. How to fix this problem [...]
Read More

OpenSSH server Security Top 6

OpenSSH is very popular SSH server. Widely used on different Linux distribution. I used it for many years on my VPS server. It is easy to use, but security is the top issue for any server. Here is the top 6 security settings for Open SSH server. To make [...]
Read More

Disable your WiFi WPS, security vulnerability found

It is a big news yesterday. WiFi WPS security vulnerability found, major router makers affected Wi-Fi Protected Setup (WPS; originally Wi-Fi Simple Config) is a computing standard that attempts to allow easy establishment of a secure wireless home network, but has been shown to easily fall to brute-force attacks. [...]
Read More