Multimedia Library Server

I’ve always used iTunes to manage my sharing and remote playing of my media library within my home.

As you no doubt know, iTunes sucks at sharing/streaming media. I used iTunes because it was the path of least resistance despite all the verbal abuse I’ve hurled at it…it’s bloated, slow, crashes etc…but that’s a whole different article…. 😉

Enter Plex. My Padawan at work turned me on to the Plex Media Server and my media consumption has been upgraded beyond my wildest imagination.

Continue reading “Multimedia Library Server”

Allow Root to SSH for Ubuntu

This is the most insecure thing you can do to your linux system. That said however, when working on development systems at home I like to logon as SSH. Granted this is behind a firewall to a linux system with no access from the internet.

This was tested on Ubuntu 14.x on a Raspberry Pi.

I do this out of laziness. NEVER do this to an internet accessible system.

Continue reading “Allow Root to SSH for Ubuntu”

Auto running terminal applications (non GUI) on Raspberry PI

Setup

This info will likely work for general linux as well, but my focus here is on the Pi. Continue reading “Auto running terminal applications (non GUI) on Raspberry PI”

Configure WiFi on your Pi

I’m using the “official” Wi-Pi USB WiFi dongle and need to configure it. I’m going to do it via terminal over the wired ethernet port to start with. Continue reading “Configure WiFi on your Pi”

Enable the Raspberry Pi Camera

I got one of the cameras that use the port on the Pi. Here’s how to enable it:

Open the raspi-config tool from your Terminal:

sudo raspi-config

Select Enable camera and hit Enter, then go to Finish and you’ll be prompted to reboot.

You can refer to more documentation here on how to test and use it.

Jeff’s Raspberry Pi Setup Notes

Raspberry Pi Setup Notes

These are the notes I keep for initial setups of the base Raspberry Pi Linux images.  They were collected from all over the internet and from personal experiences. If you find errors let me know. I’m always updating it so check back if you’re looking to add a feature that you can’t find
anywhere else.

Everything here relies on what exists on the internet already. Nothing here is original except that it’s all in one place.

LAMP Setup

sudo apt-get install apache2

OR

sudo apt-get install nginx

 

sudo apt-get install mysql-server

sudo apt-get install php5 php5-mysql

Further  LAMP features

sudo apt-get install php5-fpm php5-cgi php5-cli php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-pspell php5-recode php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-xcache

More Stuff

sudo apt-get install chkconfig snmp net-snmp* imagemagick htop webalizer

 

sudo pear channel-update pear.php.net sudo pear install MDB2

sudo pear install pear/MDB2_Driver_mysql

Webmin

To install Webmin open a terminal and add the following repository:

1- Edit /etc/apt/sources.list file

sudo nano /etc/apt/sources.list

2- Add the following lines

Save and exit the file

3- Now you need to import GPG key

wget http://www.webmin.com/jcameron-key.asc

sudo apt-key add jcameron-key.asc

4- Update the source list

sudo apt-get update

5- Now install Webmin

sudo apt-get install webmin

Now to access Webmin open your browser and enter:  http://serverip:10000/

You can get your ip address by issuing this command:

ifconfig

 

Remove any unneeded packages

There will eventually be packages that are unneeded. Apt-get can get rid of them by issuing this command:

 

sudo apt-get autoremove

Remote Desktop

Installing this allows you to connect via RDP on Windows.

sudo apt-get install xrdp

Add Chrome/Chromium to Desktop

Adds “Chrome” web browser to the GUI interface.

sudo apt-get install chromium-browser

Check CPU Clock Speed

This will show the current CPU clock speed in hertz

 cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

Raspi-config

This is the initial configuration utility. I always forget its name..

sudo raspi-config