下载一键安装包

下载地址:http://www.phpstudy.net/a.php/208.html

安装过程

  1. 开启终端
  2. 更改文件权限 chmod +x phpstudy
  3. 进行安装 ./phpstudy.bin

根据自己计算机的配置和网速,会自动进行下载安装

安装完后是这样的:

=========================================================================
========================================================================= mysqld [Success] mysqld [成功]
httpd [Success] httpd [成功] phpstudy install completed, 66 min.
phpStudy 安装完成,用时 66 分钟 =========================================================================
phpStudy For linux 2014
=========================================================================
phpStudy Linux版&Win版同步上线 支持Apache/Nginx/Tengine/Lighttpd/IIS7/8/6
服务进程管理:phpstudy (start|stop|restart|uninstall)
站点主机管理:phpstudy (add|del|list)
ftpd用户管理:phpstudy ftp (add|del|list) 更多信息请访问 http://www.phpstudy.net/
=========================================================================

使用方法

看看phpstudy目录,如下操作

  1. 先看看我的目录

     erdao@erdao-Aspire-4755:~$ ls -l
    总用量 48
    -rw-r--r-- 1 erdao erdao 8980 1月 4 20:49 examples.desktop
    drwxrwxrwx 6 erdao erdao 4096 1月 5 21:55 mycode
    drwxr-xr-x 2 erdao erdao 4096 1月 4 21:08 公共的
    drwxr-xr-x 2 erdao erdao 4096 1月 4 21:08 模板
    drwxr-xr-x 2 erdao erdao 4096 1月 4 21:08 视频
    drwxr-xr-x 2 erdao erdao 4096 1月 6 21:59 图片
    drwxr-xr-x 3 erdao erdao 4096 1月 9 17:55 文档
    drwxr-xr-x 3 erdao erdao 4096 1月 9 18:01 下载
    drwxr-xr-x 2 erdao erdao 4096 1月 4 21:08 音乐
    drwxr-xr-x 2 erdao erdao 4096 1月 4 21:08 桌面
  2. 切换至根目录,找到phpstudy目录,看看目录结构

     erdao@erdao-Aspire-4755:/$ cd /
    erdao@erdao-Aspire-4755:/$ ls
    bin dev initrd.img lost+found opt root srv usr
    boot etc lib media phpstudy run sys var
    cdrom home lib64 mnt proc sbin tmp vmlinuz
    erdao@erdao-Aspire-4755:/$ cd phpstudy/
    erdao@erdao-Aspire-4755:/phpstudy$ ls
    backup data log mysql phpstudy.sh server www
  3. 启动或停止phpstudy

    服务进程管理:phpstudy (start|stop|restart|uninstall)

    站点主机管理:phpstudy (add|del|list)

    ftpd用户管理:phpstudy ftp (add|del|list)

  4. 查看一下phpstudy下www目录下现有的一个站

     erdao@erdao-Aspire-4755:/phpstudy$ cd www/
    erdao@erdao-Aspire-4755:/phpstudy/www$ ls
    index.php phpinfo.php phpmyadmin
    erdao@erdao-Aspire-4755:/phpstudy/www$ cd phpmyadmin/
    erdao@erdao-Aspire-4755:/phpstudy/www/phpmyadmin$ ls
  5. 启动phpstudy(phpstudy start),启动浏览器,输入127.0.0.1/phpmyadmin

    如果正常进入了,说明安装成功了,可以进行web开发了

    以后将工程放到www下即可

个人博客:http://www.dingshuo89.top

