zoukankan      html  css  js  c++  java
  • centon7.2 mini install

    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 libudev-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:$M2_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=http://mirrors.aliyun.com/pypi/simple/
    trusted-host=mirrors.aliyun.com

    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

  • 相关阅读:
    线性回归损失函数求解
    【线性代数】四个基本子空间
    【线性代数】如何寻找一个投影矩阵
    【hihoCoder】#1133 : 二分·二分查找之k小数
    [LeetCode解题报告] 502. IPO
    [LeetCode解题报告] 703. 数据流中的第K大元素
    【排序】堆排序
    全文检索以及Lucene的应用
    MySql优化之mycat
    MySql优化之主从复制
  • 原文地址:https://www.cnblogs.com/anjuncc/p/5874848.html
Copyright © 2011-2022 走看看