debian安裝LAMP伺服器

LAMP=linux+apache2+mysql+php

安裝順序:

1. 安裝 MySQL

apt-get install mysql-server mysql-client

2. 安裝 apache2,共有三種 Multi-Processing Modules(MPM) 可以選擇。預設是安裝 apache2-mpm-worker 但改    用    prefork模組在穩定性上會比較好

apt-get install apache2 apache2-mpm-prefork

3. 安裝 PHP

apt-get install php5 libapache2-mod-php5 php5-gd php5-mysql phpmyadmin

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

Google+ photo

You are commenting using your Google+ account. Log Out / 變更 )

連結到 %s