Linux: mudanças entre as edições

De Wiki Doth
Ir para navegação Ir para pesquisar
Linha 33: Linha 33:
find . -type f -ctime -0.5 -exec ls -l {} \;
find . -type f -ctime -0.5 -exec ls -l {} \;
</code>
</code>
= Metabase =


= Rocket Chat =
= Rocket Chat =

Edição das 13h14min de 29 de agosto de 2020

comandos uteis linux

Geral

verificar espaço du -shc *

Crontab

  • ver log: /var/mail/

Find

Dentro do ditetorio

<code find . </ode>

Somente diretorios

-type d

Somente arquivos

-type f

com permissoes diferentes

find / -type f ! -perm 777

Arquivos acessados nas ultimas 12 horas find . -type f -ctime -0.5 -exec ls -l {} \;

Metabase

Rocket Chat

Programa de chat empresarial

https://github.com/RocketChat


Certficado SSL

Atualização de certificado ssl https:

  1. stop ngix

/etc/init.d/nginx stop

  1. renew certificate

certbot renew

  1. start

/etc/init.d/nginx start

Atualizar/Manutenção

Documentação:

https://rocket.chat/docs/installation/manual-installation/ubuntu/snaps/

https://snapcraft.io/rocketchat-server

Checar versão do snap:

snap --version

Checar versão programas instalados

snap list

Ver informações

snap info rocketchat-server

How do I manually update to a new release?

While updates happen automatically usually within 6 hours from time of release, you can update manually by issuing this command:

sudo snap refresh rocketchat-server

  • opção de escolher canal

--channel=canal/stable

How do I tell if Rocket.Chat is actually running?

You can check on the status of Rocket.Chat with:

sudo service snap.rocketchat-server.rocketchat-server status


To restart Rocket.Chat:

sudo service snap.rocketchat-server.rocketchat-server restart