如何以非root用户身份安装Apache httpd?

时间:2017-02-23 18:43:57

标签: apache httpd.conf

在我们的服务器上,我们拥有没有root权限的应用帐户。我们无法运行Yum或rpm。

1 个答案:

答案 0 :(得分:2)

  1. 下载源代码
  2. 解压缩。
  3. cd到httpd源目录
  4. ./ configure --prefix = / home / youruser / httpd -otheroptionshere
  5. make install
  6. 有关此程序的更多详细信息,请参阅官方httpd文档:http://httpd.apache.org/docs/2.4/install.html