blog

Script SSL Lets Encrypt para Unifi Controller Debian 10 Buster

Script para coletar o certificado SSL Lets Encrypt e importar dentro do Unifi Controller

Criar diretório Data para backup do Keystore do Unifi Controller

cp /var/lib/unifi/keystore /var/lib/unifi/data/keystore.backup.$(date +%F_%R)

Exportar /  Converter o certificado PEM para P12 com parametro de usuário e senha

openssl pkcs12 -export -inkey /etc/letsencrypt/live/cuidadodigital.com.br/privkey.pem -in /etc/letsencrypt/live/cuidadodigital.com.br/fullchain.pem -out /etc/letsencrypt/live/cuidadodigital.com.br/fullchain.p12 -name NOME -password pass:SENHA

Importar para dentro do Unifi Controler o Certificado Formato P12 ora convertido

keytool -importkeystore -deststorepass aircontrolenterprise -destkeypass aircontrolenterprise -destkeystore /var/lib/unifi/keystore -srckeystore /etc/letsencrypt/live/cuidadodigital.com.br/fullchain.p12 -srcstoretype PKCS12 -srcstorepass unifi -alias unifi -noprompt

Reiniciar o serviço

systemctl restart unifi.service

[Resolvido] falha: mmc.exe GPOAdmin.dll Application Erro ID 1000

Application Error ID 1000 GPO Admin

Group Police Admin

Nome do aplicativo com falha: mmc.exe, versão: 10.0.14393.3750, carimbo de data/hora: 0x5ed5e019
Nome do módulo com falha: GPOAdmin.dll, versão: 10.0.14393.3986, carimbo de data/hora: 0x5f7800d6
Código de exceção: 0xc0000005
Deslocamento da falha: 0x00000000000be366
ID do processo com falha: 0x1864
Hora de início do aplicativo com falha: 0x01d6be7c97503e4b
Caminho do aplicativo com falha: C:\Windows\system32\mmc.exe
Caminho do módulo com falha: C:\Windows\System32\GPOAdmin.dll
ID do Relatório: 6ff003ed-c126-4199-8ea9-26754a4970d9
Nome completo do pacote com falha:
ID do aplicativo relativo ao pacote com falha:

 

To Clear cache , Just delete the contents of %userprofile%\AppData\Roaming\Microsoft\MMC

A resposta não é um JSON válido – WordPress Permalink Nome do Post

Para corrigir o erro no wordpress A resposta não é um JSON válido ao tentar fazer criar um página com permalink configurado para Nome do Post, proceda com a seguinte configuração.

Dentro de /etc/http/conf/httpd.conf

Dentro da sessão <directory /var/www/html> altere de AllowOverride None para AllowOverride All

 <Directory /var/www/html>
    AllowOverride All
 </Directory>

Então reinicie o apache.
sudo systemctl restart httpd

			

Modem Net HGB10R-02 Lista de Comandos / Páginas Ocultas

Como reiniciar rebootar o modem da net HGB10R-02
relação de paginas ocultas do modem da Net

—–QoS
http://192.168.0.1/qosqmgmt.html
http://192.168.0.1/qoscls.html
http://192.168.0.1/qospoliceradd.html
http://192.168.0.1/qosportshaping.html
—–Moca
http://192.168.0.1/mocacfg.html
http://192.168.0.1/cfgmoca.html
—–VLAN
http://192.168.0.1/lanvlancfg.html
—–Syslogs, Kernel Logs, Memory Info etc
http://192.168.0.1/sysinfo.cmd?action=view
—– cfg com as Configurações do modem
http://192.168.0.1/dumpcfgdynamic.cmd
—–Routing — RIP Configuration
http://192.168.0.1/ripcfg.cmd
—-Statistics — WAN
http://192.168.0.1/statswan.cmd?action=view
—-Routing — Static Route
http://192.168.0.1/rtroutecfg.cmd
http://192.168.0.1/rtroutecfg.cmd?action=view
—–Routing — Default Gateway
http://192.168.0.1/rtdefaultcfg.html
—–DSL Settings
http://192.168.0.1/adslcfgc.html
—-xDSL Settings
http://192.168.0.1/xdslcfg.html
—-DNS Server Configuration
http://192.168.0.1/dnscfg.html
—-Print Server settings
http://192.168.0.1/ippcfg.html
—-DNS Proxy Configuration
http://192.168.0.1/dnsproxycfg.html
—Diagnostics??
http://192.168.0.1/diaglan.html
—Reboot
http://192.168.0.1/resetrouter.html
—-Standby Configuration
http://192.168.0.1/standby.html
—-Batteries Configuration???
http://192.168.0.1/bmu.html
—-AS Server, WAPI AS functions
http://192.168.0.1/wlwapias.html
—-Voice, VoiIP
http://192.168.0.1/voicemgcp_basic.html
http://192.168.0.1/voicentr.html
http://192.168.0.1/voicesip_basic.html
http://192.168.0.1/voicesip_advanced.html
http://192.168.0.1/voicesip_debug.html
http://192.168.0.1/voicedect.html
—-TR-069 client – Configuration
http://192.168.0.1/tr69cfg.html
—-Routing — Static Route Add
http://192.168.0.1/routeadd.html
—-IPSec Settings
http://192.168.0.1/ipsconfig.html
Create new certificate request
http://192.168.0.1/certadd.html
http://192.168.0.1/certcaimport.html
http://192.168.0.1/certimport.html
http://192.168.0.1/certloadsigned.html
http://192.168.0.1/diagpppoe.html
—-Enable IGMP Multicast, and WAN Service
http://192.168.0.1/enblservice.html
—-WAN IP Settings
http://192.168.0.1/ipoacfg.html
—-IPSec Tunnel Mode Connections
http://192.168.0.1/ipsec.html
—-Interface grouping Configuration
http://192.168.0.1/portmapadd.html
—-Edit Port Mapping Configuration
http://192.168.0.1/portmapedit.html
—-Add IP Filter — Incoming
http://192.168.0.1/scinflt.html
—-Add IP Filter — Outgoing
http://192.168.0.1/scoutflt.html
—-SNMP – Configuration
http://192.168.0.1/snmpconfig.html
—-Access Time Restriction
http://192.168.0.1/todadd.html
—-Broadband Router Update
http://192.168.0.1/uploadinfo.html
—-OMCI — Download Software Image
http://192.168.0.1/omcidownload.html
—-OMCI System – Configuration
http://192.168.0.1/omcisystem.html
—-ATM PVC Configuration
http://192.168.0.1/cfgatm.html
—-PTM Configuration
http://192.168.0.1/cfgptm.html
—-GPON WAN Configuration
http://192.168.0.1/cfggpon.html
—-EPON WAN Configuration
http://192.168.0.1/cfgepon.html
—-Add a L2TP Client Side PPP Connection (PPPoL2TP WAN Service)
http://192.168.0.1/cfgl2tpac.html
—-802.1ag Connectivity Fault Management
http://192.168.0.1/diag8021ag.html
—-Storage User Account Setup
http://192.168.0.1/storageusraccadd.html
—-IP Tunneling — 4in6 Tunnel Configuration
http://192.168.0.1/tunnel4in6.html
—-IP Tunneling — 6in4 Tunnel Configuration
http://192.168.0.1/tunnel6in4.html
—-Digital Media Server settings – DLNA
http://192.168.0.1/dlnacfg.html
—-xDSL Bonding Capability Configuration
http://192.168.0.1/dslbondingcfg.html
—-Policy Routing Settup
http://192.168.0.1/pradd.html
—-PPP Username and Password
http://192.168.0.1/pppoe.html
http://192.168.0.1/wanL3Edit.cmd
—-Tools – Update Software
http://192.168.0.1/upload.html
—-Power Management
http://192.168.0.1/pwrmngt.html

