Tuesday, 6 June 2017

AWS re-attach EBS volume on instance creation

What:

Amazon Web Services - EC2, ECS, EBS

Problem:

You have some data on EBS volume which you don't want to destroy when instance is terminated.

Tuesday, 23 May 2017

AWS ECS run task on a specific EC2 container instance

What:

Amazon Web Services - EC2, ECS

Problem:

You want to run task on a specific ECS (docker host) instance.

Friday, 4 November 2016

Thursday, 21 January 2016

Tuesday, 19 January 2016

Disk space usage reported differently by df and du [Linux]

What:

Linux

Problem:

While checking space on the server, df shows that there is no space left on /var partition, but if you run "du -hs /var/* | sort -h" it only shows 1GB as occupied space.

Tuesday, 5 January 2016

How to configure shared directory with chrooted SFTP

What:

Linux - Red Hat 6, Centos 6

Problem:

2 chrooted users need to share documents via sftp server

Wednesday, 2 December 2015

Rotate custom log files with logrotate

What:

Linux server - Debian, Ubuntu, Red Hat, Centos, SLES

Problem:

Your custom logs are getting out of control, they filling up server drive.

Wednesday, 14 October 2015

Remove file starting with dash [Linux]

What:

Linux

Problem:

You accidentally created file which starts with hyphen "-stubborn_file" and now you can't remove it.

Tuesday, 14 July 2015

Set up music on hold on the Avaya IP Office 500

What:

Avaya IP Office 500v2 & Avaya IP Office Manager v9.1

Problem:

You need to configure on hold music for a client.

Monday, 13 July 2015

Delete specific message from all mailboxes on Exchange 2010 server

What:

Microsoft Windows 2008R2 with Exchange 2010 SP1

Problem:

You have been asked to delete message with subject "Confidential" from all mailboxes in the organization.