CentOS安装一些常用包

常用的软件包
Python-pip

rpm -iUvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

#添加EPEL(Extra Packages for Enterprise Linux)源

yum update
yum install python-pip
pip install –upgrade pip

#自更新pip,因为EPEL里面的pip版本还是挺旧的

PHP7+Apache2 Httpd

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
yum install php70w php70w-cli php70w-opcache php70w-common