portella.com.br

Blog pessoal de Felipe Portella

Archive for the ‘Linux’ tag

Dicas de VI

without comments

Written by Felipe Portella

dezembro 14th, 2008 at 7:18 pm

Posted in Linux

Tagged with

Dez dicas de eficiência em consoles Unix

without comments

Written by Felipe Portella

dezembro 14th, 2008 at 7:17 pm

Posted in Linux

Tagged with

Referências para desenvolvedores X10 no Linux

without comments

Written by Felipe Portella

dezembro 14th, 2008 at 6:56 pm

Posted in Desenvolvimento,Linux

Tagged with

Installing VMware Tools with VMware Player

without comments

Full article: www.brandonhutchinson.com/Installing_VMware_Tools_with_VMware_Player.html

Summary: 1. Download the latest “Archived Version” of VMware Workstation in .tar.gz format at www.vmware.com/download/ws/. You do not need to be registered nor have a VMware Workstation license key to download this version.

Example: $ wget download3.vmware.com/software/wkst/VMware-workstation-5.5.0-18463.tar.gz

2. Locate and extract the windows.iso VMware Tools image from the tarball.

Locate the windows.iso file (example): $ tar ztvf VMware-workstation-5.5.0-18463.tar.gz | grep windows.iso vmware-distrib/lib/isoimages/windows.iso

Extract the windows.iso file (example): $ tar zxvf VMware-workstation-5.5.0-18463.tar.gz vmware-distrib/lib/isoimages/windows.iso

Or, to extract windows.iso without creating the vmware-distrib/lib/isoimages directory structure, use pax: $ pax -zrvf VMware-workstation-5.5.0-18463.tar.gz -s,vmware-distrib/lib/isoimages/,, vmware-distrib/lib/isoimages/windows.iso

3. Mount the windows.iso file as a loopback file system, and either share the loopback file system with Samba, or copy the VMware Tools files to a location accessible by your guest system.

$ mkdir /tmp/vmware_tools $ mount -o loop windows.iso /tmp/vmware_tools

4. In your guest system, run setup.exe from the VMware Tools directory.

Written by Felipe Portella

dezembro 14th, 2008 at 6:55 pm

Posted in Linux

Tagged with

Installing SMART in SUSE

without comments

If you have a proxy with password also use this config ate the end of the install:
smart config –set http-proxy=http://username:password@proxy-ip:port
smart config –set ftp-proxy=http://username:password@proxy-ip:port
Referência: susewiki.org/index.php?title=Smart#Installing_SMART

Written by Felipe Portella

dezembro 14th, 2008 at 6:54 pm

Posted in Linux

Tagged with

Resetando senhas do WINDOWS

without comments

Tutorial de como trocar a senha do Windows caso não consiga mais entrar com o Linux e o programa chntpw:

linuxparaoresgate.com/artigos/resetando_senhas_windows.php

Written by Felipe Portella

dezembro 14th, 2008 at 6:52 pm

Posted in Windows

Tagged with ,

Repositorios do SUSE

without comments

Dicas de repositorios para o SUSE 10.2

opensuse-community.org/Package_Sources/10.2

www.susebr.org/forum/index.php?PHPSESSID=81ea85491783c6b606c7396cf610f0fd&/topic,2778.0.html

Matéria no Guia do Hardware com dicas e repositórios detalhados por assunto:

Repositórios no openSUSE 10.2:
www.guiadohardware.net/artigos/repositorios-opensuse-10/

Repositórios (http e ftp) apt-get para o SUSE 10.0 x86_64:

ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-x86_64/examples/

este último site tem outras versões e arquiteturas de SUSE desde o SUSE 7 subindo uns diretórios …

Written by Felipe Portella

dezembro 14th, 2008 at 6:48 pm

Posted in Linux

Tagged with

Splitting Large Files to Span Multiple Disks using TAR

without comments

Splitting the File

The example below shows the syntax used. Lets say the largefile.tgz is 150 Meg and we need to fit the file on two 100 Meg Zip drives.

tar -c -M –tape-length=102400 –file=disk1.tar largefile.tgz

The value 102400 is 1024 x 100, which will create a 100 Meg file called disk1.tar and then Tar will prompt for volume 2 like below:

Prepare volume #2 for disk1.tar and hit return:

In the time of tape drives you would have taken the first tape out of the machine and inserted a new tape, and pressed returned to continue. As we want Tar to create the remaining 50 Meg in a separate file, we issue the following command:

n disk2.tar

This instructs Tar to continue writing the remaining 50 Meg of largefile.tgz to a file named disk2.tar. You will then be prompted with the line below, and you can now hit return to continue.

Prepare volume #2 for disk2.tar and hit return:

You would repeat this process until your large file has been completely processed, increasing the disk number in the file each time you are prompted.

Putting the File Back Together

tar -x -M --file=disk1.tar largefile.tgz
Prepare volume #2 for disk1.tar and hit return: n disk2.tar
Prepare volume #2 for disk2.tar and hit return:

Original tutorial (with more information):
www.cgi-interactive-uk.com/splitting_large_files.html

Written by Felipe Portella

dezembro 14th, 2008 at 6:45 pm

Posted in Linux

Tagged with

sshfs: Como montar diretórios remotos via ssh

without comments

“O sshfs é um comando muito útil para quem precisa acessar servidores (ou máquinas virtuais) remotos. Com este comando, em vez de precisarmos executar o ssh para logarmos ou o scp para copiarmos arquivos entre o desktop e os servidores, podemos montar localmente um diretório remoto.”

ggarnier.wordpress.com/2008/03/24/como-montar-diretorios-remotos-via-ssh/

Written by Felipe Portella

dezembro 14th, 2008 at 6:42 pm

Posted in Linux

Tagged with

Pidgin with Sametime 4 Linux

without comments

How to compile Pidgin with support to Sametime in SUSE:

www.linuxquestions.org/questions/linux-software-2/how-to-install-pidgin-as-a-.tar.bz2-file-559038/

In summary:

you need (o have MSN, Google Talk, and Sametime IM protocol support):

gnutls gnutls-devel meanwhile meanwhile-devel

use (32 bits):

./configure --prefix=/usr --with-gnutls-includes=/usr/include/gnutls/ --with-gnutls-libs=/usr/lib/

use (64 bits):

./configure --prefix=/usr/local --with-gnutls-includes=/usr/include/gnutls/ --with-gnutls-libs=/usr/lib64/

make

make install

Written by Felipe Portella

dezembro 14th, 2008 at 6:39 pm

Posted in Linux

Tagged with