Created
January 12, 2012 02:44
-
-
Save yiquncode/1598234 to your computer and use it in GitHub Desktop.
Run popular products in LAMP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
建立 Apache 运行账户 | |
useradd -d /data/www www | |
建立一个文件夹用于存放网站的文件 | |
/data/www/wwwroot | |
注意事项 | |
*每一次修改配置文件必须重新启动才会生效 | |
*90%的问题是因为权限不对导致的 | |
*从windows向Linux下传文件可以使用WinScp | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
尝试把自己写的PHP程序安装到Linux系统里面 | |
成功后则进行下面的步骤 | |
为每个产品都建立不同的文件夹 | |
安装PHPMYADMIN | |
http://www.phpmyadmin.net/home_page/downloads.php | |
安装Wordpress | |
http://wordpress.org/download/ | |
安装Discuz论坛 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DocumentRoot "/data/www/wwwroot" | |
<Directory "/data/www/wwwroot"> | |
Options All ExecCGI FollowSymLinks Includes Indexes | |
Allow from All | |
Order Allow,Deny | |
AllowOverride All Options | |
</Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment