Installing SVN Server on Ubuntu
Posted 20120101. Last Updated 20120101.
This assumes you have install Apache 2 Webserver.
First, install subversion and the library for Apache:
sudo apt-get install subversion libapache2-svn
Then create a new directory for the repository using the svnadmin command. This directory can be anywhere
sudo svnadmin create /var/lib/svn
Create a user for using the svn repository
sudo htpasswd -cm /etc/apache2/dav_svn.passwd USERNAME
Youll now have to configure the conf file for svn:
sudo nano /etc/apache2/mods-enabled/dav_svn.conf
Uncomment the following lines:
DAV svn
SVNPath /svn Change this path to the one you created
AuthType Basic
AuthName Subversion Repository
AuthUserFile /etc/apache2/dav_svn.passwd
Require valid-user
After you restart Apache, youll be able to access your svn repository!
sudo /etc/init.d/apache2 restart
Getting Audio over HDMI to work on Ubuntu
Posted 20111114. Last Updated 20111114.
I have a media computer, which I use HDMI for video and audio, and it usually takes me a few google searches to figure this out, so here it is, in one nice blog entry. FYI, this is an nVidia video card with HDMI.
To get audio working over HDMI, I had to put an entry into /etc/pulse/default.pa:
load-module module-alsa-sink device=hw:0,7
The only two parameters that I had to know where the 0 and 7.
To figure these out, type: aplay -l. You will see an output like this:
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
The 0, in the line entry, comes from the output, where it says card 0. This is the device where my HDMI audio is. 7 comes from the output where it says device 7. I do not know a whole lot about the inner workings of this device, but I found 7 by randomly testing one of the four logical devices at a time.
To test this configuration, either restart, or you can kill pulse audio, and restart it by typing:
pulseaudio -k
pulseaudio
Thats all I had to do. Good luck!
Install XBMC on Ubuntu 11.10
Posted 20111113. Last Updated 20111113.
To install XBMC on Ubuntu 11.10, go to your terminal and type:
sudo apt-add-repository ppa:nathan-renniewaldock/xbmc-stable
sudo apt-get update
sudo apt-get install xbmc
After it installs, your good to go!