下载一键安装包

下载地址: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. linux的Ubuntu

    一:修改ssh默认端口号 vi /etc/ssh/sshd_config [注意是sshd_config 而且是这个目录下,同时一定要用sudo才能修改,否则不能写入.所以sudo vi /etc/s ...

  2. Data Structure 之 二叉树

          在计算机科学中,二叉树是每个节点最多有两个子树的树结构.通常子树被称作“左子树”(left subtree)和“右子树”(right subtree).二叉树常被用于实现二叉查找树和二叉堆 ...

  3. IOS plist轻量级操作

    plist,全名PropertyList,即属性列表文件,它是一种用来存储串行化后的对象的文件.这种文件,在ios开发过程中经常被用到.这种属性列表文件的扩展名为.plist,因此通常被叫做plist ...

  4. [Java] SSH框架笔记_Struts2配置问题

    1.Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/D:/Progr ...

  5. 【阿里云产品公测】ACE安装Discuz超详细图文教程

    作者:阿里云用户51干警网 hello.今天我们来在阿里云ACE上安装discuz. 因为本人不喜欢X3.2的版本,这次我使用的是DZX2.5. 首先的是准备工作: 一.申请阿里云ACE内测 http ...

  6. 【Android 界面效果20】Android GradientDrawable类的详解,设置activity的背景颜色渐变效果

    看到这个例子的标题RoundRects,我的第一感觉是介绍RoundRectShape, 打开例子看了代码却是使用GradientDrawable来实现的. GradientDrawable 支持使用 ...

  7. DPKG命令与软件安装、APT

    ====Linux软件包==== Linux系统中,软件通常以源代码或者预编译包的形式提供. 软件的源代码通常需要编译为二进制代码才可使用,安装比较耗时.用户可以自行调节编译选项,决定需要的功能或组件 ...

  8. 伪分布式下的hadoop简单配置

    今天大概尝试了一下伪分布式下的hadoop部署,简单的来总结一下 首先我们需要下载hadoop的压缩包文件:http://hadoop.apache.org/releases.html这里是hadoo ...

  9. CF Sea and Islands

    Sea and Islands time limit per test 1 second memory limit per test 256 megabytes input standard inpu ...

  10. [wordpress]wp-api-jwt-auth 尝试添加运行在多站点中 need change

    Hi,Thank you this plugin,because i use this plugin on Wordpress one Network,so the request other api ...