Attempt to perform nginx reverse proxy under non-root user-1

Source: Internet
Author: User
Attempt to perform nginx reverse proxy under non-root user-1

First of all, the Csdn markdown is really rotten. It is uncomfortable to look at its big black characters. Forget it, the book belongs to the story.
Why do you tinker with this? The reason is this. The first of our servers is not open root, and if you want to install the software, you need to apply.
The application is extremely troublesome, and the formalities are complicated. All I want to do is, can I try to install nginx without root? So I took a little bit of a try.
First through a pass Baidu, found two ways, one way is by recompiling, and at compile time specify Nginx installation path.
This will allow you to install the. In fact, the difference between root installation and non-root installation is the installation path. But without root, without the extranet permission,
Compile the Linux program. I think it's okay. Tired not to say, there is also the possibility of encountering various strange problems.
Another method can be installed by using the RPM package. You can install the program to the specified directory by using the following command at the time of installation. This method is relatively simple. So I chose the latter. One might say that the rpm way of installing is not really a programmer. But I think it's important to solve problems quickly at work.

rpm2cpio nginx-1.8.0-1.el6.ngx.x86_64.rpm |cpio -idvm

Now the installation work is finished, but really want to use it, is still far away. The Long march in the back is only just beginning.

Not to be continued ...

'). addclass (' pre-numbering '). Hide (); $ (this). addclass (' has-numbering '). Parent (). append ($numbering); for (i = 1; i <= lines; i++) {$numbering. Append ($ ('
  • '). Text (i)); }; $numbering. FadeIn (1700); }); });

    The above describes the attempt to non-root user under the Nginx reverse proxy-1, including the aspects of the content, I hope that the PHP tutorial interested in a friend helpful.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.