cPanel/WHM Server imposes a limit on the size of a mysql database that can be imported into phpMyAdmin. The default size is 50MB. The best way to navigate this limitation is to make some tweaks in the WHM interface. Sometimes editing a php.ini file doesn’t make a difference.
Backing Up a VPS cPanel Server to Amazon S3 Bucket
Some webhosts offer remote backup storage at a cost, some do random weekly backups and don’t like to talk about it – but will do a restore on request at a cost. With cheap available cloud service at hand why not shift that back up data totally offsite up to the cloud. Here is a …
Read More
Monitor Apache WebServer Status of your Server from your Browser
To use your browser from a dedicated IP address to see the status of webserver Apache, you can add a directive in the httpd.conf file that uses the mod_status module to allow you to see the Apache Server Status Open your httpd.conf file $ cd /etc/httpd/conf $ vi httpd.conf Add in the below, swapping in …
Read More
Redirect HTTP to HTTPS on Tomcat
You’ve bought your SSL secure certificate and successfully installed on Tomcat with the keytool but how do your redirect the entire site to go HTTPS and redirect any HTTP connection straight over to HTTPS. You need to edit the 2 Tomcat configuration files; server.xml and web.xml and then when edited restart the tomcat service. Open …
Read More
How to Find and Delete Files in Directory Based on Modification Date
How to find and delete files in a Linux directory based on when the file had been modified from a certain amount of days ago – this can be useful for dealing with directories with copious amounts of files like email boxes and log folders. First to see the files modified or created based …
Read More
Fatal error: Allowed memory size of 33554432 bytes exhausted
In WordPress if the error “Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate xxxxx bytes) in /wp-admin/…….” occurs it is a memory error relating to PHP. What has happened is that the allocated memory has been used up. Most hosting providers set this to a low level and when WordPress/ WordPress plugin …
Read More
iNode What You Did Last Summer
How to find out how many inodes you are using on a hard disk or in a directory? Most hosting plans have a limitation on inodes – so you need to know how many and where they are being used if you need to do some slashing. To find the inode limit for your whole …
Read More
Install and configure Apache, MySQL, PHP and phpMyAdmin on OSX 10.8 Mountain Lion
Get your Local Web Development Server Purring on all Fours Getting the AMP stack running on OS X Mountain Lion 10.8 is a little different than is its predecessor OS X 10.7 Lion, here is the lowdown on getting Apache, MySQL, PHP and phpMyAdmin running on the new Apple operating system. (OSX 10.7 AMP guide is …
Read More