How to configure network card in Red Hat Enterprise Linux, CentOS, Fedora Core from CLI
Posted by admin on September 2, 2010 - (0)
[AD]

How to configure network card in Red Hat Enterprise Linux, CentOS, Fedora Core from CLI
Red hat Linux provides following tools to make changes to Network configuration such as add new card, assign IP address, change DNS server etc.
[a] GUI tool (X Windows required) – system-config-network
[b] Command line text based GUI tool (No X Windows required) – system-config-network
[c] Edit configuration files stored in /etc/sysconfig/network-scripts/ directory.
Following instructions are compatible with
(1) CentOS Linux
(2) Fedora Core Linux
(3) Red Hat Enterprise Linux (RHEL) 3/4/5
Posted in Linux | No Comments »
WP-Optimize Database Cleanup and Optimization Plugin for Wordpress
Posted by admin on July 29, 2010 - (0)
I use wordpress solutions in a day to day basis. Wordpress comes with a very extensible framework that allows you to add comprehensive and powerful functionality to your Blog system. WP-Optimize plugin is written to simplify your daily wordpress works and make it simpler. WP-Optimize is a wordpress 2.7++ database cleanup and optimization tool. It doesn’t require PhpMyAdmin to optimize your database tables. It allows you to remove post revisions, comments in the spam queue, un-approved comments within few clicks. Additionally you can rename any username to another username too. Here are the details.
Hosted at Wordpress Official Plugin Directory
Read the rest of this entry »
Posted in Web Programming | No Comments »
How to disable scripts and styles
Posted by admin on July 29, 2010 - (0)
Many plugins and themes add JavaScript and CSS files to your site. While this alone isn’t necessarily a bad thing, using several plugins that do this can bog down your site with loads of requests for these files.
The good news is that WordPress has a built-in system that allows us to deregister these scripts and styles.
Wait, don’t the plugins require this code? Probably. But, we want to take control of these files and make our sites run faster. Disabling these scripts and styles will allow us to do a few things:
Read the rest of this entry »
Posted in Web Programming | No Comments »
How to Resolve Fatal Error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes)
Posted by admin on May 28, 2010 - (0)
Recently, when either adding new plugins or upgrading plugins in Wordpress, I encountered this error message:
Fatal Error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes)…
This means that Wordpress needs more memory to run a process than the default PHP setting (usually 12M, in some, 32M). For a non-techie guy like me, the error is frustrating, and very alarming.
Before you panic, there are actually simple solutions to this problem that even a non-techie person can do. The first solution is the “standard” or proper way to resolve it, however, it depends whether you have access to the file that needs to be updated. The second one is much easier, a “hack” to a specific Wordpress file, however, you may need to do it again everytime you perform a Wordpress upgrade.
Read the rest of this entry »
Posted in PHP Programming, Web Programming | No Comments »
Unique Text in MySQL Database Text Field
Posted by admin on May 15, 2010 - (10)
Posted by Guest memeber “Dipon”
MySQL Database, Text Field index can’t be selected as Unique. So checking duplicate data insert on text flied, its make resource usage high. For prevent duplicate data insert in text and reduce database usage, also the resource, I have to find alternative solution.
Its so easy. I add a extra field on database like name hash make it VARCHAR (255) and Index give unique. I covert all text in md5(“Your String”) and insert in hash field and original string on text field.
Below is example.
Read the rest of this entry »
Posted in Database | 1 Comment »