Configure Raspberry Pi Composite Video Output for old TVs
Raspberry Pi comes with the composite video output configured to NTSC by default and older TVs aren’t able to detect that and change the format to PAL for example. In that case in a PAL TV youl’ll see...
View ArticleFix no video problem in XBMC
Although is recommended using a dedicated media center distribution (raspbmc, openelec or xbian for example) because they come already configured, if you decide to install XBMC on your own in Raspbian...
View ArticleBoost low volume in XBMC
AC3 encoded movies usually have very low volume. To fix this edit the /usr/share/xbmc/system/advancedsettings.xml file and add this inside the <advancedsettings>...</advancedsettings> tags:...
View ArticleInstall unetbootin in Ubuntu for simple bootable GNU/Linux USB drives creation
sudo add-apt-repository ppa:gezakovacs/ppa sudo apt-get update sudo apt-get install unetbootinRef: https://launchpad.net/~gezakovacs/+archive/ubuntu/ppa
View ArticleAdding custom action to a keycode in XBMC
There are some USB IR remotes out there specifically made to be used in media centers. I bought one of those to setup my parents Raspberry Pi.It looked like everything worked out of the box with XBMC...
View ArticleNetwork not running in a CentOS VirtualBox machine
Be sure that your network options in VirtualBox are configured like this: Attached to: Bridget Adapter Name: (your network device) Promiscuous Mode: Deny Cable Connected: Check Then inside the CentoOS...
View ArticleRun Solr as a service in Ubuntu
I’ve been doing some tests with Nutch and Solr these days. One thing I didn’t like was that when you run Solr all the info messages output to the standard output in the command line. I rather use it as...
View ArticleDisable blank console in Ubuntu
Edit /etc/default/grub and add consoleblank=0 in the GRUB_CMDLINE_LINUX_DEFAULT option: GRUB_CMDLINE_LINUX_DEFAULT="consoleblank=0" Then update grub and reboot. sudo update-grub sudo shutdown -r now
View ArticleLoad testing a web site with Siege
Siege is an HTTP load testing and benchmarking utility. It helps you test you server and web developments in high load situations. Quoted from it’s home page: Siege is an http load testing and...
View ArticleInstall software in unsupported Ubuntu versions with apt-get
When an Ubuntu version goes unsupported its repositories get moved to an archive server. If you don’t update the repo origins you’ll get some errors like those:Err http://archive.ubuntu.com...
View ArticleUseful yum commands
Those are some commands that you’ll probably need sometime to install, remove, update, etc. software in your CentOS/Fedora/Red Hat box. As I’m more used to apt-get I’ve searched a fairly complete list...
View ArticleFix apt-get “cannot copy extracted data for ‘…’ to ‘…': unexpected end of...
I was doing an apt-get upgrade and got this error: Preparing to replace liborc-0.4-0:armhf 1:0.4.16-2 (using .../liborc-0.4-0_1%3a0.4.18-1rpi1rpi2_armhf.deb) ... Unpacking replacement...
View ArticleEnable SSH server in a headless Raspberry Pi
Raspbian come by default with SSH server deactivated so if you have a headless Raspberry Pi you won’t be able to access it. The easy way to activate SSH server without even powering on the device is by...
View ArticleMount a folder via sshfs in Ubuntu with permissions to other users
After installing sshfs in Ubuntu:sudo apt-get install sshfsYou can mount a folder located in a remote machine via SSH with a command like this:sudo sshfs user@remote_server:/remote_folder...
View ArticleSplit and join large files using cat, split and tar
I was going to store a CentOS DVD iso file into my external hard drive but the image was bigger than 4GB, the biggest file size in FAT32, so I had to split it.cat CentOS-6.5-x86_64-bin-DVD1.iso | split...
View Article