mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-02-28 01:10:44 +01:00
Binary file not shown.
@@ -102,7 +102,7 @@ DATABASES = {
|
||||
'ENGINE': 'django.db.backends.mysql',
|
||||
'NAME': 'cyberpanel',
|
||||
'USER': 'cyberpanel',
|
||||
'PASSWORD': 'jFzZwX3fFyYrCo',
|
||||
'PASSWORD': 'YhGk1hGnOcWwJl',
|
||||
'HOST': '127.0.0.1',
|
||||
'PORT':'3307'
|
||||
},
|
||||
@@ -110,7 +110,7 @@ DATABASES = {
|
||||
'ENGINE': 'django.db.backends.mysql',
|
||||
'NAME': 'mysql',
|
||||
'USER': 'root',
|
||||
'PASSWORD': 'b1w3wHi5x0o8t9',
|
||||
'PASSWORD': '8oUlBn5AmS8RuY',
|
||||
'HOST': 'localhost',
|
||||
'PORT': '',
|
||||
}
|
||||
|
||||
Binary file not shown.
BIN
CyberCP/urls.pyc
BIN
CyberCP/urls.pyc
Binary file not shown.
BIN
CyberCP/wsgi.pyc
BIN
CyberCP/wsgi.pyc
Binary file not shown.
BIN
api/__init__.pyc
BIN
api/__init__.pyc
Binary file not shown.
BIN
api/admin.pyc
BIN
api/admin.pyc
Binary file not shown.
Binary file not shown.
BIN
api/models.pyc
BIN
api/models.pyc
Binary file not shown.
BIN
api/urls.pyc
BIN
api/urls.pyc
Binary file not shown.
BIN
api/views.pyc
BIN
api/views.pyc
Binary file not shown.
Binary file not shown.
BIN
backup/admin.pyc
BIN
backup/admin.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
backup/urls.pyc
BIN
backup/urls.pyc
Binary file not shown.
BIN
backup/views.pyc
BIN
backup/views.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
dns/__init__.pyc
BIN
dns/__init__.pyc
Binary file not shown.
BIN
dns/admin.pyc
BIN
dns/admin.pyc
Binary file not shown.
Binary file not shown.
BIN
dns/models.pyc
BIN
dns/models.pyc
Binary file not shown.
BIN
dns/urls.pyc
BIN
dns/urls.pyc
Binary file not shown.
BIN
dns/views.pyc
BIN
dns/views.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
ftp/__init__.pyc
BIN
ftp/__init__.pyc
Binary file not shown.
BIN
ftp/admin.pyc
BIN
ftp/admin.pyc
Binary file not shown.
Binary file not shown.
BIN
ftp/models.pyc
BIN
ftp/models.pyc
Binary file not shown.
BIN
ftp/urls.pyc
BIN
ftp/urls.pyc
Binary file not shown.
BIN
ftp/views.pyc
BIN
ftp/views.pyc
Binary file not shown.
89
install/report.sh
Executable file
89
install/report.sh
Executable file
@@ -0,0 +1,89 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Please paste the output of this script when asking for installation related support on CyberPanel Forum
|
||||
# Link: https://forums.cyberpanel.net/
|
||||
#
|
||||
|
||||
clear; clear
|
||||
echo
|
||||
echo "Starting installation fault script"
|
||||
echo Data: `date`
|
||||
echo
|
||||
|
||||
echo "################################"
|
||||
|
||||
if [[ $(command -v wget) ]]; then
|
||||
echo "Wget is present"
|
||||
else
|
||||
echo "Wget not found"
|
||||
fi
|
||||
|
||||
echo "################################"
|
||||
echo Total Ram: `free -h | awk 'NR==2 {print $2}'`
|
||||
echo "Recommended: 1GB"
|
||||
echo
|
||||
echo "Disk Space"
|
||||
df -h --total | tail -n 1
|
||||
echo "################################"
|
||||
echo
|
||||
if [[ $(hostnamectl status | grep Virtualization) ]]; then
|
||||
hostnamectl status | grep Virtualization | sed -e 's/^[ \t]*//'
|
||||
else
|
||||
echo "No virtualization found"
|
||||
fi
|
||||
|
||||
# Operating System
|
||||
echo
|
||||
#
|
||||
if [[ $(hostnamectl status | grep "Operating System") ]]; then
|
||||
hostnamectl status | grep "Operating System" | sed -e 's/^[ \t]*//'
|
||||
else
|
||||
echo "Unable to detect operating system"
|
||||
fi
|
||||
|
||||
# Kernel
|
||||
echo
|
||||
#
|
||||
if [[ $(uname -a) ]]; then
|
||||
echo Kernel: `uname -a`
|
||||
else
|
||||
echo "Unable to detect kernel"
|
||||
fi
|
||||
echo
|
||||
#
|
||||
|
||||
echo "###########################"
|
||||
echo
|
||||
if [[ -d /usr/local/CyberCP ]]; then
|
||||
echo "CyberCP directory found"
|
||||
else
|
||||
echo "CyberCP directory not found"
|
||||
fi
|
||||
echo
|
||||
echo "###########################"
|
||||
|
||||
echo "Last 100 lines from installLogs.txt"
|
||||
|
||||
if [[ -f /usr/local/CyberCP/installLogs.txt ]]; then
|
||||
tail -n 100 /usr/local/CyberCP/installLogs.txt
|
||||
elif [[ -f install/installLogs.txt ]]; then # Look for log file in cwd/install
|
||||
tail -n 100 install/installLogs.txt
|
||||
elif [[ -f /var/log/installLogs.txt ]]; then
|
||||
tail -n 100 /var/log/installLogs.txt
|
||||
elif [[ -f /usr/local/installLogs.txt ]]; then
|
||||
tail -n 100 /usr/local/installLogs.txt
|
||||
else
|
||||
echo "Error log file not found"
|
||||
fi
|
||||
echo "###########################"
|
||||
echo
|
||||
echo "Gunicorn Status:"
|
||||
if [[ $(systemctl status gunicorn | grep active) ]]; then
|
||||
echo "Gunicorn seems to be running"
|
||||
else
|
||||
echo "Seems like gunicorn isn't running. Printing status"
|
||||
systemctl status gunicorn
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "###########################"
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user