Ubuntu install apache + mysql + php

2011-08-09  来源:本站原创  分类:OS  人气:85 

Ubuntu 10.04 Configuring Apache + PHP + MySQL

[Date :2010-07-21] Source: Ubuntu Community Author: little camphor

<script> </ script>

<script> </ script>

Test environment: Ubuntu 10.04

1 install apache2.0

sudo apt-get install apache2

Installation process is not to say

After installation, open the browser:

http://localhost/

Or http://127.0.0.1

If It works! That proved the OK

Ubuntu install apache + mysql + php
<! - IWMS_AD_BEGIN ->

<script> </ script>

<! - IWMS_AD_END ->
2 Installing PHP

In order to open the terminal:

sudo apt-get install php5 / / install PHP5

sudo apt-get install libapache2-mod-php5 / / configure the APACHE + PHP

sudo / etc/init.d/apache2 restart / / restart APACHE

Test:

Open gksudo gedit / var / www / testphp.php

Then free to enter something (I entered SD) and then save.

Then in the browser, enter the http://127.0.0.1/testphp.php or http://localhost/testphp.php

If the show is successful you enter something

Ubuntu install apache + mysql + php

3 Installing MYSQL

sudo apt-get install mysql-server

Installation is complete, follow the prompts to set the root password

4, so that apache, php support mysql

sudo apt-get install libapache2-mod-auth-mysql

sudo apt-get install php5-mysqlsudo / etc/init.d/apache2 restart

Thus apache2 + php 5.2.4.2 + mysql5.0.51 environment is complete.

