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/apps/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/installer/apps/gitlab-latest-offirepo
#!/bin/bash

if [ -f "include/startup.sh" ]; then
    . include/startup.sh
elif [ -f "../include/startup.sh" ]; then
    . ../include/startup.sh
fi

echo "Installing dependencies" | log
installPackage ca-certificates tzdata perl
waitOrStop 0 "Failed to install dependencies"

echo "Downloading GitLab" | log
curlDownload https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh
waitOrStop 0 "File not downloaded from official source"
bash script.deb.sh
sleep 30
waitOrStop 0 "Failed to install GitLab"

echo "Installing GitLab from apt" | log
apt update
EXTERNAL_URL="https://gitlab.${CWM_DOMAIN}" installPackage gitlab-ce
waitOrStop 0 "Failed to install gitlab-ee"

gitpass=$(cat /etc/gitlab/initial_root_password | grep Password:)

descriptionAppend "GitLab UI: https://${CWM_DOMAIN}"
descriptionAppend " "
descriptionAppend "Default admin account has been configured with following details:"
descriptionAppend "Username: root"
descriptionAppend "${gitpass}"
descriptionAppend "This password will be cleaned up in first reconfigure run after 24 hours."
descriptionAppend " "

tagScript success

exit 0

Youez - 2016 - github.com/yon3zu
LinuXploit