30 jul

Fedora x64 – Totem Demultiplexador QuickTime

x64

ln -s /usr/lib64/gstreamer-0.10/libgstisomp4.so /usr/lib64/gstreamer-0.10/libgstqtdemux.so

x86

ln -s /usr/lib/gstreamer-0.10/libgstisomp4.so /usr/lib/gstreamer-0.10/libgstqtdemux.so

 Limpa os registros

rm -fr ~/.gstreamer-0.10/registry*.bin

 

Referências:

 

 

05 jul

Fedora 15 x64 – Java (Banco do Brasil)

#!/bin/bash
yum install -y wget
 
echo "------------------------------------------------------"
echo "Cria pasta para o JAVA"
echo "------------------------------------------------------"
mkdir /usr/java/
cd /usr/java/
 
echo "------------------------------------------------------"
echo "Baixar no site da SUN http://java.com/pt_BR/download"
echo "------------------------------------------------------"
wget http://javadl.sun.com/webapps/download/AutoDL?BundleId=49018
mv jre-6u26-linux-x64-rpm.bin* jre-6u26-linux-x64-rpm.bin
 
echo "------------------------------------------------------"
echo "Executando o JAVA"
echo "------------------------------------------------------"
sh jre-6u26-linux-x64-rpm.bin
 
echo "------------------------------------------------------"
echo "Configurando o JAVA da SUN como principal"
echo "------------------------------------------------------"
update-alternatives --install /usr/bin/java java /usr/java/jre1.6.0_26/bin/java 1
update-alternatives --set java /usr/java/jre1.6.0_26/bin/java
 
echo "------------------------------------------------------"
echo "Configurando o firefox"
echo "------------------------------------------------------"
mkdir /usr/lib64/mozilla/plugins
ln -s /usr/java/jre1.6.0_26/lib/amd64/libnpjp2.so /usr/lib64/mozilla/plugins/libnpjp2.so
 
#echo "------------------------------------------------------"
#echo "Instalando no Google Chrome"
#echo "------------------------------------------------------"
#mkdir /opt/google/chrome/plugins
#ln -s /usr/java/jre1.6.0_23/lib/i386/libnpjp2.so /opt/google/chrome/plugins/libnpjp2.so
 
echo "------------------------------------------------------"
echo "Fim..."
echo "------------------------------------------------------"