To enable php for the public_html folder so all users on your system can run php scripts you will need to edit your /etc/apache2/mods-enabled/php5.conf file and put a comment (put a # in front) php_admin_value engine Off
php_admin_value engine Off
OpenJDK comes with 12.4, but Sun’s Java doesn’t due to licnecings issues
Default Java install with Ubuntu 12.04
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.5) (6b24-1.11.5-0ubuntu1~12.04.1)
OpenJDK Client VM (build 20.0-b12, mixed mode, sharing)
sudo rm /var/lib/dpkg/info/oracle-java7-installer*
sudo apt-get purge oracle-java7-installer*
sudo rm /etc/apt/sources.list.d/*java*
sudo apt-get update
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
Then you will have new java
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) Client VM (build 23.5-b02, mixed mode)
Cache Buffer Size
When raspbmc upgraded i found that I had some buffering problems with video’s hanging and waiting a long time for it to start playing again, after a few google searches I found you can change your buffer size.
Run this command
And then add or modify the settings below (this will add 150Mb cache buffer to your pi)
Backup xmbc settings
Tar up your .xbmc settings
tar -czf backup.tar.gz .xbmc/
Then copy this tar to another place, either via scp or sftp.
To restore run the following commands
sudo initctl stop xbmc; tar -xzf backup.tar.gz; rm backup.tar.gz; sudo initctl start xbmc
Find out what users are on your system.
cat /etc/passwd |grep "/home" |cut -d: -f1
Find Raspbmc version
Usefull if you want to know if the auto update is working, or if your on the latest RC version.
My output was:-
pi@raspbmc:~/.xbmc$ cat /scripts/upd_hist/build_info
Raspbmc Testing Branch, with Hard Floating Point
Release Candidate 5, Built: 20121107
RISC OS for Raspberry Pi | Raspberry Pi. Well Risc OS is now released for the Pi, going to gets this installed and dig out my old A5000 to copy over my files, hopefully I can get ‘Ibex the Viking’ working on it. 🙂 Along with some other Acorn games I have and might even try and get my old BBS running too.. time to dig out my old 56k modem.. I knew there was a reason I was keeping hold of it 😉