403Webshell
Server IP : 104.129.129.72  /  Your IP : 216.73.216.229
Web Server : LiteSpeed
System : Linux 123answers 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
User : answe8064 ( 1002)
PHP Version : 8.2.28
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /opt/installer/dev/services/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/installer/dev/services/haproxy-2.0-offirepo
#!/bin/bash

# Add this at the begining of all scripts.
if [ -f "include/startup.sh" ]; then
    . include/startup.sh
elif [ -f "../include/startup.sh" ]; then
    . ../include/startup.sh
fi

installPackage software-properties-common
waitOrStop 0 "Failed apt install: software-properties-common"
add-apt-repository ppa:vbernat/haproxy-2.0 -y
apt update
installPackage haproxy=2.0.\*
waitOrStop 0 "Failed apt install: haproxy"

checkPackageInstalled haproxy

ufw allow 8404

descriptionAppend "HAProxy configuration: /etc/haproxy/haproxy.cfg"
descriptionAppend "HAProxy documentation (on-server): /usr/share/doc/haproxy/"
descriptionAppend "HAProxy documentation (online): http://cbonte.github.io/haproxy-dconv/2.0/intro.html"
descriptionAppend "HAProxy examples: /usr/share/doc/haproxy/examples"
descriptionAppend " "

tagScript success

exit 0

Youez - 2016 - github.com/yon3zu
LinuXploit