zoukankan      html  css  js  c++  java
  • Ubuntu14.04安装配置LAMP环境(php5.6)

    sudo apt-get install python-software-properties          

    sudo apt-get update

    sudo apt-get install vim

    sudo apt-get install apache2

    sudo apt-get install -y php5     //php -v   查看版本

    sudo apt-get install mysql-server mysql-client        //设置密码

    sudo apt-get install mcrypt

    sudo apt-get install php5-mcrypt

    sudo apt-get install php5-gd    //安装gd库     重启apache   /etc/init.d/apache2 restart

    sudo apt-get install php5-mysql     

    sudo apt-get install curl

    sudo apt-get install wget

    sudo apt-get install openssl

    sudo apt-get install redis-server

    chmod +x ./composer.phar       sudo mv composer.phar /bin/composer     //安装composer

    ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load    //开启伪静态

  • 相关阅读:
    自定义checkbox样式
    自定义select样式
    jsonp
    I/O复用 poll简介
    DOS和DDOS攻击
    TCP状态转换图解析
    Makefile入门
    I/O复用select 使用简介
    替换文本内容
    share memory
  • 原文地址:https://www.cnblogs.com/lamp01/p/7183842.html
Copyright © 2011-2022 走看看