If you need to update more than one Ubuntu based Workstation or Server on a regular base, it can save you a good amount of bandwidth if you provide new packages and updates through a local Ubuntu mirror. In this document i write down the steps...
While issuing any yum command if you are experiencing the following error: # yum -y install wget Loaded plugins: fastestmirror, langpacks Existing lock /var/run/yum.pid: another copy is running as pid 13023. Another app is currently holding the yum...
First lets download the VM image from this website. Why use VM images instead of the real CentOS ico? The VirtualBox and VMware images are created in such a way that they are less in size but contains all the standard packages required for instant...
Here is how to set up a cronjob that automatically backs up a MySQL database to a file every hour. Okay, so first we need to create a new script that will be executed via cron: #!/bin/bash YEAR=`date +%Y` MONTH=`date +%m` DAY=`date +%d` HOUR=`date...
Here is a small script that will send you an email when the disk usage rises above the percentage specified by the THRESHOLD variable (90% in the example bellow). If you don’t want to step up to a full monitoring solution such as Nagios...
Here is how to restrict users to send emails to certain domains in the Zimbra mail server. 1. Open file /opt/zimbra/conf/zmconfigd/smtpd_recipient_restrictions.cf and add this line: check_sender_access lmdb:/opt/zimbra/conf/restricted_senders 2...
Installing the Linux operating system is only the first step toward creating a fully functional departmental server or Web site. Almost all computers are now networked in some way to other devices therefore a basic understanding of networking and...
scp – secure copy (remote file copy program) Syntax scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] -S program] [[user@]host1:]file1 [...] [[user@]host2:]file2 -1Forces scp to use protocol...
MTR is a traceroute tool that tests the network connections or path between your physical location and your hosting server.
SWAP memory is used to help RAM, once it can not store any more data. Here is how to modify and increase SWAP memory on Linux.