Add EBS to Ubuntu EC2 Instance

source: additional info: Since this is a new volume, you need to format the EBS volume (block device) with a file system between step 1 and step 2. So the entire process with your sample mount point is:…

Read More

W: GPG error

- problem: W: GPG error: precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8AB767895ADC2037 - to fix: sudo apt-key adv --keyserver --recv-keys 8AB767895ADC2037

Read More

How to rsync – one way only!

For example you want to rsync "/var/lib/mysql" from "/somefolder/var/lib/mysql", use the following syntax ( for local folders): rsync -avz /somefolder/var/lib/mysql/ /var/lib/mysql (notice the trailing '/' at the end of the source path and the lack of it at the destination path!)…

Read More

Postfix mail queue

To flush queue Traditionally you use the "sendmail -q" command to flush mail queue under Sendmail MTA. Under Postfix MTA, just enter the following command to flush the mail queue: # postfix flush OR # postfix -f To see mail…

Read More
  • 1
  • 2