Blog com artigos sobre linux, windows, redes, e dicas em geral para pessoas apaixonadas por computadores
Frases
sexta-feira, 3 de abril de 2009
Vídeos - Palestras da TCHELINUX
Certificação Linux: Conhecendo o caminho das pedras por Bruna Griebeler
http://www.megavideo.com/?v=CXFOXBQN
Introdução a Orientação a Objetos com PHP por Guilherme Mar
http://www.megavideo.com/?v=0SLY1P8U
O projeto br.kernelnewbies.org (recomendo fone de ouvido) por Douglas Landgraf
http://www.megavideo.com/?v=WM2DMYKP
quarta-feira, 1 de abril de 2009
Internet Explorer perde liderança na Europa para Firefox
Nós conseguimos!
Informação foi divulgada pela empresa de pesquisa StatCounter.
Firefox 3 ficou com 35,05% do mercado, contra 34,54% do IE7.
A Microsoft perdeu na semana passada a liderança do mercado europeu de navegadores pela primeira vez em anos. O Firefox 3, do Mozilla, assumiu a posição do Internet Explorer 7, informou a empresa de pesquisa StatCounter nesta terça-feira (31).
Continue lendo no G1
sexta-feira, 27 de março de 2009
Phpsysinfo
O Phpsysinfo mostra informações do sistema de uma forma bem simples e de fácil entendimento
Clique aqui para ver o Phpsysinfo em funcionamento. O sistema mostra várias informações como Partições, sistema de arquivos, Ip, kernel, Espaço usado / livre no hd, uptime, uso da rede e etc.
Baixe aqui o Phpsysinfo
sábado, 21 de março de 2009
Agende downloads com o WGET
Com o comando abaixo você poderá agendar seus downloads no wget, para ver mais recursos desse comando consulte man wget
No terminal digite.
echo 'wget http://www.how2ubuntu.blogspot.com/texto.txt' | at 12:00
o wget começará o download as 12 horas.
quarta-feira, 18 de março de 2009
terça-feira, 17 de março de 2009
segunda-feira, 16 de março de 2009
Tchelinux em Gravataí - RS
sábado, 14 de março de 2009
Xterm funcionando com UTF-8
xterm -u8
Or if you prefer to use UTF-8 the majority of the time, you can put this line in your .Xresoures file:
xterm*utf8: 1
If you specify this xterm resource, but then want to use an xterm in single-byte mode, you can start it with the +u8 option:
xterm +u8
If you use a UTF-8 enabled xterm, you probably want to make sure your locale is UTF-8 as well. For example, to switch your locale to Canadian English in UTF-8 mode, you would run (in bash):
export LANG=en_CA.UTF-8
You may also want to use a Unicode font for your xterm so as to be able to view more characters. Here is my xterm font resources:
xterm*font: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
xterm*wideFont: -misc-fixed-medium-r-normal-ja-18-120-100-100-c-180-iso10646-1
The wideFont resource is needed for languages such as Japanese. If a wideFont resource is not specified, xterm will try and use a font that is double the width of the regular font, but if this font does not exist, the Japanese characters will not display properly.
You can use xfontsel to choose a font, or use xlsfonts to get a listing of all the Unicode fonts installed on your system:
xlsfonts | grep iso10646-1 | less
I have installed the efont-unicode SuSE RPM to give me additional Unicode fonts to choose from.
If you would like to experiment with other terminals, try mlterm. I like it because it allows you to change the terminal encoding on the fly. You can do this with ctrl+
sexta-feira, 13 de março de 2009
Apt-get : NO_PUBKEY / GPG error
Ao atualizar um sistema debian-like, o apt-get pode mostrat a seguinte mensagem:
W: GPG error: ftp://ftp.debian.org/ testing Release:
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F
W: There is no public key available for the following key IDs:
010908312D230C5F
Esse "erro" apareceu justamente porque o apt-get requer autenticidade dos seus servidores para atualização.
Mas como resolver esse erro?
No terminal digite:
gpg --keyserver pgpkeys.mit.edu --recv-key 010908312D230C5F
onde 010908312D230C5F é o número que apareceu na mensagem de erro citada anteriormente.
Para finalizar
gpg -a --export 010908312D230C5F | sudo apt-key add -
repetindo o nosso número 010908312D230C5F novamente
Pronto. Agora quando você for usar o apt-get update , os erros não aparecerão mais.
Leia mais sobre Chaves de autenticação
sexta-feira, 6 de março de 2009
Desabilite serviços e aumente a performance do seu sistema
Dica pega do site ubuntulinuxhelp.com
Disabling (or enabling) services can be completed (in Ubuntu Linux) by going to System -> Administration -> Services
acpi-support
You can leave this turned on.
This is for power management.
acpid
You can leave this turned on.
This is for power management.
alsa
You can leave this turned on if you use the alsa sound system.
Turn it off if you use alsa-utils.
(The default for this should be off if alsa-utils is on).
alsa-utils
See “alsa” above.
anacron
You can leave this turned on.
This is a cron system that runs cron jobs not being executed atthe appropriate time. What I mean by this is a cron job may need to run at a certain time, but your PC (or laptop) is turned off. When you power up, anacron will run the job.
apmd
You should be able to turn this off if you use acpi.
This is for (older) power management.
atd
You can turn this off.
It is a job scheduler.
binfmt-support
You can leave this turned on.
This provides kernel support for other binary formats.
bluez-utils
You can turn this off (if you don’t use bluetooth devices).
It provides support for connecting blue tooth enabled devices.
bootlogd
You can leave this turned on.
Provides logging of your boot messages.
cron
You can leave this turned on.
This runs your cron jobs. (Like auto-update for example).
cupsys
Leave this on if you have a printer.
It is a subsystem to manager your printers.
dbus
You can leave this turned on.
This is a message bus system. It allows your applications to communicate.
dns-clean
You can turn this off if you’re not using a dial-up connection.
It ensures your dns info is in order (clean) when using dial-up connections, that’s why broadband users can turn it off.
evms
You can turn this off.
evms (Enterprise Volumn Management System) is used to manage volumes and in a clustering environment.
fetchmail
You can turn this off.
A daemon for mail receiving.
gdm
Advanced users can turn it off (and call a GUI later).
Normal desktop users that need a GUI should leave this on (so that we boot to the GUI).
This is the gnome desktop manager.
gdomap
You can turn it off.
A daemon used by GNUstep programs to look up distributed objects of processes running on the local machine as well as across the network.
gpm
You can turn this off.
It provides mouse support for console.
halt
Leave this alone!
It’s your power off command.
hdparm
You can leave this turned on.
It’s a hard drive tuning script.
hibernate
Leave it on only if your system supports it.
Provides system hibernation support.
If your system does not support hibernation, then don’t waste resources and turn this off.
hotkey-setup
Turn this off if your system does not support this.
Leave this on if your system supports this.
It’s a daemon that lets you map hotkeys on Laptop to do different things.
hotplug
Turn this off if you don’t need hot-plugging.
As the name implies it activates hotplugging.
hotplug-net
See “hotplug” above.
hplip
Turn this off if you don’t need it.
This is the HP printing and Image subsystem.
ifrename
Turn this off if you don’t need it.
It’s a network interface script used for managing multiple network interface names.
The system I’m using to type this blog entry uses a wireless Linksys card and a wired ethernet 3Com card, they are assigned eth0 and ath0 from the kernel. (Therefore I don’t require the multiple interface name management features).
ifupdown
You can leave this turned on. It activates your network interfaces at boot time.
ifupdown-clean
See “ifupdown” above.
inetd
You can leave this turned on.
inetd (/etc/inetd.conf) is a file you can edit to comment out any services you don’t need.
klogd
You can leave this turned on.
It is the Kernel Logging Daemon, which is responsible for prioritizing and processing operating system messages.
laptop-mode
Laptop users!… Leave this on.
This is a service to configure battery utilization.
linux-restricted-modules-common
Leave this on if needed.
I do because I’m using restricted nVidea drivers.
lvm
You can turn this of if you don’t use it. (I don’t use it).
Linux Logical Volume Manager facilitates the creation of several physical volumes into one “volume”.
makedev
You can leave this turned on.
It is the manager (script) utility makes it easy to manage the /dev directory device files. (Hard drives, CDROMs, etc.)
mdamd
You can turn this off if you don’t need it.
This is a RAID management tool.
mdamd-raid
See “mdamd” above.
module-init-tools
You may want to leave this on.
You can turn this off if you don’t need any of the modules.
It loads the extra modules file (/etc/modules). Open your /etc/modules file, if there are any unused modules, turn it off.
mountvirtfs
You can leave this turned on.
It mounts virtual filesystems!
networking
You can leave this turned on.
It loads the network interfaces (/etc/network/interfaces) and configures the dns information at boot time.
ntpdate
You can turn this off.
It synchronizes the time with the external time server (Ubuntu).
nvidia-kernel
Leave this on if you use the ubuntu nvidia driver from the restrict modules.
pcmcia
You can turn this off if your desktop does not use it.
This is usually pcmcia device management for laptops (Desktops generally don’t have pcmcia devices).
portmap
You can turn this off if your PC or laptop does to act as a server.
This is adaemon for managing services like nfs, etc. (Services usually provided by a server).
powernowd
You can turn this off if it’s not needed.
This is the client for managing cpufreq (support CPU speed stepping technology). For laptops, you’ll probably want to leave this on. PC users will probably want to turn this off.
ppp
You can turn this off if you don’t use dial up
Provided PPP dial-up connectivity.
ppp-dns
See “ppp” above.
readahead
You can turn this off.
This loads into memory on start up and facilitaes the faster lauching of applications. Doing this slows the boot time. Personally, I just didn’t see it improve anything.
reboot
Leave this alone!
It’s your reboot command.
resolvconf
You can leave this turned on.
It configures DNS based on your network status.
rsync
You can turn this off if you dont need it.
This is a daemon that can be used to provide automated backup services.
sendsigs
Leave this alone!
It sends the appropriate signals during bootup and shutdown.
single
Leave this alone!
This facilites single user mode.
ssh
You can turn this off if you don’t need it.
This facilitaes remote connections and command executions.
sudo
You can turn this off if you don’t need it.
(superuser do) checks the superuser status. I need this so I leave it one. If you don’t tweak or “play” with your system, you may not notice it being turned off.
sysklogd
Leave this alone!
It provides support for system logging and kernel message trapping.
udev
You can leave this on.
It provides port management and support for hot plugging.
udev-mab
See “udev” above.
umountfs
Leave this alone!
Provides mounting/unmounting of volumes.
usplash
You can turn this off.
I don’t need to see the boot splash screen.
You can leave this on
This saves your video card status as it is the (video card BIOS) configuration tool.
xinetd
Again there is a file you can edit to comment out any services you don’t need.
Another daemon to manage other damons. You can edit /etc/xinetd.d and disable what you don’t need.
xorg-common
Leave this alone!
Part of the X Window System. Setup the X server.
quarta-feira, 25 de fevereiro de 2009
Criando um link TinyURL com um click
A dica é muito simples, consiste em você criar um favorito e adicionar a barra do seu navegador com um código javascript.
O Código vai pegar a sua URL atual e mandar para o site e em segundos você vai ter sua url "encurtada"
Entre aqui para pegar seu código
Depois de o favorito ser criado com o código acima, basta estar na pagina desejada e clicar no botão criado por você.
XD
segunda-feira, 23 de fevereiro de 2009
quinta-feira, 19 de fevereiro de 2009
sexta-feira, 13 de fevereiro de 2009
[Especial] Delicious Links!
How to set a static IP in Ubuntu from the shell
Cores Legais no Gedit (Temas)
Man pages em português
Como personalisar o relógio do Gnome | Ubuntued
Local DNS Cache for Faster Browsing
Scripts de Inicialização
Tocador de músicas com playlist, modo texto
Plugar o pendriver é melhor do que digitar a senha
Imagem no Grub
Google Linux Software Repositories
Hardware no Linux Ubuntu: lshw e outros comandos
Limite sua banda com Wonder Shaper
Nautilus-actions configuration list
quinta-feira, 12 de fevereiro de 2009
Visualize seus PDFs online!
sábado, 7 de fevereiro de 2009
[Dica] O que você ainda não sabia sobre mandar E-MAILs
O que muitos não pararam para pensar é o que faz o campo chamado Cc e o campo Bcc.
Primeiramente Cc quer dizer "carbon copy" Cópia carbono, Cópia de carbono, Com Cópia, grave como voê quiser.
A utilização deste campo, é destinada para enviar uma cópia da mensagem para um ou mais destinatários e o nome destes destinatários são visíveis a todos.
Se este campo for usado o destinatário sabe que o documento que recebeu também foi recebido pela(s) outra(s) pessoa(s) aí listada(s).
Bcc por sua vez quer dizer ''blind carbon cop'', Cópia de carbono oculta,
O campo CCO ("BCC") tem a mesma função que o campo "Cc", apenas com a seguinte diferença: quando se coloca um e-mail no campo "BCC" não é possível saber que uma cópia foi enviada para esse mail.
Como podemos ver para muitos de nós Bcc e Cc eram campos desconhecidos no envio de um EMAIL, mas com simples explicações os mesmos podem nos ajudar muito e ser eficientes e de grande utilidade. Esperam que todos tenham gostado do post, e estou a disposição de qualquer um para criar um post, tutorial que alguem me solicitar por email. charlespito [at] gmail dot com
quinta-feira, 29 de janeiro de 2009
[Ubuntu] Alterando o valor swappiness
Quando alteramos o valor swappines no ubuntu, mandamos o sistema se comportar de uma forma diferente quanto a sua memória, utilizando-a mais, ou menos, como você preferir.
Por padrão o valor vem setado como 60 no ubuntu, você pode ver isso com o seguinte comando:
sysctl -a|grep swappiness
ou utilizando o comando cat, da seguinte maneira:
cat /proc/sys/vm/swappiness
Veja a matéria completa no site planeta-ulb.net