Are you getting problem with Eclipse with PermSize?
Try this arguments when eclipse starts:
-vmargs -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M
Arquivo da categoria ‘Linux’
Permsize
Publicado em Eclipse, Java, Linux em Abril 13, 2008 | Deixar um comentário »
Ubuntu and Cairo-Dock
Publicado em Linux em Março 17, 2008 | Deixar um comentário »
It’s very simple to install a similar MacOS bar in Gnome/Ubuntu.
Get the Cairo-Dock look for the last version here: https://developer.berlios.de/project/showfiles.php?group_id=8724&release_id=14331 Get the binary and the plugins (it will be useful)
Run the binary and after the plugins
Open a terminal and type: cairo-dock
To make the Cairo-Dock open together with Gnome, open: System > Preferences > Session [...]
Babylon and Linux = Babytrans
Publicado em Linux em Fevereiro 17, 2008 | Deixar um comentário »
Recently arrived from Windows world with a very very good (not free) dictionary software called Babylon, I missed this kind of software at Linux world.
Searching on the web, I found babytrans, actually it’s not as good as Babylon, missing some excellent features like just press CTRL and Right Click over the word and [...]
How to Install Skype on Ubuntu
Publicado em Linux em Fevereiro 7, 2008 | Deixar um comentário »
Open a command line – with root privilegies – and type:
#vim /etc/apt/sources.list
Insert the follow line:
deb http://download.skype.com/linux/repos/debian/ stable non-free
save and quite the editor (type: :wq! and Enter)
Back in command line, just to update the repositories, type:
#apt-get update
Now type:
#apt-get install skype
Nice and Easy! Skype is installed and if everything on instalation was fine, you can see the [...]
Script para troca de dia e mês (date e sed)
Publicado em Linux, Shell em Agosto 2, 2007 | Deixar um comentário »
#!/bin/sh
#
# Altera o parametro do dia e mes no arquivo
#
# autor: marcio@mangar.com.br
#
diaontem=`date –date=”yesterday” +%d`
diahoje=`date +%d`
mesontem=`date –date=”2 months ago” +%m`
meshoje=`date –date=”1 months ago” +%m`
echo Trocando: $diaontem para: $diahoje
#teste local
/bin/sed -i s/dia=”$diaontem”/dia=$diahoje/g ./teste.html
#producao
#/bin/sed -i s/dia=”$diaontem”/dia=$diahoje/g /home/http/mrtg/teste_wsux1.htm
if [ diahoje == '01' ]
then
echo Trocando: $mesontem para: $meshoje
#teste local
/bin/sed -i s/mes=”$mesontem”/mes=$meshoje/g ./teste.html
#producao
#/bin/sed -i s/mes=”$mesontem”/mes=$meshoje/g /home/http/mrtg/teste_wsux1.htm
fi
Apache + JBoss com mod_jk
Publicado em Apache, JBoss, Java, Linux, Tomcat em Julho 15, 2007 | Deixar um comentário »
1 – Instale o Apache
2 – Instale o JBoss
3 – Instale o mod_jk (download em: http://tomcat.apache.org/download-connectors.cgi)
Faça o download do modulo e copie-o no diretorio de modules do apache.
4 – Configure o mod_jk no Apache
Crie o arquivo: mod-jk.conf no diretorio conf do apache e insira o conteudo:
# Load mod_jk module
# Specify the filename of the mod_jk [...]
Descompactando arquivos no Unix
Publicado em Linux em Julho 15, 2007 | 1 Comentário »
.zip:
unzip nomedoarquivo <<corrigido>>
rar:
rar x nomedoarquivo
tar:
gzip nomedoarquivo
tar.gz:
tar -vzxf nomedoarquivo
tar.bz2:
tar -vxjpf nomedoarquivo
Fonte: Viva o Linux




