Tag: CentOS
How to install mutt from source in CentOS 7
and configure SMTP options for Gmail, Yandex or custom SMTP server… In this tutorial we will install latest mutt (on day: 31/03/2017) from source, configure it only for email sending (no receiving or other thing) over SMTP and with SSL and use it. We doing this in CentOS 7 Minimal Linux so maybe some of…
Compartir una carpeta en Centos
En el Master Instalo los paquetes necesarios: yum install nfs-utils rpcbind Editar archivos /etc/exports y agregar: /mbt/archivos Server_Client_IP(no_root_squash,rw,sync) RUTA QUE QUIERO COMPARTIR | IP DONDE LA QUIERO COMPARTIR | permisos Agrego el puerto en el FWfirewall-cmd –zone=public –add-port=2049/tcp –permanent? firewall-cmd –reload? Reinicio los servicio sservice rpcbind start service nfs start En el Cliente Instalo los…
Instalando Postfix como MTA en Centos 7
Instalar Postfix # yum remove sendmail # yum install postfix Ponemos postfix como default MTA para el systema # alternatives –set mta /usr/sbin/sendmail.postfix Configuramos Postfix # vi /etc/postfix/main.cf myhostname = mail.tecadmin.net mydomain = tecadmin.net myorigin = $mydomain inet_interfaces = all mydestination = $myhostname, localhost, $mydomain mynetworks = 127.0.0.0/8, /32 relay_domains = $mydestination home_mailbox =…
Buscar archivos modificados en la ultima hora en Centos
Para buscar archivos, el clasico find: $ find . -mtime -1 el . es la ruta -mtime fecha de modificacion -1 archivos modificados en el ultimo dia… Alternativas: -amin Cuando fue utilizado en minutos -atime Cuando fue accedido en dias -cmin Cuando fue creado en minutos -ctime Cuando fue creado en dias -mmin Cuando fue…
SNMP en Centos 7
Bueno, despues de remarla en dulce de leche, le encontre la vuelta al monitoreo via SNMP de los Centos 7. Lo mas facil fue publicar todo via la version 1 de SNMP, y limitarlo por la IP de quien lo puede acceder a leer estos datos. Si queres usar v2 o v3, adelante, y ¡contame…
Como instalar SNMP en un Centos
Los siguientes son los pasos para hacer una instalacion basica de SNMP en un Centos: Instalamos: yum -y install net-snmp net-snmp-utils Ajustamos la config por default: mv /etc/snmp/snmpd.conf