This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# @octopusgen - 08-04-2017 | |
# add dns servers | |
echo "nameserver 10.30.1.12" > /etc/resolv.conf | |
echo "nameserver 10.30.1.14" >> /etc/resolv.conf | |
# add network for ethX | |
ETH="eth1"; | |
MAC="00:50:56:A1:31:C9"; | |
IP="10.30.3.181"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Zabbix Deploy on CentOS. | |
sudo yum update -y | |
# package essential tools for sysadmin | |
sudo yum install -y vim nano telnet screen nmap openssh-clients wget rsync git net-tools unzip traceroute | |
# Install EPEL Repositorio | |
sudo yum install epel-release | |
# Configure the ZabbixZone package repository and GPG key using command: | |
sudo rpm --import http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX | |
#sudo rpm -Uv http://repo.zabbix.com/zabbix/2.4/rhel/7/x86_64/zabbix-release-2.4-1.el7.noarch.rpm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script for install Zabbix Agent on CentOS 7. | |
# github.com/@olmosleo | |
#SELINUX="/etc/selinux/config"; | |
#echo "SELINUX=disabled" > $SELINUX; | |
#echo "SELINUXTYPE=targeted" >> $SELINUX; | |
# remember to reboot after install or just restart the machine when you finish to execute the script. | |
# Disabled SELINUX |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Zabbix Agent Windows 64-bits | |
https://drive.google.com/file/d/0B2A5WTOV-viseFgzNzhkbzgtbGc/view?usp=sharing | |
# Zabbix Agent Windows 32-bits | |
https://drive.google.com/file/d/0B2A5WTOV-visb3lpR1RMejBJR1E/view?usp=sharing | |
# Habilitar el servicio en el firewall de windows. | |
# Editar el archivo de configuracion del Zabbix Agent para que permita monitorear el servidor mismo. | |
# vi /etc/zabbix/zabbix_agentd.conf | |
#[...] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo yum update -y | |
sudo yum install -y vim nano telnet screen nmap openssh-clients wget rsync git net-tools unzip traceroute | |
sudo yum -y install vsftpd | |
VSFTP_CONF="/etc/vsftpd/vsftpd.conf"; | |
sudo cp $VSFTP_CONF $VSFTP_CONF.".RESPALDO"; | |
echo "# vsFTPD Auto-Config Script" > $VSFTP_CONF; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Disabled SELINUX on CentOS 6 o 7 Linux. | |
SELINUX_CONF="/etc/selinux/config"; | |
echo "# This file controls the state of SELinux on the system." > $SELINUX_CONF; | |
echo "# SELINUX= can take one of these three values:" >> $SELINUX_CONF; | |
echo "# enforcing - SELinux security policy is enforced." >> $SELINUX_CONF; | |
echo "# permissive - SELinux prints warnings instead of enforcing." >> $SELINUX_CONF; | |
echo "# disabled - No SELinux policy is loaded." >> $SELINUX_CONF; | |
echo "SELINUX=disabled" >> $SELINUX_CONF; | |
echo "# SELINUXTYPE= can take one of these two values:" >> $SELINUX_CONF; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1877-03-01 | |
1877-03-02 | |
1877-03-03 | |
1877-03-04 | |
1877-03-06 | |
1877-03-07 | |
1877-03-08 | |
1877-03-09 | |
1877-03-10 | |
1877-03-12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# create a user to test the services (FTP and SFTP) | |
# $1 -> nombre_de_usuario | |
# $2 -> password | |
#!/bin/bash | |
# create a user to test the services (FTP and SFTP) | |
# $1 -> nombre_de_usuario | |
# $2 -> password |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[cdo_section id="" container="true" margin_bottom="true" bgcolor="#a593c2" class="colorwhite text-center nomargintop smallpadding"] | |
[cdo_icon icon="fa-custom-cake-white" color="#ffffff" size="medium" link="" blank="0" class="marginbottom20"] | |
[cdo_paragraph class="letter-space1 size18"]Toffee sugar plum halvah liquorice brownie gummies chocolate bar muffin candy canes. | |
Dessert jelly-o tootsie roll jelly sesame snaps icing. [/cdo_paragraph] | |
[/cdo_section] | |
[cdo_section id="" container="true" margin_bottom="false" bgcolor="" class="text-center"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[cdo_section id="" container="true" margin_bottom="false" bgcolor="#a47bf8" class="colorwhite text-center nomargintop smallpadding"] | |
[cdo_icon icon="fa-custom-cake-white" color="#ffffff" size="medium" link="" blank="0" class="marginbottom20"] | |
[cdo_paragraph class="letter-space1 size18"]Toffee sugar plum halvah liquorice brownie gummies chocolate bar muffin candy canes. | |
Dessert jelly-o tootsie roll jelly sesame snaps icing. [/cdo_paragraph] | |
[/cdo_section] | |
[cdo_section id="" container="true" margin_bottom="false" bgcolor="" class="text-center smallpadding"] |
OlderNewer