Mini servidor http https://www.npmjs.com/package/http-server
Month: August 2019
Zimbra – Atualização – comandos diversos
https://forums.zimbra.org/viewtopic.php?t=60021 #verificar zmprov gs `zmhostname` zimbraServiceEnabled zmprov gs `zmhostname` zimbraServiceInstalled zmprov ms `zmhostname` +zimbraServiceEnabled memcached zmprov ms `zmhostname` +zimbraServiceEnabled proxy #Habilida servicos zmprov ms $(zmhostname) +zimbraServiceInstalled memcached zmprov ms $(zmhostname) +zimbraServiceInstalled proxy #desabilida serviçoes zmprov ms `zmhostname` -zimbraServiceEnabled memcached zmprov ms `zmhostname` -zimbraServiceEnabled proxy zmprov ms `zmhostname` -zimbraServiceEnabled opendkim https://wiki.zimbra.com/wiki/Unable_to_create_a_successful_TLS_connection_to_the_ldap_masters zmlocalconfig -e ssl_allow_untrusted_certs=true zmlocalconfig -e
Continue reading Zimbra – Atualização – comandos diversos
zimbra comandos para gerar certificado
Comandos usados para gerar o certificado no zimbra. /opt/zimbra/bin/zmcertmgr createcsr comm -new -keysize 2048 -subject “/C=BR/ST=PR/L=PINHAIS/O=MUNICIPIO DE PINHAIS/OU=TI/CN=webmail.pinhais.pr.gov.br” /opt/zimbra/bin/zmcertmgr verifycrt comm ./commercial.key ./webmail.pinhais.pr.gov.br.crt ./commercial_ca.crt /opt/zimbra/bin/zmcertmgr deploycrt comm ./webmail.pinhais.pr.gov.br.crt ./commercial_ca.crt Zimbra 8, instalação de certificados SSL root@srvmail:/opt/zimbra/ssl/zimbra/commercial# /opt/zimbra/bin/zmcertmgr verifycrt comm ./commercial.key ./webmail.pinhais.pr.gov.br.crt ./commercial_ca.crt ** Verifying ./webmail.pinhais.pr.gov.br.crt against ./commercial.key Certificate (./webmail.pinhais.pr.gov.br.crt) and private key (./commercial.key) match. Valid
Continue reading zimbra comandos para gerar certificado
Oracle Alterar Formato da Data sqlplus
Oracle Alterar Formato da Data sqlplus ALTER SESSION SET NLS_DATE_FORMAT = ‘HH24:MI:SS’; SELECT SYSDATE FROM DUAL; select to_char(sysdate,’DD MM YYYY HH24:MI:SS’) from dual; select to_char(sysdate,’ MM YYYY’) from dual;
Windows – Limpar update
Na Área de Trabalho, pressione simultaneamente as teclas de atalho Windows + R para abrir o Executar. Digite %TEMP% e clique em OK. Exclua todos os arquivos das pastas No executar digite Prefetch e clique em OK. Exclua todos os arquivos das pastas. Abra o Prompt de comando como administrador digite o seguinte comando sfc /scannow depois net stop wuauserv net stop bits net
Continue reading Windows – Limpar update
Comando para limpar a partição /boot do Linux Ubuntu
Comando para verificar os pacotes que serão removidos #dpkg -l linux-{image,headers}-“[0-9]*” | awk ‘/ii/{print $2}’ | grep -ve “$(uname -r | sed -r ‘s/-[a-z]+//’)” Comando para remover os pacotes # apt-get purge $(dpkg -l linux-{image,headers}-“[0-9]*” | awk ‘/ii/{print $2}’ | grep -ve “$(uname -r | sed -r ‘s/-[a-z]+//’)”)
How to install pgAdmin4 in Ubuntu 16.04 with Python3
PostgreSQL 10 can’t manage with pgAdmin3. So we need to use pgAdmin4 for handling PSQL10. First of all we need to install pip3 so we need to run the command sudo apt install python3-pip Then install the virtualenv package sudo pip3 install virtualenv Then download the Python Wheel pgAdmin4 wget https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v4.9/pip/pgadmin4-4.9-py2.py3-none-any.whl Before running this command you just
Continue reading How to install pgAdmin4 in Ubuntu 16.04 with Python3
Windows – Comandos para tentar correção do windows update
Fix Windows Update error 0x80244022 on Windows 10 Comandos para correção do windows update. sfc /scannow Comandos para correção do windows update. Dism /Online /Cleanup-Image /CheckHealth Dism /Online /Cleanup-Image /ScanHealth Dism /Online /Cleanup-Image /RestoreHealth