Pedroliveira.pt Blog

Remove entire line containing string in a file 0

Remove entire line containing string in a file

Remove entire line containing string in a file I need to grep for a particular ‘string’ in a file and remove the entire line where the occurrence of the string is found. I want...

0

NIC teaming on Centos 7

I’ve heard a lot about link aggregation, teaming or bonding but I’ve never tried it. Until now. In this post I will demonstrate how to setup NIC teaming on CentOS 7 virtual host. Setup...

How To Create Postfix Maildir Directory’s Script 0

How To Create Postfix Maildir Directory’s Script

In my work i had to change from Postfix mailbox users to maildir users. Inside the home directory i had about 450 users directory that needed to create the maildir format inside. So i...

3

How To Install Bacula + Postgresql + Reportula

Introduction Bacula is a sophisticated backup solution that can handle local and remote backups by leveraging a client-server model. It has very flexible configuration options that provide complete control over the backup environment. Install...

0

How To Install Virtual Tape Library + Bacula

mhVTL is an open source Virtual Tape Library which emulates standaard tape libraries. This can be usefull when testing backup scenarios or tape handling. Here is how I set it up  on CentOS 6.5. Virtual...

0

Setting Up Logrotate on RedHat Linux

1. Introduction Logrotate is a utility designed for administrators who manage servers producing a high volume of log files to help them save some disk space as well as to avoid a potential risk...