Pedroliveira.pt Blog

highcharts.png 0

HighCharts Laravel 5

Laravel 5’s Blade templating engine is awesome. It can be used to directly inject PHP variables into a HTML5 template to display Eloquent ActiveRecord entities right away to the client. Besides this obvious intended...

How to Install Python 2.7.8 on CentOS/RHEL 6.6 0

How to Install Python 2.7.8 on CentOS/RHEL 6.6

Today, I was trying to install node.js on CentOS 6.6 which required Python 2.7, but there are Python 2.4 install which we cann’t remove as other application’s are already using it. This tutorial will...

Convert WAV to MP3 Ubuntu command-line 0

Convert WAV to MP3 Ubuntu command-line

First you’ll need lame; sudo apt-get install lame then navigate to your directory containing the wav file’s and execute; for f in *.wav; do lame -V 1 “$f” “${f%.wav}.mp3″; done Thats it !

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...