Showing Subtitles on YouTube

Foreign and English language subtitles are becoming more common on YouTube videos and are great for those abroad, whose first language is not English, who are learning another language or who want to watch videos in the office…… Read More

Joomla 1.5 SEF urls not working?

When you are setting up the Search Engine Friendly urls (SEFs) in Joomla to help your seo, in a small number of cases they won’t work out the box. If this is the case, try uncommenting the RewriteBase… Read More

WOWza VOD Notes

To play using Adobe Flash player (RTMP) Server: rtmp://[wowza-address]/vod Stream: mp4:sample.mp4 To play using RTSP/RTP player or device rtsp://[wowza-address]:1935/vod/mp4:sample.mp4 To play using an Apple iOS device (Cupertino/Apple HTTP Live Streaming) http://[wowza-address]:1935/vod/mp4:sample.mp4/playlist.m3u8

Installing WOWza on Ubuntu Server 10.10

I needed to install Java first… sudo apt-get install python-software-properties sudo add-apt-repository ppa:sun-java-community-team/sun-java6 sudo apt-get update sudo apt-get install sun-java6-jre sun-java6-plugin Download the RAW Linux Version sudo chmod +x WowzaMediaServer-2.2.0.tar.bin sudo ./WowzaMediaServer-2.2.0.tar.bin Then follow onscreen instructions… Install Location:… Read More

Installing Django on Ubuntu

This applies to Server 10.10 with Python 2.6 and mod-wsgi Checked version of Python was 2.6 using python –version The followed the instructions on the download site tar xzvf Django-1.2.3.tar.gz cd Django-1.2.3 sudo python install Note: It… Read More

Software RAID Management

Overview of all RAIDS cat /proc/mdstat Details for a RAID /sbin/mdadm -D /dev/md0 Add Device /sbin/mdadm –grow /dev/md0 -n3 Refresh a Device if it dropped out (through over-heating!) /sbin/mdadm –add /dev/md0 /dev/sdc1

Checking on available filespace

You can check on available file space using df -h or du To get a list in ascending order use: du -ah | sort -rn you can also | head to get top few files only.

Installing Webmin (Ubuntu 10.10)

1. Download webmin wget 2. Execute webmin package. Note this will FAIL but next instruction deals with that. sudo dpkg -i webmin-current.deb 3. Install missing dependencies and it will automatically recompile webmin sudo apt-get -f install Enjoy… Read More

GREP Cheats

How to use GREP to find phrases in files. grep -inr “phrase” foldername

File Permissions

What the numbers mean: 4 = Read 2 = Write 1 = Execute e.g. 7 = Read, Write and Execute. Works on Users, Groups and Everyone  (left to right)