Linux/apache/mysql/php安装记录
2011-06-20 11:44
791 查看
要在Linux上架设网站,当然要安装LAMP套件(Linux、apache、mysql、php5)。当然也有朋友会选择安装Nginx来替代apache2 那是后话,今天我们就apache的安装做记录。
环境:新装Linux系统(ubuntu 10.4),未安装任何应用程序(apache php mysql)
一、安装apache2:
root@netren:~# apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common libapr1
libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap ssl-cert
Suggested packages:
apache2-doc apache2-suexec apache2-suexec-custom
The following NEW packages will be installed:
apache2 apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common
libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap ssl-cert
0 upgraded, 10 newly installed, 0 to remove and 4 not upgraded.
Need to get 3,341kB of archives.
After this operation, 10.2MB of additional disk space will be used.
Do you want to continue [Y/n]?y
Get:1 http://hk.archive.ubuntu.com/ubuntu/ lucid/main libapr1 1.3.8-1build1 [116kB]
Get:2 http://hk.archive.ubuntu.com/ubuntu/ lucid-updates/main libaprutil1 1.3.9+dfsg-3ubuntu0.10.04.1 [85.6kB]
Get:3 http://hk.archive.ubuntu.com/ubuntu/ lucid-updates/main libaprutil1-dbd-sqlite3 1.3.9+dfsg-3ubuntu0.10.04.1 [27.3kB]
Get:4 http://hk.archive.ubuntu.com/ubuntu/ lucid-updates/main libaprutil1-ldap 1.3.9+dfsg-3ubuntu0.10.04.1 [25.3kB]
Get:5 http://hk.archive.ubuntu.com/ubuntu/ lucid-updates/main apache2.2-bin 2.2.14-5ubuntu8.4 [2,622kB]
Get:6 http://hk.archive.ubuntu.com/ubuntu/ lucid-updates/main apache2-utils 2.2.14-5ubuntu8.4 [160kB]
Get:7 http://hk.archive.ubuntu.com/ubuntu/ lucid-updates/main apache2.2-common 2.2.14-5ubuntu8.4 [290kB]
Get:8 http://hk.archive.ubuntu.com/ubuntu/ lucid-updates/main apache2-mpm-worker 2.2.14-5ubuntu8.4 [2,372B]
Get:9 http://hk.archive.ubuntu.com/ubuntu/ lucid-updates/main apache2 2.2.14-5ubuntu8.4 [1,484B]
Get:10 http://hk.archive.ubuntu.com/ubuntu/ lucid/main ssl-cert 1.0.23ubuntu2 [10.9kB]
Fetched 3,341kB in 22s (147kB/s)
Preconfiguring packages ...
>>>阅读全文
本文出自 “网人linux社区” 博客,请务必保留此出处http://netren.blog.51cto.com/3240427/592116
环境:新装Linux系统(ubuntu 10.4),未安装任何应用程序(apache php mysql)
一、安装apache2:
root@netren:~# apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common libapr1
libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap ssl-cert
Suggested packages:
apache2-doc apache2-suexec apache2-suexec-custom
The following NEW packages will be installed:
apache2 apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common
libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap ssl-cert
0 upgraded, 10 newly installed, 0 to remove and 4 not upgraded.
Need to get 3,341kB of archives.
After this operation, 10.2MB of additional disk space will be used.
Do you want to continue [Y/n]?y
Get:1 http://hk.archive.ubuntu.com/ubuntu/ lucid/main libapr1 1.3.8-1build1 [116kB]
Get:2 http://hk.archive.ubuntu.com/ubuntu/ lucid-updates/main libaprutil1 1.3.9+dfsg-3ubuntu0.10.04.1 [85.6kB]
Get:3 http://hk.archive.ubuntu.com/ubuntu/ lucid-updates/main libaprutil1-dbd-sqlite3 1.3.9+dfsg-3ubuntu0.10.04.1 [27.3kB]
Get:4 http://hk.archive.ubuntu.com/ubuntu/ lucid-updates/main libaprutil1-ldap 1.3.9+dfsg-3ubuntu0.10.04.1 [25.3kB]
Get:5 http://hk.archive.ubuntu.com/ubuntu/ lucid-updates/main apache2.2-bin 2.2.14-5ubuntu8.4 [2,622kB]
Get:6 http://hk.archive.ubuntu.com/ubuntu/ lucid-updates/main apache2-utils 2.2.14-5ubuntu8.4 [160kB]
Get:7 http://hk.archive.ubuntu.com/ubuntu/ lucid-updates/main apache2.2-common 2.2.14-5ubuntu8.4 [290kB]
Get:8 http://hk.archive.ubuntu.com/ubuntu/ lucid-updates/main apache2-mpm-worker 2.2.14-5ubuntu8.4 [2,372B]
Get:9 http://hk.archive.ubuntu.com/ubuntu/ lucid-updates/main apache2 2.2.14-5ubuntu8.4 [1,484B]
Get:10 http://hk.archive.ubuntu.com/ubuntu/ lucid/main ssl-cert 1.0.23ubuntu2 [10.9kB]
Fetched 3,341kB in 22s (147kB/s)
Preconfiguring packages ...
>>>阅读全文
本文出自 “网人linux社区” 博客,请务必保留此出处http://netren.blog.51cto.com/3240427/592116
相关文章推荐
- Linux安装Apache+php5+mysql全程记录
- 在Linux下安装PHP,APACHE,MYSQL,PERL的方法
- Apache+php+mysql在Linux下的安装与配置(转)
- Linux(centOS)手动安装Apache+MySQL+PHP+Memcached+Nginx原创无错版
- 第四篇(1):企业常用Linux web环境安装配置(apache、php、mysql)
- CentOS环境下yum安装LAMP(Linux+Apache+Mysql+php)
- Linux下Mysql+Apache+PHP的安装过程
- Linux上安装Mysql+Apache+Php
- Linux下Apache 2.2, MySQL 5.0和PHP 5.0的安装与配置
- Fedora 19安装LAMP(Linux+Apache+Mysql+Perl/PHP/Python)
- linux下Apache+mysql+php的安装
- Linux 下Apache+MySQL+PHP安装及配置过程
- 新版mysql+apache+php Linux安装指南
- CentOS环境下yum安装LAMP(Linux+Apache+Mysql+php)
- [四步图解]Ubuntu 9.10 安装配置LAMP(linux+apache+mysql+php)
- apache, php, mysql 安装过程命令记录
- linux应用之Lamp(apache+mysql+php)的源码安装(centos)
- CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)环境
- LAMP攻略: LAMP环境搭建,Linux下Apache,MySQL,PHP安装与配置
- linux nginx+apache+php+mysql 安装配置