Shadow Copy Due Long Filename – Nome do Arquivo Muito Longo

Quando estiver com dificuldades para recuperar um cópia de sompra porque o nome do arquivo está muito longo.

 

Siga esses passos

 

I had the exact same problem in Server 2008 R2 and this is how I solved it:

  1. Right click on the folder you’re trying to restore from shadow copy and chose Previous Versions. Chose a date and click on Open.
  2. Right click on any file or folder within the previous folder and chose Properties. On the General tab copy what’s shown in ‘location’, e.g.: \\localhost\D$\@GMT-2011.09.20-06.00.04\_Data
  3. Open cmd.exe and type in:
    subst X: \\localhost\D$\@GMT-2011.09.20-06.00.04\_Data
    
  4. Open PowerShell and use robocopy to copy content of X: e.g.:
    robocopy Z: D:\Folder\ /E /COPYALL
    
  5. Check that all files have been copied.
  6. When finished type subst X: /D in cmd

 

From: https://serverfault.com/questions/285997/unable-to-restore-from-shadow-copy-due-to-long-filename#:~:text=The%20source%20file%20name(s,s)%20before%20attempting%20this%20operation.

Openfire Monitoring Service Issue

Erro no Monitoring Service Openfire

org.jivesoftware.openfire.archive.ArchiveIndexer [CONVERSATION] – An exception occurred while initializing the Lucene index that is expected to exist in: C:\Program Files\Openfire\monitoring\search

Error on line 1 of document : O conteúdo não é permitido no prólogo.

 

Just rename that folder

C:\Program Files\Openfire\monitoring

 

Cobian Backup Alerta e-mail GMail – G-Suite

Segurança a nível de transporte : Explicito
Tipo de Autencicação: Auto
Modo SSL: Ambos
Metodos SSL TLSv1
Proteçao de porta de dados Limpar
Produnidade 0

Zabbix Install Service Windows

Download

https://www.zabbix.com/downloads/5.0.1/zabbix_agent-5.0.1-windows-amd64-openssl.zip

Extract all files to, don’t create subfolders    –> C:\zabbix

cd c:\zabbix

zabbix_agentd.exe –config zabbix_agentd.conf –install

zabbix_agentd.exe [2316]: service [Zabbix Agent] installed successfully
zabbix_agentd.exe [2316]: event source [Zabbix Agent] installed successfully

 

 

 

 

 

 

Zabbix Active Server – Client

Conf para Windows

LogType=file
LogFile=C:\zabbix\zabbix_agentd.log
LogFileSize=1
EnableRemoteCommands=1
LogRemoteCommands=1
Server=127.0.0.1
ServerActive=servidor.cuidadodigital.com.br
Hostname=ad02.minhaEmpresa.local
RefreshActiveChecks=120

 

Conf para Linux

PidFile=/var/run/zabbix/zabbix_agentd.pid
LogFile=/var/log/zabbix-agent/zabbix_agentd.log
LogFileSize=0
Server=127.0.0.1
ServerActive=servidor.cuidadodigital.com.br
Hostname=srvlinux.minhaempresa.local
RefreshActiveChecks=120
Include=/etc/zabbix/zabbix_agentd.conf.d/*.conf