403Webshell
Server IP : 172.67.214.6  /  Your IP : 216.73.216.73
Web Server : LiteSpeed
System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : redwjova ( 1790)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : OFF |  Pkexec : OFF
Directory :  /proc/self/root/opt/cpanel/ea-ruby27/src/passenger-release-6.0.23/dev/ci/tests/nginx-dynamic/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /proc/self/root/opt/cpanel/ea-ruby27/src/passenger-release-6.0.23/dev/ci/tests/nginx-dynamic/run
#!/usr/bin/env bash
set -e

TEST_DYNAMIC_WITH_NGINX_VERSION=$(ruby -r "$PASSENGER_ROOT/src/ruby_supportlib/phusion_passenger.rb" -e 'puts PhusionPassenger::PREFERRED_NGINX_VERSION')
NGINX_ADDON_DIR=$(./bin/passenger-config --nginx-addon-dir)
echo "+ Nginx addon dir: $NGINX_ADDON_DIR"
echo

header2 "Compliing Passenger"
run rake "-j$COMPILE_CONCURRENCY" nginx:as_dynamic_module
echo

header2 "Downloading and compiling Nginx"
cd buildout
run curl -sSLO https://www.nginx.org/download/nginx-$TEST_DYNAMIC_WITH_NGINX_VERSION.tar.gz
run tar -xzf nginx-$TEST_DYNAMIC_WITH_NGINX_VERSION.tar.gz
echo "+ Entering nginx-$TEST_DYNAMIC_WITH_NGINX_VERSION"
cd "nginx-$TEST_DYNAMIC_WITH_NGINX_VERSION"
run ./configure --with-cc='ccache cc' --with-cc-opt='-Wno-error' --add-dynamic-module="$NGINX_ADDON_DIR"
run make "-j$COMPILE_CONCURRENCY"

Youez - 2016 - github.com/yon3zu
LinuXploit