quarta-feira, fevereiro 23, 2011

Instalação do servidor multimídia Red5 0.9.1 no Debian 6

# É fácil, fácil... bem mais fácil que pensei. :)
# It's easy, easy... more easier than I thought. :)

# Ant e Subversion são dependências opcionais
# Ant and Subversion are optional dependencies
aptitude install sun-java6-jdk sun-java6-jre ant subversion

wget http://www.red5.org/downloads/0_9/red5-0.9.1.tar.gz
tar -zxvf red5-0.9.1.tar.gz
mv red5-0.9.1 red5
mv red5 /usr/local/

cd /usr/local/red5
sh red5.sh

# Acesse http://[IP_SERVIDOR_RED5]:5080/ e siga as instruções da página.
# Access http://[IP_RED5_SERVER]:5080/ and follow the page instructions.


# References:
# http://www.red5.org/
# http://tumbledesign.com/how-to-install-red5-0-9-on-ubuntu-10-04-lts/

domingo, fevereiro 20, 2011

Instalação de Virtual Tape Library (mhvtl) no Debian 6.0 squeeze

# mhvtl é bastante útil para testes de software de backups (como Bacula, HP Data Protector, Symantec NetBackup, etc.), provendo uma biblioteca de fitas iSCSI virtual.
#mhvtl is useful for testing software for backups (as Bacula, HP Data Protector, Symantec NetBackup, etc.), providing an iSCSI virtual tape library.

wget https://sites.google.com/site/linuxvtl2/mhvtl-2011-01-11.tgz
tar -zxvf mhvtl-2011-01-11.tgz
cd mhvtl-0.18
aptitude install sg3-utils zlib1g-dev lsscsi mtx build-essential linux-headers-2.6.32-5-all
/usr/sbin/groupadd --system vtl
/usr/sbin/useradd --system -c "Virtual Tape Library" -d /opt/vtl -g vtl -m vtl
# Debian 6.0 usa rsyslog por padrão
# Debian 6.0 uses rsyslog by default
sed -i s/syslog/rsyslog/g etc/mhvtl
make
make install
cd kernel
make
make install
/etc/init.d/mhvtl start

#For testing purposes:
lsscsi -g