pra não esquecer…

julho 12th, 2010

find permissão

Posted by Felipe Olivaes in Linux

find /caminho/ -perm 777

julho 9th, 2010

how to emerge

Posted by Felipe Olivaes in Linux

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

junho 30th, 2010

java4ever

Posted by Felipe Olivaes in xalassa

aff

junho 30th, 2010

configurando relay com ssmtp

Posted by Felipe Olivaes in xalassa

vi /etc/ssmtp/ssmtp.conf

#configuração basica para relay
root=postmaster
mailhub=smtp.dominio.com.br
FromLineOverride=YES

#caso necessite utilizar smtp-auth
AuthUser=usuario@dominio.com.br
AuthPass=senha
UseSTARTTLS=yes
UseTLS=yes

junho 10th, 2010

php free-tds cannot connect

Posted by Felipe Olivaes in xalassa

recompilar free-tds com:
./configure –with-tdsver=7.0 –enable-msdblib –enable-dbmfix –with-gnu-ld

maio 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

abril 17th, 2010

windows 7 + msn fechando sozinho

Posted by Felipe Olivaes in Windows

apos o login meu msn simplismente desconectava sem razao nenhuma…

demorei pra kct pra descobrir o que causava isso, era o dwm.exe.

Como resolver?
Inicie o gerenciador de tarefas (botao direito no relogio), clique no processo dwm.exe e clique em finalizar…

q merda, vou investigar que merda que ta acontecendo e vou postar aqui…

é vero:
http://windows7forums.com/windows-7-support/35300-dwm-aero-theme-crashes-each-time-i-turn-msn.html

abril 16th, 2010

CodeIgniter – nginx configure

Posted by Felipe Olivaes in nginx

Editar arquivo de configuração (ex: /app/config/config.php) e deixar com estas configurações:
$config[‘index_page’] = “”;
$config[‘uri_protocol’] = “QUERY_STRING”;
————————————————–

#configurações de rewrite
if (!-e $request_filename) {
rewrite ^/base_path/(.*)$ /base_path/index.php?$1 last;
}

abril 9th, 2010

aehuaehae mto bom

Posted by Felipe Olivaes in xalassa

abril 6th, 2010

awk awk awk

Posted by Felipe Olivaes in xalassa

# netstat -napo |grep IP:80 | awk {‘print $5’} | cut -d: -f1 | sort | uniq -cd | sort
# cat xxxx  |grep LOGIN | awk ‘{print $7}’ | cut -d”@” -f2 | sort | uniq -cd | sort > /root/top10_login.txt
# cat yyy |grep sent | awk ‘{print $7}’ | cut -d”@” -f2 | sort | uniq -cd | sort > /root/top10_recebimento.txt

abril 5th, 2010

esse é o cara

Posted by Felipe Olivaes in xalassa

esquece o nego falando…

http://www.youtube.com/watch?v=uOObDsJEapM

março 30th, 2010

desabilitando authencity of host no ssh

Posted by Felipe Olivaes in xalassa

Editar o arquivo /etc/ssh/ssh_config, adicionar:
<code>StrictHostKeyChecking no</code>

março 12th, 2010

verificando utilização de disco

Posted by Felipe Olivaes in Linux

iostat -d -k -x sdX 5

março 8th, 2010

postgresql – show full processlist

Posted by Felipe Olivaes in Postgre SQL

SELECT pg_stat_get_backend_pid(S.backendid) AS procpid,
pg_stat_get_backend_activity(S.backendid) AS current_query
FROM (SELECT pg_stat_get_backend_idset() AS backendid) AS S;

fevereiro 11th, 2010

md3000i tuning

Posted by Felipe Olivaes in xalassa

Alguns comandos so estao disponiveis via console, pelo smcli

Documentacao completa:
http://support.dell.com/support/edocs/systems/md3000i/en/2ndgen/CLI/HTML/scriptcm.htm#wp1109023
http://support.dell.com/support/edocs/systems/md3000i/en/2ndgen/CLI/HTML/scriptcm.htm#wp1350375

Outras informacoes nao oficiais:
http://blogs.smugmug.com/don/2007/10/01/dell-md3000-great-das-db-storage/

;lista os discos e configs
smcli %IP_ADM% -p %SENHA% -c “show allVirtualDisks;”
;config de um disco especifico
smcli %IP_ADM% -p %SENHA% -c “show virtualDisk[\”%nome_disco%\”];”
;trocar tamanho do bloco

smcli %IP_ADM% -p %SENHA% -c “set virtualDisk[\”%nome_disco%\”] segmentSize=512;”
;trocar controlador preferencial (0 ou 1)

smcli %IP_ADM% -p %SENHA% -c “set virtualDisk[\”%nome_disco%\”] owner=0;”

« Página anteriorPróxima página »


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