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

我的LAMP筆記

運維 系統(tǒng)運維
用過LAMP的人們都知道,LAMP是由 Linux+Apache+Mysql+Perl/PHP/Python 一起組成的,這是一位達人寫的LAMP學習筆記,希望大家能從中學到知識!

 

LAMP 

圖-LAMP

  哭泣之劍-LAMP學習筆記

  1、gd庫 gd-2.0.35 http://www.phpfans.net/down/soft/55.html

  2、apache httpd-2.2.5.tar.gz http://www.apache.org/dist/httpd/

  3、mysql mysql-5.0.56.tar.gz http://download.chinaunix.net/download/0008000/7159.shtml

  4、php php-5.2.13.tar.gz http://www.php.net/downloads.php

  安裝方法:

  gd-2.0.35

  #tar zxvf gd-2.0.35.tar.gz

  #./configure --prefix=/web/gd

  #make

  #make install

#p#

  mysql

  -------------------------

  #groupadd mysql

  #useradd -g mysql mysql

  #tar zxvf mysql-5.0.56

  #./configure --prefix=/web/mysql #make

  #make insall

  #cd /web/mysql

  #chown -R mysql .

  #chgrp -R mysql .

  #bin/mysql_install_db --user=mysql

  #chown -R root .

  #chown -R mysql var

  #cp share/mysql/my-medium.cnf /etc/my.cnf

  #cp share/mysql/mysql.server /etc/rc.d/init.d/mysqld

  #chmod 755 /etc/rc.d/init.d/mysqld

  #bin/mysqld_safe --user=mysql &

  #bin/mysqladmin -u root password 123456

#p#

  apache

  -----------------------

  #tar zxvf httpd-2.2.5.tar.gz

  #cd http-2.2.5

  #./configure --prefix=/web/apache --enable-so --with-gd=/web/gd

  #cd /web/apache

  #cp bin/apachectl /etc/rc.d/init.d/httpd

  #chmod 755 /etc/rc.d/init.d/httpd

  #service httpd start

#p#

  php

  ---------------------------

  #tar zxvf php-5.2.13

  #./configure --with-apxs2=/web/apache/bin/apxs --with-mysql=/web/mysql --with-gd=/web/gd --prefix=/web/php

  #make

  #make insall

  #cp php.ini-dist /usr/local/lib/php.ini ===============================================================================

#p#

  整合apache與php

  ---------------------------

  #cd /web/apache

  #vi conf/httpd.conf

  找到

  DirectoryIndex index.html

  在里面加入index.php

  找到AddType application/x-gzip

  在下面添加如下內(nèi)容:

  AddType application/x-httpd-php .php .phtml

  把Options Indexes FollowSymlinks用"#"注釋掉

  AllowOverride none 改為 all

  在根目錄里新建info.php

  內(nèi)容為:

  

  phpinfo();

  ?>

  測試成功!

通過文章的介紹,我們知道LAMP達人的學習筆記內(nèi)容還是比較全的,希望對你們有用!

【編輯推薦】

  1. Web應用程序平臺--LAMP
  2. Ubuntu PHP 編輯器
  3. LAMP組件經(jīng)常使用的幾個終端命令
  4. LAMP配置攻略:解決Firefox瀏覽器顯示中文亂碼等問題
  5. LAMP配置之Mysql測試
  6. Ubuntu LAMP 如何配置Apache

 

責任編輯:趙鵬 來源: 網(wǎng)絡(luò)轉(zhuǎn)載
相關(guān)推薦

2011-03-21 16:00:25

LAMP架構(gòu)

2011-03-14 13:51:14

LAMP配置

2011-03-08 10:14:45

LAMP介紹

2011-03-18 09:56:20

lamp

2011-03-11 13:58:54

2011-03-18 10:06:48

LAMP組成

2011-03-11 16:54:47

LAMPphpMyAdmin

2011-03-09 10:55:33

LAMP優(yōu)化技巧

2011-03-10 10:09:33

LAMP優(yōu)化

2011-03-23 14:09:38

2011-03-09 15:44:14

UbuntuLAMP

2011-03-14 11:29:43

2011-03-22 09:42:04

lamp

2011-03-23 10:13:53

LAMP環(huán)境搭建

2011-03-11 09:35:01

LAMP介紹

2011-03-10 14:40:48

LAMP搭建

2011-03-09 10:52:04

ContOSLAMP安裝

2011-03-23 17:11:21

Lampwamp

2011-03-09 13:46:47

SUSElamp安裝

2011-03-09 15:13:00

UbuntuLAMP配置
點贊
收藏

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