Passenger

作者: S级食材咩咩羊 | 来源:发表于2017-05-07 20:51 被阅读0次
    sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7
    sudo apt-get install -y apt-transport-https ca-certificates
    
    //命令可能过时
    sudo sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger yakkety main > /etc/apt/sources.list.d/passenger.list'
    sudo apt-get update
    sudo apt-get install -y nginx-extras passenger
    
    vi /etc/nginx/nginx.conf  //去掉#   `# include /etc/nginx/passenger.conf;`
    
    sudo service nginx restart
    
    //check
    sudo /usr/bin/passenger-config validate-install
    sudo /usr/sbin/passenger-memory-stats
    

    来源:
    安装文档

    相关文章

      网友评论

          本文标题:Passenger

          本文链接:https://www.haomeiwen.com/subject/dfrptxtx.html