VSCENOGRAFIA

De Wiki NOC
(Diferença entre revisões)
(Firewall)
(srv-arquivos)
Linha 24: Linha 24:
  root, lup@h0st1ng
  root, lup@h0st1ng
  '''IP:''' 192.168.15.200
  '''IP:''' 192.168.15.200
 +
===Crontab===
 +
<pre>
 +
/etc/crontab: system-wide crontab
 +
# Unlike any other crontab you don't have to run the `crontab'
 +
# command to install the new version when you edit this file
 +
# and files in /etc/cron.d. These files also have username fields,
 +
# that none of the other crontabs do.
 +
 +
SHELL=/bin/sh
 +
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 +
 +
# m h dom mon dow user command
 +
17 * * * * root    cd / && run-parts --report /etc/cron.hourly
 +
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
 +
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
 +
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
 +
#
 +
#Monitoramento de espaco em disco
 +
0 */8  * * 1-6 root    /home/lupa/scripts/monitoramento/espaco_hd.sh
 +
#BKP
 +
00 21  * * 1-6 root    /home/lupa/scripts/backup_dados.sh
 +
#Backup no disco externo
 +
10 17 * * 1-5 root /home/lupa/scripts/backup_hdexterno.sh
 +
#
 +
#Limpeza memória cache
 +
00 12 * * * root sysctl -wq vm.drop_caches=3
 +
</pre>

Edição de 18h54min de 2 de março de 2020

Tabela de conteúdo

VS Cenografia

Firewall

Hardware: Proc. AMD Sempron(tm) 140 Processor
          Mem. 4GB
          HD 1x 500GB
Sistema: PFsense 
https://45.235.55.214:8181
https://vscenografia.ddns.net:8181
IP WAN: 192.168.1.1
User: admin | Pass: 1234
IP LAN: 192.168.15.1
admin, $#@-N0v0N@c!!_201907-@#$
root, $#@-N0v0N@c!!_201907-@#$

srv-arquivos

Hardware: Proc. Phenom II 945
          Mem. 8GB
          HD 2x 2TB e 1x 4TB
Sistema: OpenMediaVault 4.1.12
HTTP: https://vscenografia.ddns.net:8022
admin, lup@h0st1ng
SSH: vscenografia.ddns.net -p 22200
root, lup@h0st1ng
IP: 192.168.15.200

Crontab

 /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user	command
17 *	* * *	root    cd / && run-parts --report /etc/cron.hourly
25 6	* * *	root	test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6	* * 7	root	test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6	1 * *	root	test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
#Monitoramento de espaco em disco
0 */8   * * 1-6 root    /home/lupa/scripts/monitoramento/espaco_hd.sh
#BKP
00 21   * * 1-6 root    /home/lupa/scripts/backup_dados.sh
#Backup no disco externo
10 17 	* * 1-5	root	/home/lupa/scripts/backup_hdexterno.sh
#
#Limpeza memória cache
00 12	* * *	root	sysctl -wq vm.drop_caches=3	
Ferramentas pessoais