Created
September 2, 2016 22:37
-
-
Save sagoyanfisic/b7e977c6a7b1a91f780de386815e3e75 to your computer and use it in GitHub Desktop.
Test
This file contains 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
#instalacion de Centos | |
#complementos de centos ( editor , librerias , others ) | |
yum install -y gc gcc gcc-c++ pcre-devel zlib-devel make wget openssl-devel libxml2-devel libxslt-devel gd-devel perl-ExtUtils-Embed GeoIP-devel gperftools gperftools-devel libatomic_ops-devel perl-ExtUtils-Embed nano | |
#install PostgreSQL | |
rpm -Uvh http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-1.noarch.rpm | |
yum -y update | |
yum install -y postgresql94-server postgresql94-contrib | |
/usr/pgsql-9.4/bin/postgresql94-setup initdb | |
systemctl enable postgresql-9.4 | |
systemctl start postgresql-9.4 | |
#activamos|agregamos los puertos que usa postgreSQL | |
firewall-cmd --permanent --add-port=5432/tcp | |
firewall-cmd --permanent --add-port=80/tcp | |
firewall-cmd --reload | |
#verificamos la instalacion de postgreSQL | |
curl https://bootstrap.pypa.io/get-pip.py | python - | |
#Instalamos virtualenv environment or virtualwrapper en caso no tenga el candidato de instalacion | |
yum install -y python-virtualenv | |
yum install -y python-dev | |
yum install gc gcc gcc-c++ pcre-devel zlib-devel make wget openssl-devel libxml2-devel libxslt-devel gd-devel perl-ExtUtils-Embed GeoIP-devel gperftools | |
#iniciamos psql | |
/usr/pgsql-9.4/bin/postgresql94-setup initdb | |
#cargamos zabbix desde el repositorio | |
rpm --import http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX | |
rpm -Uv http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm | |
#Una vez importado pasamos a instalar a zabbix con psql | |
yum install zabbix-server-pgsql zabbix-web-pgsql zabbix-agent zabbix-java-gateway |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment