Nice clean responsive base theme

Zurb-foundation

Tags:

Prevent SMTP Port 25 attack

If you want to run on 25 and 587 without starting a second instance of Exim, and assuming you have root WHM access, add this to the first text box in the Exim Advanced Configuration Editor and restart Exim.

daemon_smtp_ports = 25 : 58

File size of a file

ls -lh filename

Find largest Files

du -hsx * | sort -rh | head -10

list open files

lsof / | awk '{if($7 > 1048576) print $7/1048576 "MB" " " $9 " " $1}' | sort -n -u | tail -n 20

Applying patches on Mac OS X

Once you're in the correct folder, run this command using the exact name of the patch file:
$ patch < example.patch
(note: don't type the dollar sign. That's the command line prompt.)

Tags:

Proceed to WorldPay to make your payment button not clicked automatically

diff --git a/commerce_worldpay/commerce_worldpay_bg.module b/commerce_worldpay/commerce_worldpay_bg.module
index 3da1d35..222ebd9 100644
--- a/commerce_worldpay/commerce_worldpay_bg.module
+++ b/commerce_worldpay/commerce_worldpay_bg.module
@@ -579,6 +579,14 @@ function commerce_worldpay_bg_submit_form_submit($payment_method, $pane_form, $p
* @see commerce_worldpay_bg_redirect_form()
*/
function commerce_worldpay_bg_order_form($form, &$form_state, $order, $settings) {
+
+ /**

Restart Apache

service httpd restart

Tags:

Check latest changed files

find username/public_html/ -mmin -[min]

Tags:

swappiness

What is swappiness and how do I change it?

The swappiness parameter controls the tendency of the kernel to move processes out of physical memory and onto the swap disk. Because disks are much slower than RAM, this can lead to slower response times for system and applications if processes are too aggressively moved out of memory.

swappiness can have a value of between 0 and 100

swappiness=0 tells the kernel to avoid swapping processes out of physical memory for as long as possible

Tags:

Crane

nphoto

QTalbums

manet book

Allow address comparison rules to check multiple values in one condition

When setting up shipping I have a need to be able to change flat rate shipping based upon a list of countries or post codes in a country.

Using rules and working with 'Order address component comparison' unless I'm missing something you have to make a separate condition for each country/postcode when it would be much easier to include a list of values in one condition.

daemon

a background process that handles requests for services such as print spooling and file transfers, and is dormant when not required.

Tags:

How to permanently raise ulimit 'open files' and MySQL 'open_files_limit'

The default ulimit (maximum) open files limit is: 1024--Which is very low, especially for a web server environment hosting multiple heavy database driven sites.

This ulimit 'open files' setting is also used by MySQL. MySQL automatically sets its open_files_limit to whatever the system's ulimit is set to--at default will be 1024.

NOTE: MySQL can NOT set it's open_files_limit to anything higher than what is specified under ulimit 'open files'--you can set it lower, but not above the 'open files' limit.

Anyhow...
This is how we raise the ulimit

Tags:

How to fix the OOM killer crashes under Linux

Linux! Linux is great. Linux is Open Source. Any nerd wants to run Linux. But is any part of Linux really that great? This was a good question I wasn’t really able to answer until yesterday. Now I have mixed feelings but understanding the following problem better, gives even a bit more safety, also for my personal life.

Tags:

Omega CSS

The layer structure of the default responsive css files is (from bottom to top): global → default → narrow → normal → wide

How the CSS Files Activate

Knowing this, let's look at those five CSS files again.

global.css: This CSS file always activates. In one sense, it's the "mobile" stylesheet, since it's the only CSS that will activate for a mobile site.

But global.css is also, well, global, since it activates for every width. For instance, if you set a heading font here, the headings will be that font no matter what the size.

Tags:

Altered RPM found on my server !!

Hello Everyone,

I have today received an email from my sever saying that :-

The following RPMs are found to be altered from their original install state:
cpanel-php53-PEAR,1.9.4,3.cp1136,/opt/cpanel/php/53/.registry/pear.reg

Can anybody let me know if i need to be worried about it ?

Please advice.

Thank you

Reply With Quote Reply With Quote
12-10-2013, 01:57 PM #2
cPanelMichael
cPanelMichael is offline
cPanel Staff cPanelMichael's Avatar

CKEditor Bug

config.allowedContent = true;

PDO::__construct(): The server requested authentication method unknown to the client [mysql_old_password]

Followed instructions above from Zarevac.

I only had one SQL user for that that SQL database.
I deleted the SQL user.
Re-created user – with same name and password
[Got that information from \sites\default\settings.php file]
Assigned SQL user to the database.

Everything was back to normal.

procssor

Pretty CSS

Tags:

Gauntlet Node - Portable Wireless Enclosure

Overview

Enlarge Image
Enlarge Image

The Wireless Advantage

Tags:

ink.co.uk “Special Printhead Cleaning Solution” to revive a blocked print head.

Reviving my Canon iX4000

AKA: Using ink.co.uk “Special Printhead Cleaning Solution” to revive a blocked print head.

First, a bit of background:

My Canon iX4000 A3 inkjet printer is now about 4 years old, I was very pleased with the printer when I first got it but over the last year I’ve been having problems with poor colour print quality caused by blocked nozzles in the print head. I think the problem started when I didn’t use the printer at all for several months at the end of 2008.

Tags:

"View All" Filter for Isotope Filter

it's written in the Isotope Documentation. Just use '*' or '' as data-option-value:
All

override the module's views-isotope-filter-block.tpl.php template file

Tags:

Frustrating quota error

Everywhere I look for the answer to this I find incomplete threads with no resolution. If cPanel support would like to jump in I will be glad to follow instructions to figure this out.

I've got a Linode VPS running Centos 6.2 and current cPanel Release (WHM 11.30.6 (build 3) CENTOS 6.2 i686 xenpv on server). My cPanel error log is filled with this:

Code:

Tags:

Fix for file system quotas /dev/root symlink breaks

Last Updated on Saturday, 27 April 2013 03:22pm Written by spunky Saturday, 27 April 2013 03:22pm

This is a solution to a confusing problem when performing quota checks on CentOS 6.x using Linode/Xen.

When you try quotacheck you get this error:
Copy Code

root@server [~]# quotacheck -a
quotacheck: Cannot stat() mounted device /dev/root: No such file or directory

In troubleshooting the solution, you should check to see if “/dev/root” exists:
Copy Code

ll /dev/root

Tags:

CSS Content Property

CSS has a property called content. It can only be used with the pseudo elements :after and :before. It is written like a pseudo selector (with the colon), but it's called a pseudo element because it's not actually selecting anything that exists on the page but adding something new to the page. This is what it looks like:

.email-address:before {
content: "Email address: ";
}

With this CSS in place, we could have this HTML:

Tags:

Migrating a magento website

Step 1 - Create a Database

First, you need to create a new MySQL database for your store. Log in to cPanel by following the instructions given in your Account Information email. Then click on the MySQL® Database Wizard icon. Type in a name for your new database (e.g. mystore) and click Next Step (see Figure 1). Now you need to assign a new user to your database. Type in a username and password then click Next Step. Finally, check the All Privileges checkbox and click Next Step to complete the database wizard.

You can now log out of cPanel and continue with the next step.

Import Database using the command line

mysql -u dbusername -p dbname < yoursqlfile.sql

Tags:

Disable Root SSH Login on Linux

One of the biggest security holes you could open on your server is to allow directly logging in as root through ssh, because any cracker can attempt to brute force your root password and potentially get access to your system if they can figure out your password.

It’s much better to have a separate account that you regularly use and simply sudo to root when necessary. Before we begin, you should make sure that you have a regular user account and that you can su or sudo to root from it.

Tags:

How to Create a Tar GZip File from the Command Line

You’re probably familiar with making your own zip files if you’ve ever needed to transfer a group of files or if you’re managing your own backups outside of Time Machine. Using the GUI zip tools are easy and user friendly, but if you want some more advanced options with better compression you can turn to the command line to make a tar and gzip archive. The syntax will be the same in Mac OS X as it is in Linux.
Creating a Tar GZip Archive Bundle

From the command line (/Applications/Terminal/), use the following syntax:

tar -cvzf tarballname.tar.gz itemtocompress

Tags:

Pages

Subscribe to Front page feed