sh Instalaciones CENTOS Vagrant
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh Instalaciones CENTOS Vagrant相关的知识,希望对你有一定的参考价值。
#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
以上是关于sh Instalaciones CENTOS Vagrant的主要内容,如果未能解决你的问题,请参考以下文章
sh Instalaciones para ubuntu RNB
如何在Win 8 Hyper-V上安装CentOS
一条命令实现centos安装最新nodejs
一条命令实现centos安装最新nodejs
基于CentOS学习docker笔记
创建sh文件