All posts by Web Monkey

L

Linux sub directory size info

Need to know the exact size of your subdirectories in Linux? Just go to the directory , like cd / and try this du -cksh *  

E

Easyapache failing on CentOS server

Had an issue with one on our CentOS cPanel servers running 64 bit and cPanels easyapache upgrade. The folks at cPanel helped out with their usual professional response

H

How to find MAC address in CentOS

Open SSH and type the following and press Enter: /sbin/ifconfig | grep -i hwaddr The sequence of hexadecimal digits that appears to the right of eth0 HWAddr (e.g. 08:00:27:ED:DA:8b) is your network card’s MAC Address

c

cPanel – Manually back up and transfer an account via SSH

Sometime accounts are to big to transfer via the WHM transfer feature. Below you can find some steps to do so manually Log into your server and create a cPanel backup for the account /scripts/pkgacct

P

Problems with CenotOS5 – cPanel and BIND

If you have issues with cPanel running CentOS5 with BIND then the easiest way is to downgrade BIND to 9.2.4 The reason you’re having trouble is because CentOS 5 uses bind-9.3 and CentOS 4 uses

k

kernel yum upgrade

check what kernel you are running at the moment uname -a and to upgrade your kernel yum update \kernel* check if your kernel is added to grub cat /boot/grub/grub.conf and then reboot shutdown -rf now

I

Installing SSH public key for extra security on your Linux server

Log into SSH mkdir $HOME/.ssh chmod -R og= $HOME/.ssh cd .ssh nano authorized_keys2 Add your key you created with PuttyGen , make absolutly sure you r key is in one line ONLY , otherwise it

I

Installing and configuring Windows CDP Agents

R1Soft CDP is a easy to install and use continous data protection system, primarily targeted at the hosting market. It backups up multiple servers to a central backup server; multiple backup windows can be performed

R

Recover broken systems with SystemRescueCD

SystemRescueCD is a powerful, expansive live cd which is useful for recovering broken systems. This tutorial will guide you through how to get it up and running and how to perform some basic recovery procedures.

I

Installing and configuring Linux CDP Agents

R1Soft CDP is a easy to install and use continous data protection system, primarily targeted at the hosting market. It backups up multiple servers to a central backup server; multiple backup windows can be performed

P

Preparing server for bare metal restore using R1Soft Live Rescue CD

Follow these steps to prepare a Linux or Windows server backup system, prodced by R1Soft,   for a bare metal restore. 1. Put the R1Soft Live Rescue CD into the machine you are going to

I

Installing Cacti

Server monitoring is one of the most important aspects of managing a network. Cacti is a free PHP/MySQL script which can monitor everything from process counts to bandwidth, and is fairly easy to setup and

I

Installing Webmin

While the big control panel suites you can install, like cPanel or Plesk, are excellent for large scale deployments or easy system administration, sometimes you just want an interface to quickly carry out complex tasks,

Website Language Selection

You will all have visited websites that present their content in more than one language – and they allow you to select the language in some way. Right now I’m struggling to find examples, but

H

How to install SSL on a Linux server

This little tutorial is describing how to install a secure server certificate ( SSL ) on your Linux server using shell comands Here’s what to do First the site needs a dedicated IP and if

c

cPanel Name Server Setup

It seems no matter which flavor of linux / unix you are running and which control panel software that setting up custom name servers is always a problem. This How-To will be for installing name

H

How to rebuild the RPM database for Linux Centos 5

Had problems with our RPMs and our sys-admin Tim Hass came up with the perfect answer ! First of all You just need to be sure that no rpm processes are running! Then delete /var/lib/rpm/__db.*

E

Egrep – Helpful linux command reference

While many people use the grep command through a pipe | there are more efficient ways of using it. I have nearly killed a server on many occasions by running cat filename |grep some-term while

DDOS check via number of connections

DDOS check via number of connections A quick and usefull command for checking if a server is under DDOS is That will list the IPs taking the most amount of connections to a server. It

Choosing a JavaScript Framework

I’m working on a new website (one for me, not a client) and I need it to do some fancy visual things (lightboxing of images and HTML content, etc). Because there’s no point in re-inventing