Jim's Stream

Icecast

Install icecast with the package manager of your choice or build it from source. Once it's installed the configuration file will need to be edited. It's typically located in /etc/icecast2/icecast.xml

    <listen-socket>
        <port>8000</port>
        <!-- <bind-address>127.0.0.1</bind-address> -->
    </listen-socket>

This section tells you what port it is bound on. This will be part of what forms your stream URL.

Drupal fixed up a little more

I fixed up the lua script that provides "clean" urls for drupal on lighty.

Heres the relevant lighttpd.conf section

$HTTP["host"] == "jlporter.com"{ server.document-root = var.basedir+"/blah/"
index-file.names = ( "index.php" )
magnet.attract-physical-path-to = ( "/etc/lighttpd/rewrite_drupal2.lua" )
}

rewrite_drupal2.lua originally obtained from: http://pixel.global-banlist.de/drupal.lua and linked from the lighty wiki: http://redmine.lighttpd.net/wiki/lighttpd
section 3 #26

Keeping it busy

Between 2 virtual machines running, a shell script that converts images, and many other things going on; I keep a machine pretty busy.

load average: 1.32, 1.44, 1.02

Mem: 2038116k total, 1899380k used, 138736k free, 4892k buffers
Swap: 2996080k total, 1101436k used, 1894644k free, 169728k cached

VirtualBox running vista

VirtualBox Vista Install

3:33pm Vista is expanding files
3:42pm Vista is done expanding and completing installation
3:43pm Vista is rebooting
3:45pm Vista user setup complete
3:48pm Vista setup complete and desktop loaded

Works well with plenty of ram and vdi on separate drive. Guest additions are recommended as well as bridged networking.

Cool stuff @ work

My workstation is pretty sweet! I have dual displays on a machine with a core 2 duo, 2gb ram, and 10,000 rpm 74Gb drive.

I setup vmware workstation and was really impressed with the unify feature. See the screen shot that I have attached for more info.

Firehol configuration

To get firehol working I needed to add the netfilter modules or compile them into the kernel. I choose to compile them into the kernel since I was upgrading my kernel to 2.6.27.9

The next overall step is to setup your /etc/firehol/firehol.conf file.

Mine goes something like this:

version 5
lan_ips="192.168.1.0/24"

interface eth1 lan
policy reject
server "icmp ssh dhcp dns http" accept
client all accept

interface eth0 internet
server "http ssh" accept
client all accept

router home2internet inface eth1 outface eth0

Nameservers in dhcpd

dhcpd.conf in /etc/dhcp

for a typical lan setup you can use something like this

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.15 192.168.1.35;
option routers 192.168.1.1;
}

option domain-name-servers 208.67.222.222, 208.67.220.220;

firehole missing RESERVED_IPS file and missing get-iana.sh file

firehol RESERVED_IPS file creation

/usr/share/doc/firehol-1.273/scripts/get-iana.sh

Resigning from The Tennessean - Gannett

To whom it may concern:

I am resigning from my post as Web Developer and Online Production Coordinator II at The Tennessean - Gannett. This is effective Friday December 19 2008.

I appreciate the opportunities provided to me with this organization. I welcome future opportunities with Gannett and would be happy to help their internet based news and information revolution.

Sincerely,

Jim Porter

sys-libs/ss is blocking e2fsprogs-libs

I fixed this on my machine at home but I no longer remember how I did it.

unmerge ss and com_err
then unmerge e2fsprogs

e2fsprogs-libs will then be able to be updated

should probably run a reverse dependancy check.

Syndicate content