The good thing about cPanel is you can generate your own backup automatically using cPanel API. In this case, we will use PHP to run on schedule to automatically generate backup and transfer via FTP or SCP to another server. This implementation can be done on user level without need to login into cPanel login page.
For cPanel servers, Munin is one of important plugin that need to be enabled in the server. cPanel has provide this plugin to be install with just one click under WHM > cPanel > Manage Plugins > Munin. We can monitor and understand what is going on with our server resources while predicting future problems [...]
One of my developer required PHP SSH2 module to be loaded into the cPanel server. Since this module is not available inside EasyApache, I need to install it separately and integrate to the current configuration that we have build using EasyApache.
1. Download and install libssh2 from this website, http://www.libssh2.org/snapshots/
$ cd /usr/local/src $ [...]
I have been assigned a task by the big boss to do our company’s email migration without any downtime. Downtime in this case is refer to the time when MX record pointing propagates around the world to the new server. It could cause your emails to be sent to the old server, instead of the [...]
Apache Benchmark (aka ab) is a tool to benchmark the HTTP web server. It is recommended to test your web server performance before switch it to production environment. I am using this tools to benchmark and do some stress test to our development server before it goes live.
Make sure you have following points prepared [...]
Whenever you browse a website, you can check the type of web server running by retrieving the response server header. For example, by using this website, http://serverheader.com/header/form.html following server response return for website www.opensource.org :
HTTP/1.1 200 OK Date: Tue, 13 Mar 2012 03:44:54 GMT Server: Apache/2.2.22 (FreeBSD) DAV/2 SVN/1.7.3 mod_ssl/2.2.22 OpenSSL/1.0.0g Set-Cookie: SESSe6df14a6557d381f7820d30df9723b5b=tul1j9kd7mme2r01up3lbq8326; [...]
Cloud storage nowadays has create a trend on storing and accessing data from any where around the world. 2 most popular cloud storage providers are Dropbox and Box.net. In this post, I am going to show you on how to mount Box.net account inside the Linux box. You are required to have a Box.net account, [...]
SELECT 1; #comment SELECT /*comment*/1;
SELECT user(); SELECT system_user();
SELECT user FROM mysql.user;
List Password Hashes
SELECT host, user, password FROM mysql.user;
SELECT grantee, privilege_type, is_grantable FROM information_schema.user_privileges; SELECT host, user, Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv, File_priv, Grant_priv, References_priv, Index_priv, Alter_priv, [...]
I have a situation where there is one critical website under our company server is critically need to be sync to our backup server. Sync means whatever changes happen in master server, it will replicated to slave server. Yes, you can rsync. But, I do not want to schedule the task as cron to sync. [...]
- Steven Spielberg Working on Live-Action Halo Series for Xbox - Wired 21 May 2013
- Road test: 2009 Honda Civic - Driving.ca - driving.ca 21 May 2013
- The New Flickr Is Pretty, but Is It Social? - New York Times (blog) 21 May 2013
- Eminem's publisher sues Facebook - Irish Independent 21 May 2013
- Next generation gaming: Xbox One launch features first glimpse of Call of Duty ... - Mirror.co.uk 21 May 2013