相关文章
  • Ubuntu install apache + mysql + php 2011-08-09

    Ubuntu 10.04 Configuring Apache + PHP + MySQL [Date :2010-07-21] Source: Ubuntu Community Author: little camphor <script> </ script> <script> </ script> Test environment: Ubuntu 10.04 1 install apache2.0 sudo apt-get install apache

  • Ubuntu install Nginx + Mysql + PHP 2010-06-13

    Ubuntu install Nginx + Mysql + PHP Blog Environment: Ubuntu10.4 1. Nginx Installation First update Ubuntu packages apt-get update Install Nginx apt-get install nginx Running Nginx / Etc / init.d / nginx View processes ps-A | grep nginx If the port is

  • In the ubuntu install Apache 2 Web server 2011-06-21

    This document describes how to install Apache ubuntu operating system approach. In the ubuntu install Apache 2 Web server graphic tutorials http://www.ossez.com/forum.php?mod=viewthread&tid=13117&fromuid=426

  • ubuntu lamp(apache+mysql+php) 环境搭建及相关扩展更新 2015-02-01

    ubuntu lamp(apache+mysql+php) 环境搭建及相关扩展更新,需要的朋友可以参考下. 一.环境安装 1.安装apache2 sudo apt-get install apache2 安装后在浏览器中打开:http://localhost/或者http://127.0.0.1 如果出现It works!证明apache安装成功. 2.安装PHP sudo apt-get install php5 sudo apt-get install libapache2-mod-php5

  • yum install apache mysql php time 2011-08-28

    CentOS 5.3 server installation is done installing, configuring Apache + php + Mysql Line in the yum install Centos very slow. The following are replacement for Chinese CentOS mirror servers! China's official mirror sites: http://centos.ustc.edu.cn/ Q

  • Ubuntu Install Apache 2010-07-09

    Download httpd-2.2.15.tar.gz, use tar zxvf httpd-2.2.15.tar.gz extract. If after decompression path: / software/httpd-2.2.15. First install apr apr-util # cd /software/httpd-2.2.15/srclib/apr # ./configure --prefix=/usr/local/apr # make # make instal

  • ubuntu install apache (rpm) 2011-08-24

    Can connect to the Internet sudo apt-get install apache2 Can't go online go to the official download apache2.0 : httpd-2.0.63.tar.gz 1. Unzip httpd-2.0.63.tar.gz to a temporary directory such as ~/httpd-2.0.63 2. Enter ~/httpd-2.0.63 Directories, do

  • Ubuntu install JDK, MySQL, Tomcat 2011-01-06

    JDK Version: jdk-6u20-linux-i586-rpm.bin Tomcat version: apache-tomcat-6.0.29.tar.gz Mysql version: mysql-5.1.50-linux-i686-glibc23.tar.gz Download: http://mysql.ntu.edu.tw/Downloads/MySQL-5.1/ First, install the JDK 01. # Rpm-qa | grep gcj 02. # Rpm

  • Ubuntu卸载Apache+Mysql+PHP 2013-02-16

    1.卸载Apache2都几个命令 sudo apt-get --purge remove apache2 sudo apt-get --purge remove apache2.2-common 或直接使用一条命令 sudo apt-get autoremove apache2 2.卸载Mysql sudo aptitude purge mysql-server mysql-server-5.0 3.卸载Php5 sudo apt-get autoremove php5 4.批量删除组件及相关

  • ubuntu install apache log directory, where 2010-02-28

    In / var/log/apache2 /; View log rolling tail-f / var/log/apache2/access.log

  • System set up in the ubuntu apache + mysql + php service 2010-10-12

    In ubuntu system related settings, you can build a variety of environments, here apache + mysql + php build environment: 1, the installation of Mysql aptitude install mysql-server mysql-client installation process, to enter the MySQL root user passwo

  • UBUNTU10.10 install LAMP (Linux.Apache.Mysql.Php) Environmental Graphic Tutorial 2011-01-11

    Tip: It is strongly recommended to follow novice to do here http://wiki.ubuntu.org.cn/index.php?title=Apache&variant=zh-hant #. E5.AE.89.E8.A3.85LAMP First install apache sudo apt-get install apache2 Then run apache sudo / etc/init.d/apache2 restart

  • Ubuntu under PHP, APACHE, MYSQL configuration 2011-04-12

    su1. Install SSH (required) sudo apt-get install ssh 2. Installing MySQL (although the current version is 5.1, but it can only install 5.0 version) sudo apt-get install mysql-server-5.0 3. Install Apache sudo apt-get install apache2 4. Installing PHP

  • System set up in ubuntu apache + mysql + php service 2010-10-12

    In the ubuntu system related settings, you can build a variety of environments, here apache + mysql + php build environment: 1, install Mysql aptitude install mysql-server mysql-client installation process, to enter the MySQL root user password New p

  • 阿里云Ubuntu系统从0搭建LAMP(Apache+MySQL+PHP)以及服务器生产环境常用配置 2015-05-04

    阿里云 Ubuntu服务器操作的初始化工作 1.百度下载SecureCRT.exe 2.用SecureCRT进入你的服务器管理界面,账号一般为root,密码为你从阿里云注册购买时候的服务器密码,如果不会使用SecureCRT请百度,so easy. 阿里云 Ubuntu搭建LAMP(Apache+MySQL+PHP) wget http://oss.aliyuncs.com/aliyunecs/update_source.tgz?spm=5176.775974184.2.4.ox8OHd&fil

  • CentOS 5.3 on a yum install Apache + php + Mysql + phpMyAdmin 2010-05-07

    Centos in the yum-line installation is slow. The following are replacement for Chinese CentOS mirror server! The official mirror sites: http://centos.ustc.edu.cn/ / * Instructions * / cd / etc / yum.repos.d [enter yum.repos.d directory] mv CentOS-Bas

  • ubuntu install Apach2/PHP5/MySql 2010-05-29

    First, install the Apache2 sudo apt-get install apache2 Then open Firefox: http://localhost/ Success tips Second, install PHP5 sudo apt-get install php5 sudo apt-get install libapache2-mod-php5 (according to the actual test I, this step seems to need

  • CentOS on the yum install Apache + php + Mysql 2010-05-30

    1. Installation Apahce, PHP, Mysql, and php to connect mysql database components yum-y install httpd php mysql mysql-server php-mysql / / Install the mysql extension yum-y install mysql-connector-odbc mysql-devel libdbi-dbd-mysql / / Install the php

  • In solaris 9 install apache, php, mysql 2010-08-17

    In solaris 9 install apache, php, mysql As pkgutil download too slow, so install apache, php, mysql and other software directly downloaded installation package, then use pkgadd to install. This install process is more trouble to install many packages

  • Ubuntu install MySQL and remote login 2010-08-28

    Ubuntu install MySQL. sudo apt-get install mysql-server process will be prompted to enter the root user's password, we must remember, will be used immediately. After installation is complete, log on MySQL. mysql-u root-p here to create a new user wit