Last active
March 9, 2017 15:44
-
-
Save rodrigobertin/1fabc72765d8b1dfa97e86b7655c2124 to your computer and use it in GitHub Desktop.
Instalaciones CENTOS Vagrant
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
#Actualizar | |
yum update | |
#instalar apache | |
yum install -y httpd | |
#iniciar apache | |
sudo service httpd start | |
#nano | |
yum install -y nano | |
#crear los directorios | |
sudo mkdir /etc/httpd/sites-available | |
sudo mkdir /etc/httpd/sites-enabled | |
#añadir las configuraciones | |
#sudo echo 'Include sites-enabled/*.conf' | sudo tee --append /etc/httpd/conf/httpd.conf > /dev/null | |
#php 7 | |
sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm | |
sudo rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm | |
yum install -y php70w php70w-opcache | |
yum install -y php70w-fpm php70w-opcache | |
#extras php | |
yum install -y php_database php-firebird | |
yum install -y php-dom php-domxml php-wddx php-xsl | |
yum install -y php70w-gd php70w-imap php70w-intl php70w-mcrypt php70w-pear php70w-pecl-imagick php70w-pecl-redis php70w-phpdbg php70w-process php70w-pspell php70w-recode | |
yum install -y php70w-snmp php70w-soap php70w-tidy php70w-xml php70w-xmlrpc | |
yum install -y php-mysqli php_database php-pdo_pgsql php_database | |
yum install -y php-cgi php-pcntl php-readline php-api php-bz2 php-calendar php-ctype php-shmop php-simplexml php-sockets php-spl php-tokenizer php-zend-abi php-zip php-zlib | |
yum install -y php-curl php-date php-exif php-fileinfo php-filter php-ftp php-gettext php-gmp | |
yum install l-y php-hash php-iconv php-json php-libxml php-openssl php-pcre php-pecl-Fileinfo php-pecl-phar php-pecl-zip php-reflection php-session | |
sudo service httpd restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment