terça-feira, 31 de março de 2009

terça-feira, 17 de março de 2009

Chuva+Chuva+Sao Paulo=trânsito parado

Centro de São Paulo, 4 horas parado , Brig. Tobias

segunda-feira, 9 de março de 2009

sábado, 7 de março de 2009

quinta-feira, 5 de março de 2009

Instalação Oracle Database Express (XE) no Ubuntu 8.10

Quick Guide - Oracle Database Express Ubuntu 8.10


01) Adicionar a fonte do software:

$ sudo vi /etc/apt/sources.list

Adicione a seguinte linha ao final do arquivo, salve e "exit":

deb http://oss.oracle.com/debian unstable main non-free

02) fazer as seguintes atualiz
ações:

$ wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add -

$ sudo apt-get update

$ sudo apt-get install oracle-xe


03) Logo após o download configure o Oracle XE:

$ sudo /etc/init.d/oracle-xe configure

Neste ponto o processo de config perguntará algumas poucas coisas, como o porta administrativa (browser), o default é a porta 8080, como esta porta é a default para uma série de outras aplicações fica a sugestão de mudar esta porta para qualquer outra, ex: 9999.

04) se quiser ter acesso ao SQL*Plus (command line) do seu user Unix acerte as variáveis abaixo:

$ vi ~/.bashrc

adicione as variáveis abaixo ao final do arquivo:

ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_HOME
export ORACLE_SID=XE
export PATH


05) para ter acesso a interface administrativa via Browser digite a seguinte url:

http://127.0.0.1:9999/apex














































É isso !!!


mcastanho

segunda-feira, 2 de março de 2009

Aventura Off Road - Transamazônica 2009 !!

Relato, fotos da Transamazônica 2009 !!


Para quem gosta de aventuras, muito bom o relato da Transamazônica 2009.

Vale dar uma olhada no site e conferir o "Diário de Bordo", dar uma olhada nas fotos e relatos.


http://www.cameltrophy.com.br/transamazonica2009/

Installing Oracle 11g on Ubuntu

Instalação Oracle 11g no Ubuntu (8.10, 8.04, 7.10, 7.04)


O procedimento explicado nos links abaixo tem um nível de detalhes muito bom, e tem o mesmo procedimento para versões de Ubuntu anteriores.



Oracle 11gR1-  Ubuntu 8.10 Intrepid Ibex
http://www.pythian.com/blogs/1355/installing-oracle-11gr1-on-ubuntu-810-intrepid-ibex

Oracle 11g - Ubuntu 8.04 Hardy Heron LTS
http://www.pythian.com/blogs/968/installing-oracle-11g-on-ubuntu-804-lts-hardy-heron

Oracle 11g - Ubuntu 7.10 Gutsy Gibson
http://www.pythian.com/blogs/654/installing-oracle-11g-on-ubuntu-linux-710-gutsy-gibbon

Oracle 11g - Ubuntu 7.04 Feisty Fawn
http://www.pythian.com/blogs/549/installing-oracle-11g-on-ubuntu-linux-704

--
Marcelo Castanho

http://www.mcastanho.com

Ubuntu 8.10 VMware server 2 vsock warning

Instalação VMWare 2.0.0 no Ubuntu 8.10 - problemas (Warning) na compilação do módulo vsock:

A aplicação do Patch abaixo resolve o problema. Encontrei a solução no Ubuntu fórum.

Se quiser ver a discussão inteira, veja em :

http://ubuntuforums.org/showthread.php?t=975084&page=2

01) Para resolver o problema, salve o texto abaixo, entre as linhas de corte, como por exemplo: vmware-config.pl.patch.txt

Ou ainda vá para o link do Ubuntu fórum (colocado acima) e faça o download de lá mesmo mas para isso tem que ter cadastro no Ubuntu fórum (Free).

This patch is for the most recent 2.0.0 version of VMWare: 122956

Obs: cuidado com a quebra de linhas