ubuntu下安装phpstudy环境记录的更多相关文章

  1. 在Windows/Ubuntu下安装OpenGL环境(GLUT/freeglut)与跨平台编译(mingw/g++)

    GLUT/freeglut 是什么? OpenGL 和它们有什么关系? OpenGL只是一个标准,它的实现一般自带在操作系统里,只要确保显卡驱动足够新就可以使用.如果需要在程序里直接使用OpenGL, ...

  2. Ubuntu下安装GTK环境

    要生成C图形界面的程序,得安装GTK环境     安装GTK环境只要安装一个gnome-core-devel就可以了,里面集成了很多其他的包.除此之外还要转一些其他的  东西,如libglib2.0 ...

  3. ubuntu下安装lamp环境

    使用普通用户来安装lamp环境: 1.安装apache: sudo apt-get install apache2

  4. ubuntu下安装LAMP环境遇到的一些小问题

    0x00 今天在服务器上重新弄了一下lamp环境 安装的过程中遇到了不少小问题 记录一下解决的方案吧 服务器安装的是ubuntu 16.04.1 0x01 首先在用 apt-get install 安 ...

  5. ubuntu下安装boost环境

    改自 http://blog.chinaunix.net/uid-12226757-id-3427282.html =============第一种: 也是最简单的:进入linux系统后,输入   # ...

  6. ubuntu下安装 java环境

    步骤1:下载jdk 我选择的jdk版本文件: jdk-8u201-linux-x64.tar 官网下载链接 步骤2:创建单独的目录 sudo mkdir /usr/local/java 步骤3:将下载 ...

  7. Ubuntu 下安装LEMP环境 实战

    ---恢复内容开始--- 1.nginx的服务端的安装 打开命令行终端,在终端输入,sudo apt-get install nginx  回车即开始安装 kxlc-t@ubuntu:~$ sudo ...

  8. Ubuntu下安装Java环境

    1 Java 8 下载地址 http://www.oracle.com/technetwork/cn/java/javase/downloads/jdk8-downloads-2133151-zhs. ...

  9. 【python-mysql】在ubuntu下安装python-mysql环境

    1.先安装mysql sudo apt-get install mysql-server apt-get isntall mysql-client sudo apt-get install libmy ...

随机推荐

  1. 关于消除MySQL输入错误后的警报声

    找到mysql安装目录中的 my.ini 配置文件,在[mysql]行的下面加入一行 no-beep 即可消除声音. [mysql] no-beep default-character-set=gb2 ...

  2. JS概念

    1.This(当前方法属于谁,this就属于谁) http://www.cnblogs.com/yanhaijing/p/3685309.html#undefined

  3. iOS -动态可变参数

    #import "ViewController.h" @interface ViewController () @end @implementation ViewControlle ...

  4. [翻译] CBStoreHouseTransition

    CBStoreHouseTransition What is it? A custom transition inspired by Storehouse iOS app, also support ...

  5. mina 字节数组编解码器的写法 II

    I 里面的写法不够严谨,这也是我之前说它简陋的主要原因,下面来个更加严谨.完整一点儿的: ByteArrayEncoder.java package org.bruce.mina.cpp.codec; ...

  6. XML 命名空间

    XML 命名空间 一.XML命名冲突 在 XML 中,元素名称是由开发者定义的,当两个不同的文档使用相同的元素名时,就会发生命名冲突. 这个 XML 文档携带着某个表格中的信息: <table& ...

  7. seajs第一节,seajs基本使用

    什么是seajs,它是干什么使用的,可以去网上搜索一下, 官网:http://seajs.org/docs/ 基本使用seajs <!DOCTYPE html> <html> ...

  8. ASP.NET后台注册JS的方法

    1. 用Response.Write方法 代码如下: Response.Write("<script type='text/javascript'>alert("hel ...

  9. 一路踩过的坑 php

    1.数据表唯一索引  (两列字段,组合索引) 遇到的情形:项目搭建新测试环境(其实就是所谓的灰度 与线上一致的一个环境):从线上拉回来代码搭建的,数据也是来自于线上数据,但是由于线上数据有部分为机密数 ...

  10. [转]Advanced Oracle SQL Developer Features

    本文转自:http://www.oracle.com/technetwork/cn/server-storage/linux/sqldev-adv-otn-092384.html Advanced O ...