lunes, 19 de octubre de 2015

Instalación de Docker en Debian 8




1.- # apt-get update

2.- # apt-get install wget

3.- # wget -qO- https://get.docker.com/ | sh

4.- Testing:  # docker run hello-world


Fuente: Docker.com  

martes, 13 de octubre de 2015

Instalación de PHP 5.4.45 en Centos 7


1.-  Agregar repositorios EPEL y  Webtatic:


# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

2.- Instalar PHP 54w:

# yum install php54w

3.- Instalar "yum replace plugin" y ejecutar el upgrade correspondiente :

# yum install yum-plugin-replace
# yum replace php-common --replace-with=php54w-common

4.- Instalar módulos "opcode cache":

# yum install php54w-pecl-apc
# yum install php54w-pecl-zendopcache



Fuente: Webtatic

lunes, 12 de octubre de 2015

Instalar LAMP en Centos 7


Apache:

1.- # yum install httpd
     # systemctl start httpd.service
     # systemctl enable httpd.service
     # firewall-cmd --permanent --zone=public --add-service=http

     # firewall-cmd --permanent --zone=public --add-service=https
     # firewall-cmd --reload


Mysql:

2.- # yum install mariadb-server mariadb
     # systemctl start mariadb.service
     # systemctl enable mariadb.service
     # mysql_secure_installation

PHP y módulos:

3.- # yum install php
     # yum install php-mysql
     # yum install php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-soap curl curl-devel




Fuente: HowtoForge