# ===================cut here===============================

--- /usr/bin/vmware-config.pl.orig 2008-11-28 12:06:35.641054086 +0100
+++ /usr/bin/vmware-config.pl 2008-11-28 12:30:38.593304082 +0100

@@ -4121,6 +4121,11 @@

return 'no';
}

+ if ($name eq 'vsock') {

+ print wrap("VMWare config patch VSOCK!\n");

+ system(shell_string($gHelper{'mv'}) . ' -vi ' . shell_string($build_dir . '/../Module.symvers') . ' ' . shell_string($build_dir . '/vsock-only/' ));

+ }

+

print wrap('Building the ' . $name . ' module.' . "\n\n", 0);

if (system(shell_string($gHelper{'make'}) . ' -C '
. shell_string($build_dir . '/' . $name . '-only')
@@ -4143,6 +4148,10 @@


if (try_module($name, $build_dir . '/' . $name . '.o', 0, 1)) {

print wrap('The ' . $name . ' module loads perfectly into the running kernel.' . "\n\n", 0);

+ if ($name eq 'vmci') {

+ print wrap("VMWare config patch VMCI!\n");
+ system(shell_string($gHelper{'cp'}) . ' -vi ' . shell_string($build_dir.'/vmci- only/Module.symvers') . ' ' . shell_string($build_dir . '/../'));
+ }
remove_tmp_dir($build_dir);
return 'yes';
}

# ===================cut here===============================

02) Após salvar o arquivo em um diretório temporário basta aplicar o patch:

$ sudo patch /usr/bin/vmware-config.pl /path/to/vmware-config.pl.patch


03) Uma vez patch aplicado, re-execute o vmware-config.pl para re-compilar os módulos inclusive o vsock:


$ sudo vmware-config.pl


04) Para verificar se o módulo foi carregado:


 lsmod |grep v
vmnet 54732 3
vsock 31536 0
vmci 65832 1 vsock
vmmon 85968 0
(...)

--
Marcelo Castanho

http://www.mcastanho.com
Sent from: Sao paulo Sp Brazil.

domingo, 1 de março de 2009

(setas) Arrow keys not working in VMWare , host=Ubuntu 8.10, Guest=Solaris10

Achei esta dica no forum da VMWare e funcionou muito bem no meu caso, Ubuntu 8.10 e VM de Solaris 10 10/08 64bits.

===================================

01) Edit your "/etc/vmware/config" file, so type:


Ex: sudo gedit /etc/vmware/config

** particularmente uso sempre o "vi" mesmo...

02) And add this to it:


xkeymap.keycode.108 = 0x138 # Alt_R

xkeymap.keycode.106 = 0x135 # KP_Divide

xkeymap.keycode.104 = 0x11c # KP_Enter

xkeymap.keycode.111 = 0x148 # Up

xkeymap.keycode.116 = 0x150 # Down

xkeymap.keycode.113 = 0x14b # Left

xkeymap.keycode.114 = 0x14d # Right

xkeymap.keycode.105 = 0x11d # Control_R

xkeymap.keycode.118 = 0x152 # Insert

xkeymap.keycode.119 = 0x153 # Delete

xkeymap.keycode.110 = 0x147 # Home

xkeymap.keycode.115 = 0x14f # End

xkeymap.keycode.112 = 0x149 # Prior

xkeymap.keycode.117 = 0x151 # Next

xkeymap.keycode.78 = 0x46 # Scroll_Lock

xkeymap.keycode.127 = 0x100 # Pause

xkeymap.keycode.133 = 0x15b # Meta_L

xkeymap.keycode.134 = 0x15c # Meta_R

xkeymap.keycode.135 = 0x15d # Menu

03) para finalizar, faça o restar dos processos VMWare:


$ sudo /etc/init.d/vmware restart



--
Marcelo Castanho

http://www.mcastanho.com
Sent from: Sao paulo Sp Brazil.