Monthly Archives: September 2013

Some interesting readings for this weekend


Best Practice: vCPUs per physical core

Compile FFmpeg on Ubuntu, Debian, or Mint

FFmpeg Installation for Ubuntu

How to install all existing media codecs?

OpenVZ on Ubuntu 12.04 (experimental)


Fresh installation of Ubuntu 12.04.3 LTS – fail to login

I was having some troubles trying to make the first login on my Ubuntu Server…

No root, no root password… even the username that i’v created while setting it up wasn’t working… eventually after some 20 times trying it worked….. funny!

Root Password for Ubuntu Fresh Installation? There isn’t.


is the solution.



Does your cpu supports virtualization?

This is how you check it

egrep '(vmx|svm)' --color=always /proc/cpuinfo

If you get vmx (intel) or svm – (amd) it does.

root@digitalwhores:/home# grep --color vmx /proc/cpuinfo
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm rep_good nopl pni vmx cx16 popcnt hypervisor lahf_lm

XEN kernel? try

cat /sys/hypervisor/properties/capabilities


My PowerEdge doesn’t?! f*ck!



VT-x, shows in /proc/cpuinfo as the vmx flag. (grep vmx /proc/cpuinfo)

AKA Vanderpool

See Wikipedia’s article on x86 virtualization, for a list of processors that include it. Continue reading Does your cpu supports virtualization?

ffmpeg 2.0

I’m having problems with avconv, especially exporting the video properties to json

“Failed to set value ‘json’ for option”

I was able to create json files with ffmpeg, but since ubuntu uses avconv and ffmpeg is an aliase of avconv… i’m not able to create json files…. be struggling with it for 4 days.

This is how I’v installed FFMPEG 2.0 on my Ubuntu 13.

$ wget -c
$ tar -xzvf ffmpeg-2.0.tar.gz
$ cd ffmpeg-2.0
$ ./configure
$ make
$ sudo make install

If you start to have problems while trying to run ./configure…

apt-get install gcc

You will probably also need to install make

root@digitalwhores:/home/ffmpeg/ffmpeg-2.0# make
The program 'make' is currently not installed. You can install it by typing:
apt-get install make
root@digitalwhores:/home/ffmpeg/ffmpeg-2.0# apt-get install make

An them go to  ./configure from the initial instructions…

sudo ./configure --disable-yasm


root@digitalwhores:/home/ffmpeg/ffmpeg-2.0# ./ffmpeg
ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers
 built on Sep 22 2013 10:23:36 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)

And now! remove the old ffmpeg/avconv!
Hasta la vista!

sudo apt-get remove ffmpeg
sudo apt-get autoremove