自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Ubuntu下LAMP配置文件路徑

運維 系統(tǒng)運維
Ubuntu下LAMP配置文件路徑:LAMP的配置不僅僅需要的是一系列的命令符號,還有最基本的配置路徑,否則LAMP的相關(guān)配置無從談起,本文就此指出LAMP下各個程序的配置文件路徑

  Ubuntu LAMP 的配置文件路徑

  配置文件路徑:

  1>apache 的配置文件路徑 /etc/apache2/apache2.conf

  2>apache 網(wǎng)站字符編碼配置路徑 /etc/apache2/conf.d/charset

  3>php.ini 路徑 /etc/php5/apache2/php.ini

  4>mysql配置文件 路徑 /etc/mysql/my.cnf 一般不要使用,尤其是新手

  5>phpmyadmin配置文件路徑 /etc/phpmyadmin/apache.conf

  6>默認網(wǎng)站根目錄路徑 /var/www

  常用命令:

  1.重啟apache

  1.   sudo /etc/init.d/apache2 restart  
  2.  
  3.   sudo /etc/init.d/apache2 restart  
  4.  

  2.重啟mysql

  1.   sudo /etc/init.d/mysql restart  

  以上就是Ubuntu下LAMP配置文件路徑和基本的操作命令。大家看懂了沒呢?

【編輯推薦】

  1. Ubuntu server上搭建LAMP:安裝apache和mysql
  2. Ubuntu server上搭建LAMP:MySQL的配置和使用
  3. Ubuntu server上搭建LAMP:apache的配置和使用
責任編輯:zhaolei 來源: javaeye
相關(guān)推薦

2011-03-14 11:29:43

2011-03-09 15:13:00

UbuntuLAMP配置

2011-03-11 10:27:45

UbuntuLAMP配置

2011-03-09 15:25:36

UbuntuLAMPPHPadmin

2011-03-14 13:07:23

Ubuntu安裝LAMP

2010-01-08 13:54:33

Ubuntu vimr

2011-03-10 08:59:04

Ubuntu安裝LAMP

2011-03-09 15:44:14

UbuntuLAMP

2011-03-10 10:09:09

UbuntuLAMP搭建

2010-01-08 17:32:11

Ubuntu samb

2010-01-07 17:16:19

Ubuntu MySQ

2011-03-11 16:42:38

Ubuntu安裝LAMP

2011-03-22 12:53:35

UbuntuLAMPApache

2011-03-08 10:35:23

2011-03-21 16:37:57

2010-01-04 10:28:47

Ubuntu Apac

2010-01-08 16:55:04

Ubuntu vim

2011-03-21 16:21:21

ubuntulamp

2011-03-22 10:25:54

UbuntuLAMP

2010-02-05 09:31:23

Ubuntu 配置文件
點贊
收藏

51CTO技術(shù)棧公眾號