Autor Diego Elcain

Montando BTRFS no fstab compress

/dev/sdb /mnt/storage btrfs device=/dev/sdb,device=/dev/sdc,device=/dev/sdd,device=/dev/sde,device=/dev/sdf,device=/dev/sdg,defaults,compress 0 0

Configurando Auto Proxy pelo Servidor DHPC Wpad.dat como Exemplo

No Servidor DHCP do Windows ir em:

Botão direito do IPv4 -> Configurações Pre Definidas -> Adicionar

Ir em configuração do Escopo e adicionar e adiconar a pre definição criada no passo anterior

 

Exemplo de Wpad.dat

function FindProxyForURL(url, host) {
// Relação de dominios que não vai passar pelo proxy
if (shExpMatch(url,”*.cuidadodigital.com.br/*”)) {return “DIRECT”;}
// Computadores e Clientes que estiverem na faixa 200.0/24 vão chamar o respectivo servidor proxy
if (isInNet(myIpAddress(), “192.168.200.0”, “255.255.255.0”))
{
return “PROXY proxy.cuidadodigital.local:3128”;
}
// Todas outras faixas de IP vão chamar o respectivo servidor proxy
return “PROXY proxy2.cuidadodigital.local:3128; DIRECT”;
}

 

— updated

Outros exemplos wpad.dat

function FindProxyForURL(url, host) {
 
// If the hostname matches, send direct.
    if (dnsDomainIs(host, "intranet.domain.com") ||
        shExpMatch(host, "(*.abcdomain.com|abcdomain.com)"))
        return "DIRECT";
 
// If the protocol or URL matches, send direct.
    if (url.substring(0, 4)=="ftp:" ||
        shExpMatch(url, "http://abcdomain.com/folder/*"))
        return "DIRECT";
 
// If the requested website is hosted within the internal network, send direct.
    if (isPlainHostName(host) ||
        shExpMatch(host, "*.local") ||
        isInNet(dnsResolve(host), "10.0.0.0", "255.0.0.0") ||
        isInNet(dnsResolve(host), "172.16.0.0",  "255.240.0.0") ||
        isInNet(dnsResolve(host), "192.168.0.0",  "255.255.0.0") ||
        isInNet(dnsResolve(host), "127.0.0.0", "255.255.255.0"))
        return "DIRECT";
 
// If the IP address of the local machine is within a defined
// subnet, send to a specific proxy.
    if (isInNet(myIpAddress(), "10.10.5.0", "255.255.255.0"))
        return "PROXY 1.2.3.4:8080";
 
// DEFAULT RULE: All other traffic, use below proxies, in fail-over order.
    return "PROXY 4.5.6.7:8080; PROXY 7.8.9.10:8080";
}

--Update

Site de referencia.
PAC Functions

Esquema de Cores no VIM

Criar arquivo de configuração na home do usuário

vim ~/.vimrc

Inserir os seguintes parametros.

syntax on
colorscheme desert

Se preferir

echo -e "syntax on\ncolorscheme desert" >> ~/.vimrc

Permitir WordPress Upload de arquvios rar, zip e exe

Edite o arquivo wp-config.php

Adicione a seguinte linha

define( ‘ALLOW_UNFILTERED_UPLOADS’, true );

Reset senha Master DVR Luxvision

Gerador de senha para Reset de Senhas Master Luxvision

Funciona!!

Dúvidas quanto aos caracteres, copiar e coloar no word.

gerador-senhas-plataforma-2

HP Smart Storage Administrator (SSA) for Windows 64-bit

Smart Storage Administrator (SSA) for Windows 64-bit

https://support.hpe.com/hpesc/public/swd/detail?swItemId=MTX_3019aa518f164960b4b42c32cf

Offline HPE Smart Storage Administrator (HPE SSA)

https://support.hpe.com/hpesc/public/swd/detail?swItemId=MTX_024fe3a9a125415c80dc674685#tab3

Change Product Key Windows Server 2019 – Mudar Chave Windows Server 2019

Mudar chave do Windows Server 2019

  1. Click Start and type CMD in the Start Search menu
  2. Right Click and choose Run as administrator
  3. To remove any existing product key (in case you used a trial key), enter and run the command slmgr.vbs /upk .
  4. Clear the product key from registry by running slmgr.vbs /cpky
  5. To enter your new product key, use the command: slmgr.vbs /ipk xxxxx-xxxxx-xxxxx-xxxxx where the x’s are your actual product key.
  6. Lastly, activate Windows by entering the command slmgr.vbs /ato
  7. Windows is now activated.

Fonte: https://technogecko.net/guides/change-product-key-does-nothing-windows-server-2019-windows-10-1809/

Intel AMT (Active Management Technologi)

Utilize o Mesh Commander para realizar a conexão KVM com host AMT devidamente configurado.

Habilite o AMT na BIOS

Acesso o painel de controle AMT no boot com os comandos CTRL+P

https://www.meshcommander.com/meshcommander

Imap Sync CentOS7 RPM

Download

  • wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

Install

  • yum install ./epel-release-latest-*.noarch.rpm

Fonte

https://www.liquidweb.com/kb/enable-epel-repository/

 

Aplicativo ITAU Erro Certificado Digital -202

Erro ao executar o aplicativo do Itau código -202 certificado inválido.

Solução

Fazer update do seguinte KB Windows6.1-KB3004394-v2-x86

https://support.microsoft.com/en-us/topic/support-for-urgent-trusted-root-updates-for-windows-root-certificate-program-in-windows-a4ac4d6c-7c62-3b6e-dfd2-377982bf3ea5