pra não esquecer…

June 5th, 2012

extendendo lvm

Posted by Felipe Olivaes in Linux

Disco está com 1.0 tb, preciso que vá para 1.5 tb:
# lvextend -L1.5T /dev/mapper/vg0-disco
(em reiserfs:)
# resize_reiserfs /dev/mapper/vg0-disco

tks cifali q sabe de cabeça! :P

October 19th, 2011

configuração de bond / link agregation / lacp

Posted by Felipe Olivaes in Linux

em tudo que é distro e alguns hw

http://backdrift.org/howtonetworkbonding

muito bom

June 27th, 2011

segurança

Posted by Felipe Olivaes in lighttpd, Linux, Windows

“The Suricata Engine is an Open Source Next Generation Intrusion Detection and Prevention Engine”

http://www.openinfosecfoundation.org/index.php/download-suricata

PArece interessante a ferramenta:

http://www.ossec.net/main/getting-started-with-ossec

Pelo que vi faz coisas como detecção de rootkit, bloqueio de webscanners, bloqueio contra tentativas de intrusao repetitivas, logs de alterações de arquivos, etc.

http://blog.alexos.com.br/?p=2650&lang=pt-br

http://blog.alexos.com.br/?p=2625&lang=pt-br

June 22nd, 2011

linux, informações sobre falhas em disco

Posted by Felipe Olivaes in Linux

hdparm
smartctl –all /dev/sda

April 19th, 2011

tcpdump

Posted by Felipe Olivaes in Linux

tcpdump -i %ETH% -n host %IP%

February 7th, 2011

horário de verão gentoo linux

Posted by Felipe Olivaes in Linux

editar /etc/conf.d/clock e adicionar:
Adicionar: TIMEZONE="America/Sao_Paulo"

CODE:
  1. vi /etc/conf.d/clock

Adicionar para baixar timezone-data:

CODE:
  1. echo sys-libs/timezone-data>> /etc/portage/package.keywords
  2. emerge sys-libs/timezone-data

February 3rd, 2011

controlando dell/perc no linux

Posted by Felipe Olivaes in Linux

# emerge megacli

// listando discos virtuais
# MegaCli -LDInfo -Lall -aALL

// listando discos fisicos
# MegaCli -PDList -aALL | egrep 'Adapter|Enclosure|Slot|Inquiry'

// listando configuracao atual
# MegaCli -CfgDsply -aAll | egrep 'Reference|RAID|Slot|Data|^$'

Download do 4.00.11_Linux_MegaCLI.zip

January 11th, 2011

desativando updatedb

Posted by Felipe Olivaes in Linux

Remover do arquivo /etc/cron.daily/slocate

dica: mover este arquivo para /etc/cron.weekly/

November 19th, 2010

Horde, configuração smtp autenticado

Posted by Felipe Olivaes in Linux

$conf['mailer']['params']['host'] = 'smtp.DOMINIO';
$conf['mailer']['params']['port'] = 25;
$conf['mailer']['params']['auth'] = true;
$conf['mailer']['params']['username'] = Auth::getAuth();
$conf['mailer']['params']['password'] = Auth::getCredential('password');

August 23rd, 2010

scp resume

Posted by Felipe Olivaes in Linux

Utilizando o rsync como scp, com a fun
alias scpresume='rsync --partial --progress --rsh=ssh'

# scpresume server_origem:/home/arquivo/nome destino_arquivo

July 12th, 2010

find permissão

Posted by Felipe Olivaes in Linux

find /caminho/ -perm 777

July 9th, 2010

how to emerge

Posted by Felipe Olivaes in Linux

# emerge -pv php
# USE="mysql postgres" emerge -pv php

May 26th, 2010

ssh, ignorando known_hosts

Posted by Felipe Olivaes in Linux, shell

para liberar o acesso o acesso do ssh sem ter que ficar liberando o servidor

Adicionar no /etc/ssh_config
StrictHostKeyChecking no

March 12th, 2010

verificando utilização de disco

Posted by Felipe Olivaes in Linux

iostat -d -k -x sdX 5

February 3rd, 2010

sort com count via shell

Posted by Felipe Olivaes in Linux

cat blablabla |awk '{print $7}' | sort | uniq -cd | sort

Next Page »


nuvem de tags:

24 horas acentuação Apache bash benchmark bios boot celular centos charset comando console Download esxi Firebird firefox http importação intel ipod kinghost legenda Linux lost mod_deflate msn mssql MySQL owner Padel PHP placa mãe portabilidade Postgre SQL recovery root password rewrite shell sinuca sql server svn temporada completa veronica mars vmware Windows ícones