安装wordpress 1.0 mu到UBUNTU SERVER

前面我提到如何安装wordpress mu 1.0,这次在ubuntu edgy server版上安装就轻车熟路了。
首先要确保ubuntu server上安装了apache2, php, mysql。
然后要激活rewrite mod。

sudo a2enmod

创建westgis.ac.cn的vhost文件:

<VirtualHost *>
ServerAdmin wlx@mygis.org
ServerName westgis.ac.cn
ServerAlias westgis.ac.cn *.westgis.ac.cn
DocumentRoot /var/www/westgis.ac.cn

<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/westgis.ac.cn/>
Options Indexes FollowSymLinks MultiViews
AllowOverride FileInfo Options
Order allow,deny
allow from all
</Directory>

ErrorLog /var/log/apache2/westgis.ac.cn-error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/westgis.ac.cn-access.log combined
ServerSignature On

</VirtualHost>

激活这个vhost就可以了,注意AllowOverride部分和默认是不同的。

This entry was posted in Linux and tagged , , . Bookmark the permalink.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please copy the string MwiWWl to the field below:

以新浪微博帐号登录