ubuntu下使用apt-get安装LAMP
2011-07-31 23:32
781 查看
# -- mysql -----
# 检测Mysql是否正常
# -- apache -------
# 检测Apache是否正常
# 浏览器上输入http://127.0.0.1 看apache是否启动
# php
# 检测php
# 在/var/www 目录下创建index.php并写入
# 在浏览器上输入http://127.0.0.1/index.php 看是否能输出php信息
sudo apt-get install mysql-server sudo apt-get install mysql-client
# 检测Mysql是否正常
mysql-uusername -ppassword
# -- apache -------
sudo apt-get install apache2
# 检测Apache是否正常
# 浏览器上输入http://127.0.0.1 看apache是否启动
# php
sudo apt-get install php5 sudo apt-get install libapache2-mod-auth-mysql sudo apt-get install php5-mysql
# 检测php
# 在/var/www 目录下创建index.php并写入
<?php phpinfo();
# 在浏览器上输入http://127.0.0.1/index.php 看是否能输出php信息
相关文章推荐
- ubuntu10.04 使用apt-get 安装LAMP环境
- Ubuntu切记 源码安装lamp后 不用使用 APT-GET 安装相关模块
- Ubuntu中使用apt-get安装LAMP
- Ubuntu中使用apt-get安装LAMP
- Ubuntu使用apt-get安装本地deb包
- 在Ubuntu中使用apt-get安装nginx
- Ubuntu 使用apt-get安装nginx服务器
- ubuntu使用apt-get install 安装程序时候报同样Depends错误
- ubuntu 使用apt-get install 安装php5.6--php7
- 在Ubuntu下使用Apt-Get安装Google Chrome
- ubuntu 使用apt-get install 安装php5.6--php7
- Ubuntu9.04下使用apt安装配置LAMP
- 在ubuntu 下使用在线(apt-get)方式安装opencv
- ubuntu 使用apt-get install 安装php5.6--php7
- 老版本Ubuntu使用apt-get不能安装软件问题
- Ubuntu下MongoDB的安装与使用(离线安装方式|非apt-get)
- ubuntu使用”apt-get install“安装程序时遇到错误提示: you might want to run 'apt-get -f install' to correct these
- ubuntu 上使用apt-get安装oracle-jdk
- ubuntu 16.04 使用apt-get安装jdk
- Ubuntu 使用apt-get安装Nginx php5-fpm MySQL(LNMP环境搭建)