Edit DNS from the command line

cd /var/named

Zurb foundation error

diff --git a/template.php b/template.php
index 1d59967..c9a5927 100644
--- a/template.php
+++ b/template.php
@@ -366,7 +366,7 @@ function zurb_foundation_preprocess_field(&$variables) {
// Add class to a specific fields across content types.
switch ($variables['element']['#field_name']) {
case 'body':
- $variables['classes_array'][] = array('body');
+ $variables['classes_array'] = array('body');
break;

Change FTP port

If you are using pure-ftpd, you need to edit /etc/pure-ftpd.conf and change the port below to something other than 21.

Code:

# IP address/port to listen to (default=all IP and port 21).

# Bind 127.0.0.1,21

If you are using protftpd, you need to edit/etc/proftpd.conf and change the port below to something other than 21:

Code:

Port 21

After making the change, you need to restart the FTP server to make the change live:

Code:

/scripts/restartsrv_ftpserver

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

View Modes

Pages

Subscribe to Front page feed