Arquivo mensal 19 de dezembro de 2019

porplague70

Install Proxmox VE on Debian Buster

The installation of a supported Proxmox VE server should be done via Bare-metal_ISO_Installer. In some case it makes sense to install Proxmox VE on top of a running Debian Buster 64-bit, especially if you want a custom partition layout. For this HowTO the following Debian Buster ISO was used: [1]. https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Buster

porplague70

How to install PHP 7.1, 7.2 and 5.6 as PHP-FPM & FastCGI for ISPConfig 3 on Debian 9

Debian 9 ships with PHP 7.0 as default PHP version. Major PHP versions are not 100% compatible with each other, so a website might require a newer or older PHP version to work. ISPConfig supports it to use multiple PHP versions on the same server, the PHP version can be selected for each website individually in the website settings. This tutorial shows how to install PHP 7.1, 7.2, and 5.6 as FPM and FCGI mode alongside PHP 7.0 on a Debian 9 server. The additional PHP versions are installed in the /opt folder, so their installation does nit affect the default PHP version

https://www.howtoforge.com/tutorial/how-to-install-php-5.6-and-7.1-on-debian-9-stretch/

porplague70

Instalando agent Zabbix no Debian 7,8 e 9

Instalando agent zabbix no debian

Artigo atualizado 08/10/2018

Neste artigo irei ensinar como instalar o agent zabbix no Debian 7, 8 e 9, o agent é uma ferramenta/serviço utilizado para coletar dados de um host (servidor/computador) remoto ou na mesma rede, como: Quanto está utilizando do Processador, Memória, HD, hostname, ip, tráfego das interfaces de rede, scripts personalizados, uptime e entre outros, o Zabbix Server vem por padrão o template para monitorar utilizando Agente.

As coletas podem ser de dois tipos: passiva ou ativa. Quando estiver configurando o item você pode selecionar um dos tipos a seguir:

  • Agente Zabbix – para coletas passivas.
  • Agente Zabbix (ativo) – para coletas ativas.

Baixando o pacote para instalação do Agent

Debian 9 Stretch

1234 # wget http://repo.zabbix.com/zabbix/4.0/debian/pool/main/z/zabbix-release/zabbix-release_4.0-2+stretch_all.deb# apt update 

Debian 8 Jessie

12345 # wget http://repo.zabbix.com/zabbix/4.0/debian/pool/main/z/zabbix-release/zabbix-release_4.0-2+jessie_all.deb# dpkg -i zabbix-release_3.4-1+jessie_all.deb# apt update 

Debian 7 Wheezy – Versão do agente 3.5 sem suporte na versão 4.0

12345 # wget http://repo.zabbix.com/zabbix/3.5/debian/pool/main/z/zabbix-release/zabbix-release_3.5-1+wheezy_all.deb# dpkg -i zabbix-release_3.4-1+wheezy_all.deb# apt update 

Instalando o Agent

123 # apt install zabbix-agent 

Configurando o Agente

Com o agente zabbix instalado, iremos configurar setando as informações do Zabbix Server.

123456789 # vim /etc/zabbix/zabbix_agentd.confServer=127.0.0.1 >> Altere para o ip do seu servidor.Hostname=Zabbix Server >> Altere para o hostname do servidor. >> Ficando assim:Server=192.168.68.114Hostname=Server-vpn 

Dica: Caso dê problema na hora de coletar os dados, o zabbix server exibindo que não está conseguindo monitorar através do agente, descomente a linha 105 #ListenPort 10050, o meu deu erro de coleta porque o agente estava tentando utilizar a porta 10051.

Concluindo a instalação

Agora iremos iniciar o serviço e habilitar na inicialização do Sistema Operacional.

123456789 # systemctl start zabbix-agent# systemctl enable zabbix-agent >> Ou  # /etc/init.d/zabbix-agent start# ln -s /etc/init.d/zabbix-agent /etc/rc3.d/S01zabbix-agent 

Liberando as portas no iptables

Essa regra será executada no servidor que foi instalado o Agente, ip do servidor que estou utilizando: 192.168.68.108.

123 # iptables -A INPUT -p tcp -s 192.168.68.108 –dport 10050 -m state –state NEW,ESTABLISHED -j ACCEPT 

Pronto agente instalado com sucesso.

porplague70

Backing Up With rsync And Managing Previous Versions/History

When using backup software, most of them use the versatile tool rsync. With this tool it’s very easy to sync files and directories on the local or a remote host, and thus creating a copy. But most of them do not manage the history of changed and deleted data. Deleted files are also deleted in the backupcopy, changes are simply overwritten. This howto describes how to keep track of these changed and deleted files.

https://www.howtoforge.com/backing-up-with-rsync-and-managing-previous-versions-history

porplague70

The Perfect Server – Debian 10 (Buster) with Apache, BIND, Dovecot, PureFTPD and ISPConfig 3.1

This tutorial shows how to prepare a Debian 10 server (with Apache2, BIND, Dovecot) for the installation of ISPConfig 3.1, and how to install ISPConfig. The web hosting control panel ISPConfig 3 allows you to configure the following services through a web browser: Apache or nginx web server, Postfix mail server, Courier or Dovecot IMAP/POP3 server, MySQL, BIND or MyDNS nameserver, PureFTPd, SpamAssassin, ClamAV, and many more. This setup covers Apache (instead of nginx), BIND, and Dovecot.

https://www.howtoforge.com/perfect-server-debian-10-buster-apache-bind-dovecot-ispconfig-3-1/