Git Product home page Git Product logo

hermesnginx's People

Contributors

cenenh avatar

Watchers

 avatar

hermesnginx's Issues

nginx 설치 및 설정

첫 시도

$ sudo aptitude install software-properties-common
$ sudo add-apt-repository ppa:nginx/stable
$ sudo apt-get update
$ sudo apt-get install nginx
$ sudo service nginx
Usage: nginx {start|stop|restart|reload|force-reload|status|configtest|rotate|upgrade}
  • 일단 위의 방법으로 nginx를 컨트롤 할 수 있다.
  • 현재 nginx의 index.html(/var/www/html)은 root 권한이 필요한 디렉토리에 있다.
  • 계속 root 권한으로 접근해야한다. 이 디렉토리에 접근권한을 줘야한다.
  • init.d 스크립트를 활용하면 root 권한 없이 할 수 있다.
  • 조금 더 고려해봐야함.
  • init.d 참고 링크 : https://github.com/JasonGiedymin/nginx-init-ubuntu

user 권한

$ mkdir nginx
$ cd nginx
$ wget http://nginx.org/download/nginx-1.10.0.tar.gz
$ tar -xvzf nginx-1.10.0.tar.gz
$ wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.37.tar.gz
$ tar -xvzf pcre-8.37.tar.gz
$ cd nginx-1.10.0
$ ./configure --prefix=/home/ubuntu/nginx --with-pcre=/home/ubuntu/nginx/pcre-8.37
$ make 
$ make install

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.