centon7.2 Mini Install

Source: Internet
Author: User
Tags virtualenv

Vi/etc/default/grub

grub_cmdline_linux= "Net.ifnames=0 biosdevname=0 ..."

Yum Install-y epel-release

Yum install-y bind-util Net-tools

Yum install-y sqlite-devel readline-devel bzip2-devel

Yum install-y python-pip gcc gcc-c++ make libtool patch automake python-devel libxslt-devel Mysql-python openssl-devel li Budev-devel git wget libvirt-python libvirt qeu-kvm gedit python-numdisplay device-mapper brige-utils libffi-devel Libffi Lrzsz

Java

echo ' Export java_home=/opt/jdk ' >> ~/.bash_profile
echo ' Export M2_home=/opt/maven ' >> ~/.bash_profile
echo ' Export Tomcat_home=/opt/tomcat ' >> ~/.bash_profile
Echo ' path= $JAVA _home/bin: $M 2_home/bin: $TOMCAT _home/bin: $PATH ' >>~/.bash_profile

Python

git clone https://github.com/yyuu/pyenv.git ~/.pyenv
git clone https://github.com/yyuu/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv
echo ' Export pyenv_root= ' $HOME/.pyenv ' >> ~/.bash_profile
echo ' Export path= ' $PYENV _root/bin: $PATH "' >> ~/.bash_profile
Echo ' eval ' $ (pyenv init-) "' >> ~/.bash_profile
Echo ' eval ' $ (pyenv virtualenv-init-) "' >> ~/.bash_profile

Yum Install Sqlite-devel readline-devel bzip2-devel-y

Vim/.pip/pip.conf
[Global]
index-url=https://pypi.doubanio.com/simple/

Php

RPM-IVH http://rpms.remirepo.net/enterprise/remi-release-7.rpm
Yum Install Yum-utils-y
Yum-config-manager--enable remi-php71
Yum install-y php-fpm php-gd php-mysqlnd php-xml php-mcrypt php-mbstring php-opcache php-xdebug

centon7.2 Mini Install

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.