Feeds:
Posts
Comentários

Arquivo da categoria ‘Linux’

Permsize

Are you getting problem with Eclipse with PermSize?
Try this arguments when eclipse starts:
-vmargs -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M

Ler o post por completo »

Ubuntu and Cairo-Dock

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 [...]

Ler o post por completo »

Babylon and Linux = Babytrans

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 [...]

Ler o post por completo »

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 [...]

Ler o post por completo »

#!/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

Ler o post por completo »

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 [...]

Ler o post por completo »

Descompactando arquivos no Unix

.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 

Ler o post por completo »