当前位置:七道奇文章资讯系统安全Linux安全
日期:2012-05-05 23:38:00  来源:本站整理

Ubuntu 10.10若何安装配置LAMP[Linux安全]

赞助商链接



  本文“Ubuntu 10.10若何安装配置LAMP[Linux安全]”是由七道奇为您精心收集,来源于网络转载,文章版权归文章作者所有,本站不对其观点以及内容做任何评价,请读者自行判断,以下是其具体内容:

  Installing Apache MySQL, PHP and phpmyadmin on Ubuntu10.10 Maverick Meerkat is far easier and less complicated than doing the same on Fedora 13, (my own experience).

  Step 1: You start by installing mysql

  sudo apt-get install mysql-client mysql-server

  Specify new password for the MySQl “root” user when prompted. Repeat it for a second time and you would have MySQL server and client installed.

  Step 2: Next, install Apache2:

  sudo apt-get install apache2

  And you get apache2 installed as well. To double check, point your browser to http://localhost, and you should see the Apache2 placeholder page like this.

  

  Step 3: To install support for PHP, do the usual

  sudo apt-get install php5 libapache2-mod-php5

  To verify that everything installed correctly and php support is enabled, you need torestart apache by doing this

  sudo /etc/init.d/apache2 restart

  Create a test php file called info.php, using a text editor of your choice (say gedit)

  sudo gedit /var/www/info.php

  and paste the following content and save the file

  

  Now open the following page http://localhost/info.php and you should see something like this

  

  Step 4: To make MySQL, php and apache talk among themselves, you would have to install php5-mysql, below I am listing some more useful packages that you might want to install

  sudo apt-get install php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-common

  Now refresh the info.php page that you have open in your browser and you should be able to see the support for mysql if you search for it by doing Ctrl+f, but before that don’t forget to restart apache again (sudo /etc/init.d/apache2 restart)

  

  以上是“Ubuntu 10.10若何安装配置LAMP[Linux安全]”的内容,如果你对以上该文章内容感兴趣,你可以看看七道奇为您推荐以下文章:

  • ubuntu下无法利用无线网络的办理办法
  • 三步搞定windows与ubuntu之间文件同享
  • Ubuntu和windows文件同享问题详解
  • 在 Ubuntu 12.04 Server 上安装 Rails 环境
  • ubuntu 12.04 安装 Nginx+PHP5 (PHP-FPM) +MySQL主机详解
  • Linux(ubuntu)下配置android环境
  • Ubuntu 10.04上搭建Ruby on Rails环境
  • Ubuntu 10.10中关闭按钮位置的改变
  • Ubuntu下检测CPU温度的工具
  • Ubuntu Server增添关机用户
  • Ubuntu 11.04安装火狐5
  • ubuntu 10.04下搭建samba文件服务器
  • 本文地址: 与您的QQ/BBS好友分享!
    • 好的评价 如果您觉得此文章好,就请您
        0%(0)
    • 差的评价 如果您觉得此文章差,就请您
        0%(0)

    文章评论评论内容只代表网友观点,与本站立场无关!

       评论摘要(共 0 条,得分 0 分,平均 0 分) 查看完整评论
    Copyright © 2020-2022 www.xiamiku.com. All Rights Reserved .