'미티어배포시'에 해당되는 글 1건

  1. 2018.01.26 배포를 위한 Passenger 설치
2018. 1. 26. 17:22


1. 파일을 다운 받아서 압축을 풀어준다.


https://www.phusionpassenger.com/library/walkthroughs/start/meteor.html


위 링크로 가서 다운 받고, 


서버에 올려준다음에 압축을 푼다.


tar -xzvf passenger-X.X.X.tar.gz -C /somewhere-permanent



2. Ruby를 설치해준다.


yum install -y ruby rubygem-rake



3. PATH에 추가해준다.

압축 푼 폴더의 /bin폴더를 추가해준다.


>>  PATH=$PATH:/root/passenger-5.1.12/bin



나 같은 경우는 그냥 root폴더의 passenger-5.1.12에 압축을 풀었기 때문에 저기에 해줬다.


4. 인스톨해준다.


passenger-config validate-install
 * Checking whether this Phusion Passenger install is in PATH... ✓
 * Checking whether there are no other Phusion Passenger installations... ✓


설치할때, 

[root@ip bin]# ./passenger-config validate-install

What would you like to validate?

Use <space> to select.

If the menu doesn't display correctly, press '!'


 ‣ ⬢  Passenger itself

   ⬡  Apache


-------------------------------------------------------------------------


위 같은 문구가 나오는데, 


방향키로 움직이면, 위에 검은점이 바뀌고, 스페이스를 누르면, 선택할수있다.


난 passenger만 선택한다음에 엔터를 쳤다.


그러면, 


-------------------------------------------------------------------------


 * Checking whether this Passenger install is in PATH... ✓

 * Checking whether there are no other Passenger installations... ✓


Everything looks good. :-)


위 같이 뜨고, 


passenger라고 써보면, 

아래와 같이 뜬다....드디어 설치됬다.

[root@ip bin]# passenger

Phusion Passenger Standalone, the easiest way to run web apps.


Available commands:


  passenger start      Start Phusion Passenger Standalone.

  passenger stop       Stop a Phusion Passenger instance.

  passenger status     Show the status of a running Phusion Passenger instance.


Run 'passenger <COMMAND> --help' for more information about each command.




아..사이트 가면, 우분트, 레드헷, 선택해서 설치방법볼수있는데, 


계속.yum를 써서 설치하려는데, 계속 repo 에러가 떠서,  결국 기타os설치법으로 했다.









Posted by Tyson