纯菜鸟在vps安装apache 和 nginx

来源:互联网 发布:c语言开发实战宝典 编辑:程序博客网 时间:2024/06/16 07:52


1.创建非root 用户和密码

http://blog.csdn.net/sunxx1986/article/details/6854307

2.从root 用户移动文件到非root 用户

http://zhidao.baidu.com/link?url=slT_SaEK_DMuRvybSYKwYXG8FzRn2s-kdSSKCeBLiNRtKk3hFZhRQR5tJ63_sJmPNAIyPHSCMbdEwJBostPl4_

3.安装apache 步骤1

http://zhidao.baidu.com/link?url=slT_SaEK_DMuRvybSYKwYXG8FzRn2s-kdSSKCeBLiNRtKk3hFZhRQR5tJ63_sJmPNAIyPHSCMbdEwJBostPl4_

./configure --prefix=/usr 什么意思

http://zhidao.baidu.com/link?url=55SDQLaStaZgQzkWgUJu99RHzVAEoNHaUEbB34CaQu5D4fLbY3ezuR4Xh1UaDFe8yguN5rENFLqrJDxhERfeGq

步骤 2

http://www.linuxidc.com/Linux/2012-06/62289.htm

http://www.cnblogs.com/JemBai/archive/2012/11/07/2759139.html


4.安装nginx

安装过程中最重要的步骤  

                        ./configure --with-pcre=/home/xxxx/pcre-8.10 --prefix=/home/xxx/nginx-1.4.5          xxx补上你的目录 
 

0 0
原创粉丝点击