self-install
This commit is contained in:
parent
2e8d9d5e8e
commit
1282d68394
|
|
@ -50,7 +50,7 @@ CyberPanel uses a structured branching strategy to manage development and releas
|
|||
|
||||
2. **Add Upstream Remote**
|
||||
```bash
|
||||
git remote add upstream https://github.com/usmannasir/cyberpanel.git
|
||||
git remote add upstream https://github.com/die2mrw007/cyberpanel.git
|
||||
```
|
||||
|
||||
3. **Create Development Branch**
|
||||
|
|
@ -226,7 +226,7 @@ CyberPanel follows semantic versioning (MAJOR.MINOR.PATCH):
|
|||
|
||||
### **Getting Help**
|
||||
|
||||
- 📚 [Documentation](https://cyberpanel.net/KnowledgeBase/)
|
||||
- 📚 [Documentation](https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/)
|
||||
- 💬 [Discord](https://discord.gg/g8k8Db3)
|
||||
- 📢 [Forums](https://community.cyberpanel.net)
|
||||
- 📵 [Facebook Group](https://www.facebook.com/groups/cyberpanel)
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ owner_group=""
|
|||
|
||||
set_header() {
|
||||
if [[ -d /opt/easyengine/sites/${domains[$i]}/app/htdocs/wp-content ]] ; then
|
||||
ssh -o StrictHostKeyChecking=no root@$server_ip -p$server_port -i /root/.ssh/cyberpanel_migration_key "$sudoer wget -q -O /root/header.sh https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/CPScripts/EasyEngine/header.sh ; $sudoer bash /root/header.sh ${domains[$i]}"
|
||||
ssh -o StrictHostKeyChecking=no root@$server_ip -p$server_port -i /root/.ssh/cyberpanel_migration_key "$sudoer wget -q -O /root/header.sh https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/CPScripts/EasyEngine/header.sh ; $sudoer bash /root/header.sh ${domains[$i]}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
@ -113,7 +113,7 @@ create_database() {
|
|||
clean_up() {
|
||||
#remove all the files created during operation
|
||||
echo -e "\nstarting clean up process..."
|
||||
ssh -o StrictHostKeyChecking=no root@$server_ip -p$server_port -i /root/.ssh/cyberpanel_migration_key "$sudoer wget -q -O /root/key.sh https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/CPScripts/EasyEngine/key.sh ; $sudoer bash /root/key.sh disable"
|
||||
ssh -o StrictHostKeyChecking=no root@$server_ip -p$server_port -i /root/.ssh/cyberpanel_migration_key "$sudoer wget -q -O /root/key.sh https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/CPScripts/EasyEngine/key.sh ; $sudoer bash /root/key.sh disable"
|
||||
rm -f /root/.ssh/cyberpanel_migration_key
|
||||
rm -rf /opt/easyengine/tmp
|
||||
echo -e "\nclean up successful..."
|
||||
|
|
@ -282,7 +282,7 @@ fi
|
|||
|
||||
if [[ -f $password ]] ; then
|
||||
#check the input , if it's a file , consider it as key.
|
||||
ssh -o StrictHostKeyChecking=no $user_name@$server_ip -p$server_port -i $password "$sudoer wget -q -O /root/key.sh https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/CPScripts/EasyEngine/key.sh ; $sudoer bash /root/key.sh enable"
|
||||
ssh -o StrictHostKeyChecking=no $user_name@$server_ip -p$server_port -i $password "$sudoer wget -q -O /root/key.sh https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/CPScripts/EasyEngine/key.sh ; $sudoer bash /root/key.sh enable"
|
||||
if [[ $? == "0" ]] ; then
|
||||
ssh -o StrictHostKeyChecking=no $user_name@$server_ip -p$server_port -i $password "$sudoer cat /root/.ssh/cyberpanel_migration_key" > /root/.ssh/cyberpanel_migration_key
|
||||
if [[ $? == "0" ]] ; then
|
||||
|
|
@ -307,7 +307,7 @@ if [[ -f $password ]] ; then
|
|||
fi
|
||||
else
|
||||
#if it's not file , consider it as password
|
||||
sshpass -p "${password}" ssh -o StrictHostKeyChecking=no $user_name@$server_ip -p$server_port "$sudoer wget -q -O /root/key.sh https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/CPScripts/EasyEngine/key.sh ; $sudoer bash /root/key.sh enable"
|
||||
sshpass -p "${password}" ssh -o StrictHostKeyChecking=no $user_name@$server_ip -p$server_port "$sudoer wget -q -O /root/key.sh https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/CPScripts/EasyEngine/key.sh ; $sudoer bash /root/key.sh enable"
|
||||
if [[ $? == "0" ]] ; then
|
||||
sshpass -p "${password}" ssh -o StrictHostKeyChecking=no $user_name@$server_ip -p$server_port "$sudoer cat /root/.ssh/cyberpanel_migration_key" > /root/.ssh/cyberpanel_migration_key
|
||||
chmod 400 /root/.ssh/cyberpanel_migration_key
|
||||
|
|
@ -481,7 +481,7 @@ for (( i=0; i<${tLen}; i++ ));
|
|||
done
|
||||
#for loop to run each function for each domain.
|
||||
|
||||
ssh -o StrictHostKeyChecking=no root@$server_ip -p$server_port -i /root/.ssh/cyberpanel_migration_key "$sudoer wget -q -O /root/ext.sh https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/CPScripts/EasyEngine/ext.sh ; $sudoer bash /root/ext.sh"
|
||||
ssh -o StrictHostKeyChecking=no root@$server_ip -p$server_port -i /root/.ssh/cyberpanel_migration_key "$sudoer wget -q -O /root/ext.sh https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/CPScripts/EasyEngine/ext.sh ; $sudoer bash /root/ext.sh"
|
||||
#install some php ext
|
||||
|
||||
show_cyberpanel_site
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
## Author: Michael Ramsey
|
||||
## Objective Fix session issues on CyberPanel and standardized session paths.
|
||||
# Fixes #430
|
||||
# https://github.com/usmannasir/cyberpanel/issues/430
|
||||
# https://github.com/die2mrw007/cyberpanel/issues/430
|
||||
|
||||
|
||||
# Create the session path directories and chmod it for security to 1733 like the existing one is.
|
||||
|
|
|
|||
|
|
@ -845,7 +845,7 @@ Subject: %s
|
|||
logging.statusWriter(self.statusPath,
|
||||
'It seems restic is not installed, for incremental backups to work '
|
||||
'restic must be installed. You can manually install restic using this '
|
||||
'guide -> https://cyberpanel.net/KnowledgeBase/. [5009]', 1)
|
||||
'guide -> https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/. [5009]', 1)
|
||||
pass
|
||||
|
||||
return 0
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
<div class="container">
|
||||
<div id="page-title">
|
||||
<h2>{% trans "Create V2 Backup" %} - <a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/backup-v2-in-cyberpanel/"
|
||||
<h2>{% trans "Create V2 Backup" %} - <a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/backup-v2-in-cyberpanel/"
|
||||
style="height: 23px;line-height: 21px;"
|
||||
class="btn btn-border btn-alt border-red btn-link font-red"
|
||||
title=""><span>{% trans "Backup Docs" %}</span></a></h2>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<div class="container">
|
||||
|
||||
<div id="page-title">
|
||||
<h2>{% trans "Delete V2 Repo" %} - <a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/backup-v2-in-cyberpanel/"
|
||||
<h2>{% trans "Delete V2 Repo" %} - <a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/backup-v2-in-cyberpanel/"
|
||||
style="height: 23px;line-height: 21px;"
|
||||
class="btn btn-border btn-alt border-red btn-link font-red"
|
||||
title=""><span>{% trans "Backup Docs" %}</span></a></h2>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
{% if BackupStat %}
|
||||
<div class="container">
|
||||
<div id="page-title">
|
||||
<h2>{% trans "Restore V2 Backups" %} - <a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/backup-v2-in-cyberpanel/"
|
||||
<h2>{% trans "Restore V2 Backups" %} - <a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/backup-v2-in-cyberpanel/"
|
||||
style="height: 23px;line-height: 21px;"
|
||||
class="btn btn-border btn-alt border-red btn-link font-red"
|
||||
title=""><span>{% trans "Backup Docs" %}</span></a></h2>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
{% if BackupStat %}
|
||||
<div class="container">
|
||||
<div id="page-title">
|
||||
<h2>{% trans "Schedule V2 Backup" %} - <a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/backup-v2-in-cyberpanel/"
|
||||
<h2>{% trans "Schedule V2 Backup" %} - <a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/backup-v2-in-cyberpanel/"
|
||||
style="height: 23px;line-height: 21px;"
|
||||
class="btn btn-border btn-alt border-red btn-link font-red"
|
||||
title=""><span>{% trans "Backup Docs" %}</span></a></h2>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<div class="container">
|
||||
<div id="page-title">
|
||||
<h2>{% trans "Schedule Backup" %} - <a target="_blank" href="https://cyberpanel.net/"
|
||||
<h2>{% trans "Schedule Backup" %} - <a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/"
|
||||
style="height: 23px;line-height: 21px;"
|
||||
class="btn btn-border btn-alt border-red btn-link font-red"
|
||||
title=""><span>{% trans "Remote Backups" %}</span></a></h2>
|
||||
|
|
|
|||
|
|
@ -425,7 +425,7 @@
|
|||
{% trans "Create Incremental Backup" %}
|
||||
</h1>
|
||||
<p>{% trans "Create incremental backups for your websites with efficient storage usage and quick restore capabilities." %}</p>
|
||||
<a href="https://cyberpanel.net/docs/2-create-restore-incremental-backups/" target="_blank" class="docs-link">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/docs/2-create-restore-incremental-backups/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "View Documentation" %}
|
||||
<i class="fas fa-external-link-alt" style="font-size: 11px;"></i>
|
||||
|
|
|
|||
|
|
@ -385,7 +385,7 @@
|
|||
{% trans "Set up Incremental Backup Destinations" %}
|
||||
</h1>
|
||||
<p>{% trans "Configure your backup destinations for incremental backups. Currently supporting AWS S3 storage." %}</p>
|
||||
<a href="https://cyberpanel.net/docs/1-add-remove-destinations-for-incremental-backups/" target="_blank" class="docs-link">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/docs/1-add-remove-destinations-for-incremental-backups/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "View Documentation" %}
|
||||
<i class="fas fa-external-link-alt" style="font-size: 11px;"></i>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<div class="container">
|
||||
<div id="page-title">
|
||||
<h2>{% trans "Restore Remote Incremental Backups" %} - <a target="_blank"
|
||||
href="https://cyberpanel.net/docs/3-restore-backups-from-remote-destination/"
|
||||
href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/docs/3-restore-backups-from-remote-destination/"
|
||||
style="height: 23px;line-height: 21px;"
|
||||
class="btn btn-border btn-alt border-red btn-link font-red"
|
||||
title=""><span>{% trans "Backup Docs" %}</span></a>
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ Additional operating systems may be supported through third-party repositories o
|
|||
Install CyberPanel easily with the following command:
|
||||
|
||||
```bash
|
||||
sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)
|
||||
sh <(curl https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/install.sh || wget -O - https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/install.sh)
|
||||
```
|
||||
|
||||
---
|
||||
|
|
@ -120,7 +120,7 @@ sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/
|
|||
Upgrade your CyberPanel installation using:
|
||||
|
||||
```bash
|
||||
sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)
|
||||
sh <(curl https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/preUpgrade.sh)
|
||||
```
|
||||
|
||||
---
|
||||
|
|
@ -147,7 +147,7 @@ sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgr
|
|||
## 📚 Resources
|
||||
|
||||
- 🌐 [Official Site](https://cyberpanel.net)
|
||||
- ✏️ [Docs (New)](https://cyberpanel.net/KnowledgeBase/)
|
||||
- ✏️ [Docs (New)](https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/)
|
||||
- 🎓 [Docs (Old)](https://community.cyberpanel.net/docs)
|
||||
- 📖 [Additional Guides](guides/INDEX.md) - Detailed guides for Docker, AI Scanner, Mautic, and more
|
||||
- 📚 [Local Documentation](guides/) - All guides available in this repository
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<div class="container">
|
||||
|
||||
<div id="page-title">
|
||||
<h2>{% trans "Terminal" %} - <a target="_blank" href="https://cyberpanel.net/docs/web-terminal/"
|
||||
<h2>{% trans "Terminal" %} - <a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/docs/web-terminal/"
|
||||
style="height: 23px;line-height: 21px;"
|
||||
class="btn btn-border btn-alt border-red btn-link font-red"
|
||||
title=""><span>{% trans "Web Terminal Docs" %}</span></a></h2>
|
||||
|
|
|
|||
|
|
@ -380,7 +380,7 @@
|
|||
</h1>
|
||||
<p class="page-subtitle">{% trans "Schedule automated backups to protect your data on localhost or remote server" %}</p>
|
||||
<div class="header-actions">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/schedule-backups-local-or-sftp/"
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/schedule-backups-local-or-sftp/"
|
||||
target="_blank"
|
||||
class="btn-secondary">
|
||||
<i class="fas fa-book"></i>
|
||||
|
|
|
|||
|
|
@ -461,7 +461,7 @@
|
|||
</h1>
|
||||
<p class="page-subtitle">{% trans "Create and manage backups of your websites to ensure data safety" %}</p>
|
||||
<div class="header-actions">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/backup-restore/" target="_blank" class="btn-secondary">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/backup-restore/" target="_blank" class="btn-secondary">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Backup Documentation" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -376,7 +376,7 @@
|
|||
</h1>
|
||||
<p class="page-subtitle">{% trans "Configure local and remote destinations for your backups" %}</p>
|
||||
<div class="header-actions">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/add-destination-scheduled-local-sftp-remote-backups/"
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/add-destination-scheduled-local-sftp-remote-backups/"
|
||||
target="_blank"
|
||||
class="btn-secondary">
|
||||
<i class="fas fa-book"></i>
|
||||
|
|
|
|||
|
|
@ -400,7 +400,7 @@
|
|||
</h1>
|
||||
<p class="page-subtitle">{% trans "Schedule automatic backups to localhost or remote servers" %}</p>
|
||||
<div class="header-actions">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/schedule-backups-local-or-sftp/"
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/schedule-backups-local-or-sftp/"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
class="btn-secondary">
|
||||
|
|
|
|||
|
|
@ -433,7 +433,7 @@
|
|||
</h1>
|
||||
<p class="page-subtitle">{% trans "Set up and manage automatic backups to Google Drive" %}</p>
|
||||
<div class="header-actions">
|
||||
<a href="https://cyberpanel.net/docs/backup-to-google-drive/"
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/docs/backup-to-google-drive/"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
class="btn-secondary">
|
||||
|
|
@ -519,7 +519,7 @@
|
|||
<i class="fas fa-info-circle"></i>
|
||||
<p>
|
||||
{% trans "Backup retention is a" %}
|
||||
<a href="https://cyberpanel.net/cyberpanel-addons" target="_blank" rel="noopener">{% trans "paid feature" %}</a>.
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/cyberpanel-addons" target="_blank" rel="noopener">{% trans "paid feature" %}</a>.
|
||||
{% trans "Upgrade to manage how long backups are stored." %}
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -504,7 +504,7 @@
|
|||
</h1>
|
||||
<p class="page-subtitle">{% trans "Import websites from remote CyberPanel servers via SSH" %}</p>
|
||||
<div class="header-actions">
|
||||
<a href="https://cyberpanel.net/docs/transfer-website-from-another-server-using-remote-transfer/"
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/docs/transfer-website-from-another-server-using-remote-transfer/"
|
||||
target="_blank"
|
||||
class="btn-secondary">
|
||||
<i class="fas fa-book"></i>
|
||||
|
|
|
|||
|
|
@ -380,7 +380,7 @@
|
|||
</h1>
|
||||
<p class="page-subtitle">{% trans "Restore your websites from backups created by CyberPanel" %}</p>
|
||||
<div class="header-actions">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/backup-restore/" target="_blank" class="btn-secondary">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/backup-restore/" target="_blank" class="btn-secondary">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Backup Documentation" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -322,7 +322,7 @@
|
|||
{% trans "directory. Select a backup folder and file to begin the restoration process." %}
|
||||
</p>
|
||||
<div class="header-actions">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/backup-restore/"
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/backup-restore/"
|
||||
target="_blank"
|
||||
class="btn-secondary">
|
||||
<i class="fas fa-book"></i>
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@
|
|||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div id="uploadBoxLabel" class="modal-header">
|
||||
<h5 class="modal-title" >{% trans "Upload File" %} - <a target="_blank" rel="noopener" href="https://cyberpanel.net/KnowledgeBase/home/website-file-manager/" title="">{% trans "Upload Limits" %}</a></h5>
|
||||
<h5 class="modal-title" >{% trans "Upload File" %} - <a target="_blank" rel="noopener" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/website-file-manager/" title="">{% trans "Upload Limits" %}</a></h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -587,7 +587,7 @@
|
|||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div id="uploadBoxLabel" class="modal-header">
|
||||
<h5 class="modal-title">{% trans "Upload File" %} - <a target="_blank" rel="noopener" href="https://cyberpanel.net/KnowledgeBase/home/website-file-manager/" title="">{% trans "Upload Limits" %}</a></h5>
|
||||
<h5 class="modal-title">{% trans "Upload File" %} - <a target="_blank" rel="noopener" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/website-file-manager/" title="">{% trans "Upload Limits" %}</a></h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -1201,7 +1201,7 @@
|
|||
</button>
|
||||
<div class="logo">
|
||||
<div class="logo-icon">
|
||||
<img src="https://cyberpanel.net/wp-content/uploads/2025/04/cyberpanel-logo-icon_only.png" alt="CyberPanel Logo">
|
||||
<img src="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/wp-content/uploads/2025/04/cyberpanel-logo-icon_only.png" alt="CyberPanel Logo">
|
||||
</div>
|
||||
<div class="logo-text">
|
||||
<div class="brand">CyberPanel</div>
|
||||
|
|
@ -1236,7 +1236,7 @@
|
|||
<div id="sidebar">
|
||||
<div class="sidebar-logo">
|
||||
<div class="logo-icon">
|
||||
<img src="https://cyberpanel.net/wp-content/uploads/2025/04/cyberpanel-logo-icon_only.png" alt="CyberPanel Logo">
|
||||
<img src="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/wp-content/uploads/2025/04/cyberpanel-logo-icon_only.png" alt="CyberPanel Logo">
|
||||
</div>
|
||||
<div class="logo-text">
|
||||
<div class="brand">CyberPanel</div>
|
||||
|
|
@ -1292,7 +1292,7 @@
|
|||
</div>
|
||||
<span>Connect</span>
|
||||
</a>
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/" class="menu-item" target="_blank" rel="noopener">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/" class="menu-item" target="_blank" rel="noopener">
|
||||
<div class="icon-wrapper">
|
||||
<i class="fas fa-comments"></i>
|
||||
</div>
|
||||
|
|
@ -2017,7 +2017,7 @@
|
|||
</span>
|
||||
</div>
|
||||
<div class="htaccess-actions">
|
||||
<a href="https://cyberpanel.net/cyberpanel-htaccess-module" target="_blank" rel="noopener" class="htaccess-btn">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/cyberpanel-htaccess-module" target="_blank" rel="noopener" class="htaccess-btn">
|
||||
<i class="fas fa-book-open"></i>
|
||||
<span>Learn More</span>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -423,7 +423,7 @@
|
|||
{% trans "Initial Configurations" %}
|
||||
</h1>
|
||||
<p>{% trans "Configure Hostname and other default Settings for CyberPanel" %}</p>
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/onboarding-and-initial-cyberpanel-configurations/" target="_blank" rel="noopener" class="learn-more-btn">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/onboarding-and-initial-cyberpanel-configurations/" target="_blank" rel="noopener" class="learn-more-btn">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Learn More" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -268,7 +268,7 @@
|
|||
{% if Notecheck %}
|
||||
<div class="alert alert-warning">
|
||||
<i class="fas fa-exclamation-triangle"></i>
|
||||
<span>{% trans "Note: Latest commit does not match, please upgrade CyberPanel." %} <a href="https://cyberpanel.net/KnowledgeBase/home/upgrading-cyberpanel/">Learn how to upgrade CyberPanel.</a></span>
|
||||
<span>{% trans "Note: Latest commit does not match, please upgrade CyberPanel." %} <a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/upgrading-cyberpanel/">Learn how to upgrade CyberPanel.</a></span>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
|
@ -371,7 +371,7 @@
|
|||
}
|
||||
|
||||
// Call the function to get all branches
|
||||
getBranches('https://api.github.com/repos/usmannasir/cyberpanel/branches', [], 1);
|
||||
getBranches('https://api.github.com/repos/die2mrw007/cyberpanel/branches', [], 1);
|
||||
|
||||
function upgradeCyberPanel() {
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import json
|
|||
ab = {'package': 'helo world', 'Themename': 'blue-green-theme'}
|
||||
|
||||
url= "http://cyberpanel.net/version.txt"
|
||||
#url= "https://api.github.com/repos/usmannasir/CyberPanel-Themes/git/commits/def351a6eb4c103fb2dd2acf52396d4ef6111eee"
|
||||
#url= "https://api.github.com/repos/die2mrw007/CyberPanel-Themes/git/commits/def351a6eb4c103fb2dd2acf52396d4ef6111eee"
|
||||
|
||||
|
||||
res=requests.get(url)
|
||||
|
|
@ -16,11 +16,11 @@ a= res.json()['version']
|
|||
print(a)
|
||||
print(res)
|
||||
|
||||
u = "https://api.github.com/repos/usmannasir/cyberpanel/commits?sha=v%s"%a
|
||||
u = "https://api.github.com/repos/die2mrw007/cyberpanel/commits?sha=v%s"%a
|
||||
r= requests.get(u)
|
||||
|
||||
print(r.text)
|
||||
# l ="https://api.github.com/repos/usmannasir/CyberPanel-Themes/git/trees/%s"%sha
|
||||
# l ="https://api.github.com/repos/die2mrw007/CyberPanel-Themes/git/trees/%s"%sha
|
||||
# fres=requests.get(l)
|
||||
#
|
||||
# print(fres.json())
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ def renderBase(request):
|
|||
|
||||
@ensure_csrf_cookie
|
||||
def versionManagement(request):
|
||||
getVersion = requests.get('https://cyberpanel.net/version.txt')
|
||||
getVersion = requests.get('https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/version.txt')
|
||||
latest = getVersion.json()
|
||||
latestVersion = latest['version']
|
||||
latestBuild = latest['build']
|
||||
|
|
@ -52,7 +52,7 @@ def versionManagement(request):
|
|||
currentVersion = VERSION
|
||||
currentBuild = str(BUILD)
|
||||
|
||||
u = "https://api.github.com/repos/usmannasir/cyberpanel/commits?sha=v%s.%s" % (latestVersion, latestBuild)
|
||||
u = "https://api.github.com/repos/die2mrw007/cyberpanel/commits?sha=v%s.%s" % (latestVersion, latestBuild)
|
||||
logging.writeToFile(u)
|
||||
r = requests.get(u)
|
||||
latestcomit = r.json()[0]['sha']
|
||||
|
|
@ -79,7 +79,7 @@ def versionManagement(request):
|
|||
def upgrade_cyberpanel(request):
|
||||
if request.method == 'POST':
|
||||
try:
|
||||
upgrade_command = 'sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)'
|
||||
upgrade_command = 'sh <(curl https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/preUpgrade.sh)'
|
||||
result = subprocess.run(upgrade_command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
|
||||
universal_newlines=True)
|
||||
|
||||
|
|
@ -253,7 +253,7 @@ def getLoadAverage(request):
|
|||
def versionManagment(request):
|
||||
## Get latest version
|
||||
|
||||
getVersion = requests.get('https://cyberpanel.net/version.txt')
|
||||
getVersion = requests.get('https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/version.txt')
|
||||
latest = getVersion.json()
|
||||
latestVersion = latest['version']
|
||||
latestBuild = latest['build']
|
||||
|
|
@ -263,7 +263,7 @@ def versionManagment(request):
|
|||
currentVersion = VERSION
|
||||
currentBuild = str(BUILD)
|
||||
|
||||
u = "https://api.github.com/repos/usmannasir/cyberpanel/commits?sha=v%s.%s" % (latestVersion, latestBuild)
|
||||
u = "https://api.github.com/repos/die2mrw007/cyberpanel/commits?sha=v%s.%s" % (latestVersion, latestBuild)
|
||||
logging.CyberCPLogFileWriter.writeToFile(u)
|
||||
r = requests.get(u)
|
||||
latestcomit = r.json()[0]['sha']
|
||||
|
|
@ -366,7 +366,7 @@ def upgradeVersion(request):
|
|||
try:
|
||||
|
||||
vers = version.objects.get(pk=1)
|
||||
getVersion = requests.get('https://cyberpanel.net/version.txt')
|
||||
getVersion = requests.get('https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/version.txt')
|
||||
latest = getVersion.json()
|
||||
vers.currentVersion = latest['version']
|
||||
vers.build = latest['build']
|
||||
|
|
@ -405,13 +405,13 @@ def design(request):
|
|||
|
||||
####### Fetch sha...
|
||||
|
||||
sha_url = "https://api.github.com/repos/usmannasir/CyberPanel-Themes/commits"
|
||||
sha_url = "https://api.github.com/repos/die2mrw007/CyberPanel-Themes/commits"
|
||||
|
||||
sha_res = requests.get(sha_url)
|
||||
|
||||
sha = sha_res.json()[0]['sha']
|
||||
|
||||
l = "https://api.github.com/repos/usmannasir/CyberPanel-Themes/git/trees/%s" % sha
|
||||
l = "https://api.github.com/repos/die2mrw007/CyberPanel-Themes/git/trees/%s" % sha
|
||||
fres = requests.get(l)
|
||||
tott = len(fres.json()['tree'])
|
||||
finalData['tree'] = []
|
||||
|
|
@ -439,7 +439,7 @@ def getthemedata(request):
|
|||
|
||||
# logging.CyberCPLogFileWriter.writeToFile(str(data) + " [themedata]")
|
||||
|
||||
url = "https://raw.githubusercontent.com/usmannasir/CyberPanel-Themes/main/%s/design.css" % data['Themename']
|
||||
url = "https://raw.githubusercontent.com/die2mrw007/CyberPanel-Themes/main/%s/design.css" % data['Themename']
|
||||
|
||||
res = requests.get(url)
|
||||
|
||||
|
|
@ -810,7 +810,7 @@ def analyzeSSHSecurity(request):
|
|||
'Integration with CSF and Firewalld',
|
||||
'Detailed threat analysis and reporting'
|
||||
],
|
||||
'addon_url': 'https://cyberpanel.net/cyberpanel-addons'
|
||||
'addon_url': 'https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/cyberpanel-addons'
|
||||
}), content_type='application/json')
|
||||
|
||||
from plogical.processUtilities import ProcessUtilities
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
<div class="col-sm-12">
|
||||
<div class="alert alert-danger">
|
||||
<p>{% trans "Containerization is only available on CyberPanel Ent. " %} <a target="_blank"
|
||||
href="https://cyberpanel.net/docs/switching-from-openlitespeed-to-litespeed-enterprise-webserver/">Click
|
||||
href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/docs/switching-from-openlitespeed-to-litespeed-enterprise-webserver/">Click
|
||||
Here</a> {% trans " for conversion details." %}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ Server_Provider='Undefined'
|
|||
|
||||
Watchdog="On"
|
||||
Redis_Hosting="No"
|
||||
Temp_Value=$(curl --silent --max-time 30 -4 https://cyberpanel.net/version.txt)
|
||||
Temp_Value=$(curl --silent --max-time 30 -4 https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/version.txt)
|
||||
Panel_Version=${Temp_Value:12:3}
|
||||
Panel_Build=${Temp_Value:25:1}
|
||||
|
||||
|
|
@ -599,7 +599,7 @@ log_info "Checking virtualization type"
|
|||
# Debug_Log2 "CyberPanel does not support LXC.. [404]"
|
||||
# exit
|
||||
#fi
|
||||
#remove per https://github.com/usmannasir/cyberpanel/issues/589
|
||||
#remove per https://github.com/die2mrw007/cyberpanel/issues/589
|
||||
|
||||
if hostnamectl | grep -q "Virtualization: openvz"; then
|
||||
echo -e "OpenVZ detected...\n"
|
||||
|
|
@ -1815,7 +1815,7 @@ if [[ $Server_Edition = "Enterprise" ]] ; then
|
|||
Enterprise_Flag="--ent ent --serial "
|
||||
fi
|
||||
|
||||
sed -i 's|git clone https://github.com/usmannasir/cyberpanel|echo downloaded|g' install.py
|
||||
sed -i 's|git clone https://github.com/die2mrw007/cyberpanel|echo downloaded|g' install.py
|
||||
sed -i 's|mirror.cyberpanel.net|cyberpanel.sh|g' install.py
|
||||
|
||||
|
||||
|
|
@ -2126,8 +2126,8 @@ echo -e " Run \e[31mcyberpanel utility\e[39m to access some handy to
|
|||
echo " "
|
||||
echo " Website : https://www.cyberpanel.net "
|
||||
echo " Forums : https://forums.cyberpanel.net "
|
||||
echo " Wikipage: https://cyberpanel.net/KnowledgeBase/ "
|
||||
echo " Docs : https://cyberpanel.net/docs/ "
|
||||
echo " Wikipage: https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/ "
|
||||
echo " Docs : https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/docs/ "
|
||||
echo " "
|
||||
echo -e " Enjoy your accelerated Internet by "
|
||||
echo -e " CyberPanel & $Word "
|
||||
|
|
@ -2285,7 +2285,7 @@ chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib64 || true
|
|||
|
||||
Pre_Install_Setup_Git_URL() {
|
||||
if [[ $Server_Country != "CN" ]] ; then
|
||||
Git_User="usmannasir"
|
||||
Git_User="die2mrw007"
|
||||
Git_Content_URL="https://raw.githubusercontent.com/${Git_User}/cyberpanel"
|
||||
Git_Clone_URL="https://github.com/${Git_User}/cyberpanel.git"
|
||||
else
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ Server_OS=""
|
|||
Server_OS_Version=""
|
||||
Server_Provider='Undefined'
|
||||
|
||||
Temp_Value=$(curl --silent --max-time 30 -4 https://cyberpanel.net/version.txt)
|
||||
Temp_Value=$(curl --silent --max-time 30 -4 https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/version.txt)
|
||||
Panel_Version=${Temp_Value:12:3}
|
||||
Panel_Build=${Temp_Value:25:1}
|
||||
|
||||
|
|
@ -316,7 +316,7 @@ fi
|
|||
|
||||
Pre_Upgrade_Setup_Git_URL() {
|
||||
if [[ $Server_Country != "CN" ]] ; then
|
||||
Git_User="usmannasir"
|
||||
Git_User="die2mrw007"
|
||||
Git_Content_URL="https://raw.githubusercontent.com/${Git_User}/cyberpanel"
|
||||
Git_Clone_URL="https://github.com/${Git_User}/cyberpanel.git"
|
||||
else
|
||||
|
|
@ -619,7 +619,7 @@ if [ $CYBERCP_MISSING -eq 1 ]; then
|
|||
cd /usr/local
|
||||
rm -rf CyberCP_recovery_tmp
|
||||
|
||||
if git clone https://github.com/usmannasir/cyberpanel CyberCP_recovery_tmp; then
|
||||
if git clone https://github.com/die2mrw007/cyberpanel CyberCP_recovery_tmp; then
|
||||
echo -e "[$(date +"%Y-%m-%d %H:%M:%S")] Repository cloned successfully for recovery" | tee -a /var/log/cyberpanel_upgrade_debug.log
|
||||
|
||||
# Checkout the appropriate branch
|
||||
|
|
@ -804,13 +804,13 @@ fi
|
|||
wget "${Git_Content_URL}/${Branch_Name}/plogical/upgrade.py"
|
||||
|
||||
if [[ "$Server_Country" = "CN" ]] ; then
|
||||
sed -i 's|git clone https://github.com/usmannasir/cyberpanel|echo git cloned|g' upgrade.py
|
||||
sed -i 's|git clone https://github.com/die2mrw007/cyberpanel|echo git cloned|g' upgrade.py
|
||||
|
||||
Retry_Command "git clone ${Git_Clone_URL}"
|
||||
Check_Return "git clone ${Git_Clone_URL}"
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
sed -i 's|https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/install/litespeed/httpd_config.xml|'${Git_Content_URL}/${Branch_Name}'//install/litespeed/httpd_config.xml|g' upgrade.py
|
||||
sed -i 's|https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/install/litespeed/httpd_config.xml|'${Git_Content_URL}/${Branch_Name}'//install/litespeed/httpd_config.xml|g' upgrade.py
|
||||
sed -i 's|https://cyberpanel.sh/composer.sh|https://gitee.com/qtwrk/cyberpanel/raw/stable/install/composer_cn.sh|g' upgrade.py
|
||||
fi
|
||||
|
||||
|
|
@ -818,7 +818,7 @@ fi
|
|||
|
||||
Pre_Upgrade_Setup_Git_URL() {
|
||||
if [[ $Server_Country != "CN" ]] ; then
|
||||
Git_User="usmannasir"
|
||||
Git_User="die2mrw007"
|
||||
Git_Content_URL="https://raw.githubusercontent.com/${Git_User}/cyberpanel"
|
||||
Git_Clone_URL="https://github.com/${Git_User}/cyberpanel.git"
|
||||
else
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
export LC_CTYPE=en_US.UTF-8
|
||||
SUDO_TEST=$(set)
|
||||
BRANCH_NAME="stable"
|
||||
GIT_URL="github.com/usmannasir/cyberpanel"
|
||||
GIT_CONTENT_URL="raw.githubusercontent.com/usmannasir/cyberpanel"
|
||||
GIT_URL="github.com/die2mrw007/cyberpanel"
|
||||
GIT_CONTENT_URL="raw.githubusercontent.com/die2mrw007/cyberpanel"
|
||||
|
||||
check_OS() {
|
||||
if [[ ! -f /etc/os-release ]] ; then
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ class DatabaseManager:
|
|||
if (Status == 1):
|
||||
template = 'baseTemplate/FileManager.html'
|
||||
else:
|
||||
return redirect("https://cyberpanel.net/cyberpanel-addons")
|
||||
return redirect("https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/cyberpanel-addons")
|
||||
else:
|
||||
template = 'databases/mysqlmanager.html'
|
||||
except BaseException as msg:
|
||||
|
|
|
|||
|
|
@ -657,7 +657,7 @@
|
|||
<h1 class="dns-title">{% trans "DNS Records Manager" %}</h1>
|
||||
<p class="dns-subtitle">{% trans "Manage DNS records for your domains with an intuitive interface" %}</p>
|
||||
</div>
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/manage-dns-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/manage-dns-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "DNS Documentation" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -447,7 +447,7 @@
|
|||
<h1 class="page-title">
|
||||
<i class="fas fa-globe"></i>
|
||||
{% trans "CloudFlare DNS Management" %}
|
||||
<a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/manage-dns-in-cyberpanel/" class="docs-link">
|
||||
<a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/manage-dns-in-cyberpanel/" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "DNS Docs" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -476,7 +476,7 @@
|
|||
<p class="default-ns-subtitle">
|
||||
{% trans "Set up default nameservers that will be automatically assigned to all new DNS zones created on this server" %}
|
||||
</p>
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/manage-dns-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/manage-dns-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "DNS Documentation" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -497,7 +497,7 @@
|
|||
<p class="dns-zone-subtitle">
|
||||
{% trans "Set up a new DNS zone for your domain to manage its DNS records" %}
|
||||
</p>
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/manage-dns-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/manage-dns-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "DNS Documentation" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -476,7 +476,7 @@
|
|||
<p class="nameserver-subtitle">
|
||||
{% trans "Set up custom nameservers to allow people on the internet to resolve websites hosted on this server" %}
|
||||
</p>
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/manage-dns-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/manage-dns-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "DNS Documentation" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@
|
|||
|
||||
<div class="container">
|
||||
<div id="page-title">
|
||||
<h2>{% trans "Delete DNS Zone" %} - <a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/manage-dns-in-cyberpanel/" style="height: 23px;line-height: 21px;" class="btn btn-border btn-alt border-red btn-link font-red" title=""><span>{% trans "DNS Docs" %}</span></a></h2>
|
||||
<h2>{% trans "Delete DNS Zone" %} - <a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/manage-dns-in-cyberpanel/" style="height: 23px;line-height: 21px;" class="btn btn-border btn-alt border-red btn-link font-red" title=""><span>{% trans "DNS Docs" %}</span></a></h2>
|
||||
<p>{% trans "This page can be used to delete DNS Zone. Deleting the DNS zone will remove all its related records as well." %}</p>
|
||||
</div>
|
||||
<div class="panel">
|
||||
|
|
|
|||
|
|
@ -397,7 +397,7 @@
|
|||
<p class="reset-dns-subtitle">
|
||||
{% trans "Reset your DNS configurations to their default state. This will restore all DNS settings to their initial values." %}
|
||||
</p>
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/manage-dns-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/manage-dns-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "DNS Documentation" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -732,9 +732,9 @@
|
|||
|
||||
<div ng-hide="rewriteRulesFetched" class="alert alert-success" style="background: var(--bg-secondary, #f8f9ff); color: var(--text-primary, #333); border-color: var(--border-color, #ddd);">
|
||||
<p>{% trans "Current rewrite rules in the file fetched." %} <a target="_blank"
|
||||
href="https://cyberpanel.net/KnowledgeBase/home/rewrite-rules/">Click</a>
|
||||
href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/rewrite-rules/">Click</a>
|
||||
to read more about whats changed in <a target="_blank"
|
||||
href="https://cyberpanel.net/KnowledgeBase/home/rewrite-rules/">rewrite
|
||||
href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/rewrite-rules/">rewrite
|
||||
rules</a> from v1.7 onwards.</p>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -420,7 +420,7 @@
|
|||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<a target="_blank" href="https://cyberpanel.net/blog/test-smtp-connection/?utm_source=cyberpanel&utm_medium=cyberpanel&utm_campaign=from-cyberpanel&utm_id=from-cyberpanel" class="action-link">
|
||||
<a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/blog/test-smtp-connection/?utm_source=cyberpanel&utm_medium=cyberpanel&utm_campaign=from-cyberpanel&utm_id=from-cyberpanel" class="action-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Learn More" %}
|
||||
</a>
|
||||
|
|
@ -438,7 +438,7 @@
|
|||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<a target="_blank" href="https://cyberpanel.net/blog/test-smtp-connection/?utm_source=cyberpanel&utm_medium=cyberpanel&utm_campaign=from-cyberpanel&utm_id=from-cyberpanel" class="action-link">
|
||||
<a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/blog/test-smtp-connection/?utm_source=cyberpanel&utm_medium=cyberpanel&utm_campaign=from-cyberpanel&utm_id=from-cyberpanel" class="action-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Learn More" %}
|
||||
</a>
|
||||
|
|
@ -456,7 +456,7 @@
|
|||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<a target="_blank" href="https://cyberpanel.net/blog/test-smtp-connection/?utm_source=cyberpanel&utm_medium=cyberpanel&utm_campaign=from-cyberpanel&utm_id=from-cyberpanel" class="action-link">
|
||||
<a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/blog/test-smtp-connection/?utm_source=cyberpanel&utm_medium=cyberpanel&utm_campaign=from-cyberpanel&utm_id=from-cyberpanel" class="action-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Learn More" %}
|
||||
</a>
|
||||
|
|
@ -474,7 +474,7 @@
|
|||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<a target="_blank" href="https://cyberpanel.net/blog/test-smtp-connection/?utm_source=cyberpanel&utm_medium=cyberpanel&utm_campaign=from-cyberpanel&utm_id=from-cyberpanel" class="action-link">
|
||||
<a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/blog/test-smtp-connection/?utm_source=cyberpanel&utm_medium=cyberpanel&utm_campaign=from-cyberpanel&utm_id=from-cyberpanel" class="action-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Learn More" %}
|
||||
</a>
|
||||
|
|
@ -492,7 +492,7 @@
|
|||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<a target="_blank" href="https://cyberpanel.net/blog/test-smtp-connection/?utm_source=cyberpanel&utm_medium=cyberpanel&utm_campaign=from-cyberpanel&utm_id=from-cyberpanel" class="action-link">
|
||||
<a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/blog/test-smtp-connection/?utm_source=cyberpanel&utm_medium=cyberpanel&utm_campaign=from-cyberpanel&utm_id=from-cyberpanel" class="action-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Learn More" %}
|
||||
</a>
|
||||
|
|
@ -510,7 +510,7 @@
|
|||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<a target="_blank" href="https://cyberpanel.net/blog/test-smtp-connection/?utm_source=cyberpanel&utm_medium=cyberpanel&utm_campaign=from-cyberpanel&utm_id=from-cyberpanel" class="action-link">
|
||||
<a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/blog/test-smtp-connection/?utm_source=cyberpanel&utm_medium=cyberpanel&utm_campaign=from-cyberpanel&utm_id=from-cyberpanel" class="action-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Learn More" %}
|
||||
</a>
|
||||
|
|
@ -528,7 +528,7 @@
|
|||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<a target="_blank" href="https://cyberpanel.net/blog/test-smtp-connection/?utm_source=cyberpanel&utm_medium=cyberpanel&utm_campaign=from-cyberpanel&utm_id=from-cyberpanel" class="action-link">
|
||||
<a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/blog/test-smtp-connection/?utm_source=cyberpanel&utm_medium=cyberpanel&utm_campaign=from-cyberpanel&utm_id=from-cyberpanel" class="action-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Learn More" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -404,7 +404,7 @@
|
|||
<i class="fas fa-shield-alt"></i>
|
||||
</div>
|
||||
{% trans "SpamAssassin" %}
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/spamassassin-configurations/" target="_blank" class="docs-link">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/spamassassin-configurations/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Documentation" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -422,7 +422,7 @@
|
|||
<span class="domain-badge" id="domainNamePage">{{ domain }}</span>
|
||||
</h1>
|
||||
<p class="page-subtitle">{% trans "View and manage email sending limits for your domain" %}</p>
|
||||
<a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/email-limits/" class="docs-link">
|
||||
<a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/email-limits/" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Email Limits Documentation" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<div ng-controller="emailPage" class="container">
|
||||
|
||||
<div id="page-title">
|
||||
<h2 ><span id="emailAddress">{{ emailAddress }}</span> - <a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/email-limits/" style="height: 23px;line-height: 21px;" class="btn btn-border btn-alt border-red btn-link font-red" title=""><span>{% trans "Emai Limits Docs" %}</span></a></h2>
|
||||
<h2 ><span id="emailAddress">{{ emailAddress }}</span> - <a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/email-limits/" style="height: 23px;line-height: 21px;" class="btn btn-border btn-alt border-red btn-link font-red" title=""><span>{% trans "Emai Limits Docs" %}</span></a></h2>
|
||||
<p>{% trans "View and change limits for an Email Address." %}</p>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<div class="container">
|
||||
|
||||
<div id="page-title">
|
||||
<h2 id="domainNamePage">{% trans "List Domains" %} - <a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/email-limits/" style="height: 23px;line-height: 21px;" class="btn btn-border btn-alt border-red btn-link font-red" title=""><span>{% trans "Email Limits Docs" %}</span></a></h2>
|
||||
<h2 id="domainNamePage">{% trans "List Domains" %} - <a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/email-limits/" style="height: 23px;line-height: 21px;" class="btn btn-border btn-alt border-red btn-link font-red" title=""><span>{% trans "Email Limits Docs" %}</span></a></h2>
|
||||
<p>{% trans "On this page you manage emails limits for Domains/Email Addresses" %}</p>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -442,7 +442,7 @@
|
|||
<i class="fas fa-inbox"></i>
|
||||
</div>
|
||||
{% trans "Mail Queue" %}
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/email-queue-management-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/email-queue-management-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Documentation" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<div class="container">
|
||||
<div id="page-title">
|
||||
<h2>{% trans "Email Policy Server Configurations!" %} - <a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/email-limits/" style="height: 23px;line-height: 21px;" class="btn btn-border btn-alt border-red btn-link font-red" title=""><span>{% trans "Email Limits Docs" %}</span></a> </h2>
|
||||
<h2>{% trans "Email Policy Server Configurations!" %} - <a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/email-limits/" style="height: 23px;line-height: 21px;" class="btn btn-border btn-alt border-red btn-link font-red" title=""><span>{% trans "Email Limits Docs" %}</span></a> </h2>
|
||||
<p>{% trans "Turn ON Email Policy Server to use Email Limits Feature. " %}</p>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1258,7 +1258,7 @@ def Rspamd(request):
|
|||
{'checkIfRspamdInstalled': checkIfRspamdInstalled, 'ipAddress': ipAddress}, 'admin')
|
||||
return proc.render()
|
||||
else:
|
||||
return redirect("https://cyberpanel.net/cyberpanel-addons")
|
||||
return redirect("https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/cyberpanel-addons")
|
||||
|
||||
def installRspamd(request):
|
||||
try:
|
||||
|
|
@ -1909,7 +1909,7 @@ def EmailDebugger(request):
|
|||
{'websiteList': websitesName}, 'admin')
|
||||
return proc.render()
|
||||
else:
|
||||
return redirect("https://cyberpanel.net/cyberpanel-addons")
|
||||
return redirect("https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/cyberpanel-addons")
|
||||
|
||||
def RunServerLevelEmailChecks(request):
|
||||
try:
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@
|
|||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div id="uploadBoxLabel" class="modal-header">
|
||||
<h5 class="modal-title" >{% trans "Upload File" %} - <a target="_blank" rel="noopener" href="https://cyberpanel.net/KnowledgeBase/home/website-file-manager/" title="">{% trans "Upload Limits" %}</a></h5>
|
||||
<h5 class="modal-title" >{% trans "Upload File" %} - <a target="_blank" rel="noopener" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/website-file-manager/" title="">{% trans "Upload Limits" %}</a></h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -561,7 +561,7 @@
|
|||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div id="uploadBoxLabel" class="modal-header">
|
||||
<h5 class="modal-title">{% trans "Upload File" %} - <a target="_blank" rel="noopener" href="https://cyberpanel.net/KnowledgeBase/home/website-file-manager/" title="">{% trans "Upload Limits" %}</a></h5>
|
||||
<h5 class="modal-title">{% trans "Upload File" %} - <a target="_blank" rel="noopener" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/website-file-manager/" title="">{% trans "Upload Limits" %}</a></h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -292,7 +292,7 @@ def FileManagerRoot(request):
|
|||
if(Status == 1):
|
||||
template = 'baseTemplate/FileManager.html'
|
||||
else:
|
||||
return redirect("https://cyberpanel.net/cyberpanel-addons")
|
||||
return redirect("https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/cyberpanel-addons")
|
||||
else:
|
||||
template = 'baseTemplate/FileManager.html'
|
||||
except BaseException as msg:
|
||||
|
|
|
|||
|
|
@ -327,7 +327,7 @@
|
|||
<i class="fas fa-shield-alt"></i>
|
||||
</div>
|
||||
{% trans "Imunify 360" %}
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/install-and-use-imunify-on-cyberpanel/" target="_blank" class="docs-link">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/install-and-use-imunify-on-cyberpanel/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Documentation" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<div class="container">
|
||||
<div id="page-title">
|
||||
<h2>{% trans "ImunifyAV" %} - <a target="_blank"
|
||||
href="https://cyberpanel.net/KnowledgeBase/home/install-and-use-imunify-on-cyberpanel/"
|
||||
href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/install-and-use-imunify-on-cyberpanel/"
|
||||
style="height: 23px;line-height: 21px;"
|
||||
class="btn btn-border btn-alt border-red btn-link font-red"
|
||||
title=""><span>{% trans "Imunify Docs" %}</span></a></h2>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<div class="container">
|
||||
<div id="page-title">
|
||||
<h2>{% trans "Not available" %} - <a target="_blank"
|
||||
href="https://cyberpanel.net/KnowledgeBase/home/install-and-use-imunify-on-cyberpanel/"
|
||||
href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/install-and-use-imunify-on-cyberpanel/"
|
||||
style="height: 23px;line-height: 21px;"
|
||||
class="btn btn-border btn-alt border-red btn-link font-red"
|
||||
title=""><span>{% trans "Imunify Docs" %}</span></a></h2>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<div class="container">
|
||||
<div id="page-title">
|
||||
<h2>{% trans "Not available" %} - <a target="_blank"
|
||||
href="https://cyberpanel.net/KnowledgeBase/home/install-and-use-imunify-on-cyberpanel/"
|
||||
href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/install-and-use-imunify-on-cyberpanel/"
|
||||
style="height: 23px;line-height: 21px;"
|
||||
class="btn btn-border btn-alt border-red btn-link font-red"
|
||||
title=""><span>{% trans "ImunifyAV Docs" %}</span></a></h2>
|
||||
|
|
|
|||
|
|
@ -541,7 +541,7 @@
|
|||
<p class="page-subtitle">
|
||||
{% trans "Secure and harden your SSH configurations to protect your server from unauthorized access." %}
|
||||
</p>
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/ssh-manager-cyberpanel/" target="_blank" class="docs-link">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/ssh-manager-cyberpanel/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "SSH Documentation" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -58,9 +58,9 @@ else
|
|||
|
||||
# Detect OS version and download appropriate requirements
|
||||
if grep -q "22.04" /etc/os-release || grep -q "VERSION_ID=\"9" /etc/os-release; then
|
||||
wget -q -O /tmp/requirements.txt https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.4.4-dev/requirments.txt
|
||||
wget -q -O /tmp/requirements.txt https://raw.githubusercontent.com/die2mrw007/cyberpanel/v2.4.4-dev/requirments.txt
|
||||
else
|
||||
wget -q -O /tmp/requirements.txt https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.4.4-dev/requirments-old.txt
|
||||
wget -q -O /tmp/requirements.txt https://raw.githubusercontent.com/die2mrw007/cyberpanel/v2.4.4-dev/requirments-old.txt
|
||||
fi
|
||||
|
||||
# Upgrade pip first
|
||||
|
|
|
|||
|
|
@ -273,13 +273,13 @@ free -h
|
|||
## 📚 Additional Resources
|
||||
|
||||
### Documentation
|
||||
- [CyberPanel Official Docs](https://cyberpanel.net/docs/)
|
||||
- [CyberPanel Official Docs](https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/docs/)
|
||||
- [Debian 13 Release Notes](https://www.debian.org/releases/bookworm/releasenotes)
|
||||
- [Apache2 Configuration Guide](https://httpd.apache.org/docs/2.4/)
|
||||
|
||||
### Community Support
|
||||
- [CyberPanel Community Forum](https://forums.cyberpanel.net/)
|
||||
- [GitHub Issues](https://github.com/usmannasir/cyberpanel/issues)
|
||||
- [GitHub Issues](https://github.com/die2mrw007/cyberpanel/issues)
|
||||
- [Discord Server](https://discord.gg/cyberpanel)
|
||||
|
||||
### Testing Compatibility
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Site: github.com/acmesh-official/acme.sh/wiki/DNS-API-Dev-Guide
|
|||
Docs: github.com/acmesh-official/acme.sh/wiki/dnsapi#dns_duckdns
|
||||
Options:
|
||||
MYAPI_Token API Token. Get API Token from https://example.com/api/. Optional.
|
||||
Issues: github.com/usmannasir/cyberpanel
|
||||
Issues: github.com/die2mrw007/cyberpanel
|
||||
Author: Neil Pang <usman@cyberpersons.com>
|
||||
'
|
||||
|
||||
|
|
|
|||
|
|
@ -578,7 +578,7 @@ class preFlightsChecks:
|
|||
|
||||
os.chdir('/usr/local')
|
||||
|
||||
command = "git clone https://github.com/usmannasir/cyberpanel"
|
||||
command = "git clone https://github.com/die2mrw007/cyberpanel"
|
||||
preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
|
||||
|
||||
shutil.move('cyberpanel', 'CyberCP')
|
||||
|
|
@ -913,7 +913,7 @@ password="%s"
|
|||
if not os.path.exists("/usr/local/CyberCP/public"):
|
||||
os.mkdir("/usr/local/CyberCP/public")
|
||||
|
||||
command = 'wget -O /usr/local/CyberCP/public/phpmyadmin.zip https://github.com/usmannasir/cyberpanel/raw/stable/phpmyadmin.zip'
|
||||
command = 'wget -O /usr/local/CyberCP/public/phpmyadmin.zip https://github.com/die2mrw007/cyberpanel/raw/stable/phpmyadmin.zip'
|
||||
|
||||
preFlightsChecks.call(command, self.distro, '[download_install_phpmyadmin]',
|
||||
command, 1, 0, os.EX_OSERR)
|
||||
|
|
@ -1844,7 +1844,7 @@ $cfg['Servers'][$i]['LogoutURL'] = 'phpmyadminsignin.php?logout';
|
|||
except:
|
||||
pass
|
||||
|
||||
command = "wget https://cyberpanel.net/modsec/comodo.tar.gz"
|
||||
command = "wget https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/modsec/comodo.tar.gz"
|
||||
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
|
||||
|
||||
command = "tar -zxf comodo.tar.gz -C /usr/local/lscp/modsec"
|
||||
|
|
@ -2125,7 +2125,7 @@ $cfg['Servers'][$i]['LogoutURL'] = 'phpmyadminsignin.php?logout';
|
|||
def test_Requests(self):
|
||||
try:
|
||||
import requests
|
||||
getVersion = requests.get('https://cyberpanel.net/version.txt')
|
||||
getVersion = requests.get('https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/version.txt')
|
||||
latest = getVersion.json()
|
||||
except BaseException as msg:
|
||||
|
||||
|
|
|
|||
|
|
@ -451,7 +451,7 @@ class InstallCyberPanel:
|
|||
InstallCyberPanel.stdOut(f"Detected OS type: using '{binary_suffix}' binaries", 1)
|
||||
|
||||
# URLs for custom binaries with OS-specific paths
|
||||
BASE_URL = "https://cyberpanel.net/binaries"
|
||||
BASE_URL = "https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/binaries"
|
||||
|
||||
# Set URLs based on OS type
|
||||
if binary_suffix == 'rhel8':
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ PUREFTPD_VARIABLE="ON"
|
|||
PROVIDER="undefined"
|
||||
SERIAL_NO=""
|
||||
DIR=$(pwd)
|
||||
TEMP=$(curl --silent https://cyberpanel.net/version.txt)
|
||||
TEMP=$(curl --silent https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/version.txt)
|
||||
CP_VER1=${TEMP:12:3}
|
||||
CP_VER2=${TEMP:25:1}
|
||||
SERVER_OS="CentOS"
|
||||
|
|
@ -67,7 +67,7 @@ rm -rf /root/cyberpanel-tmp
|
|||
special_change(){
|
||||
sed -i 's|cyberpanel.sh|'$DOWNLOAD_SERVER'|g' install.py
|
||||
sed -i 's|mirror.cyberpanel.net|'$DOWNLOAD_SERVER'|g' install.py
|
||||
sed -i 's|git clone https://github.com/usmannasir/cyberpanel|echo downloaded|g' install.py
|
||||
sed -i 's|git clone https://github.com/die2mrw007/cyberpanel|echo downloaded|g' install.py
|
||||
#change to CDN first, regardless country
|
||||
sed -i 's|http://|https://|g' install.py
|
||||
|
||||
|
|
@ -78,7 +78,7 @@ LSWS_STABLE_LINE=`cat /tmp/lsws_latest | grep LSWS_STABLE`
|
|||
LSWS_STABLE_VER=`expr "$LSWS_STABLE_LINE" : '.*LSWS_STABLE=\(.*\) BUILD .*'`
|
||||
|
||||
if [[ $SERVER_COUNTRY == "CN" ]] ; then
|
||||
#line1="$(grep -n "github.com/usmannasir/cyberpanel" install.py | head -n 1 | cut -d: -f1)"
|
||||
#line1="$(grep -n "github.com/die2mrw007/cyberpanel" install.py | head -n 1 | cut -d: -f1)"
|
||||
#line2=$((line1 - 1))
|
||||
#sed -i "${line2}i\ \ \ \ \ \ \ \ subprocess.call(command, shell=True)" install.py
|
||||
#sed -i "${line2}i\ \ \ \ \ \ \ \ command = 'tar xzvf cyberpanel-git.tar.gz'" install.py
|
||||
|
|
@ -95,7 +95,7 @@ sed -i 's|https://copr.fedorainfracloud.org/coprs/copart/restic/repo/epel-7/copa
|
|||
|
||||
sed -i 's|yum -y install https://cyberpanel.sh/gf-release-latest.gf.el7.noarch.rpm|wget -O /etc/yum.repos.d/gf.repo https://'$DOWNLOAD_SERVER'/gf-plus/gf.repo|g' install.py
|
||||
sed -i 's|dovecot-2.3-latest|dovecot-2.3-latest-mirror|g' install.py
|
||||
sed -i 's|git clone https://github.com/usmannasir/cyberpanel|wget https://cyberpanel.sh/cyberpanel-git.tar.gz \&\& tar xzvf cyberpanel-git.tar.gz|g' install.py
|
||||
sed -i 's|git clone https://github.com/die2mrw007/cyberpanel|wget https://cyberpanel.sh/cyberpanel-git.tar.gz \&\& tar xzvf cyberpanel-git.tar.gz|g' install.py
|
||||
sed -i 's|https://repo.dovecot.org/ce-2.3-latest/centos/$releasever/RPMS/$basearch|https://'$DOWNLOAD_SERVER'/dovecot/|g' install.py
|
||||
sed -i 's|'$DOWNLOAD_SERVER'|cyberpanel.sh|g' install.py
|
||||
sed -i 's|https://www.litespeedtech.com/packages/5.0/lsws-5.4.2-ent-x86_64-linux.tar.gz|https://'$DOWNLOAD_SERVER'/litespeed/lsws-'$LSWS_STABLE_VER'-ent-x86_64-linux.tar.gz|g' installCyberPanel.py
|
||||
|
|
@ -899,7 +899,7 @@ fi
|
|||
|
||||
source /usr/local/CyberPanel/bin/activate
|
||||
rm -rf requirements.txt
|
||||
wget -O requirements.txt https://raw.githubusercontent.com/usmannasir/cyberpanel/1.8.0/requirments.txt
|
||||
wget -O requirements.txt https://raw.githubusercontent.com/die2mrw007/cyberpanel/1.8.0/requirments.txt
|
||||
pip install --ignore-installed -r requirements.txt
|
||||
# Install python-dotenv for loading .env file (critical for AlmaLinux 8)
|
||||
pip install python-dotenv
|
||||
|
|
@ -907,11 +907,11 @@ fi
|
|||
|
||||
if [[ $DEV == "ON" ]] ; then
|
||||
#install dev branch
|
||||
#wget https://raw.githubusercontent.com/usmannasir/cyberpanel/$BRANCH_NAME/requirments.txt
|
||||
#wget https://raw.githubusercontent.com/die2mrw007/cyberpanel/$BRANCH_NAME/requirments.txt
|
||||
cd /usr/local/
|
||||
python3.6 -m venv CyberPanel
|
||||
source /usr/local/CyberPanel/bin/activate
|
||||
wget -O requirements.txt https://raw.githubusercontent.com/usmannasir/cyberpanel/$BRANCH_NAME/requirments.txt
|
||||
wget -O requirements.txt https://raw.githubusercontent.com/die2mrw007/cyberpanel/$BRANCH_NAME/requirments.txt
|
||||
pip3.6 install --ignore-installed -r requirements.txt
|
||||
# Install python-dotenv for loading .env file (critical for AlmaLinux 8)
|
||||
pip3.6 install python-dotenv
|
||||
|
|
@ -929,13 +929,13 @@ if [[ $SERVER_COUNTRY == "CN" ]] ; then
|
|||
cd cyberpanel/install
|
||||
else
|
||||
if [[ $DEV == "ON" ]] ; then
|
||||
git clone https://github.com/usmannasir/cyberpanel
|
||||
git clone https://github.com/die2mrw007/cyberpanel
|
||||
cd cyberpanel
|
||||
git checkout $BRANCH_NAME
|
||||
cd -
|
||||
cd cyberpanel/install
|
||||
else
|
||||
git clone https://github.com/usmannasir/cyberpanel
|
||||
git clone https://github.com/die2mrw007/cyberpanel
|
||||
cd cyberpanel/install
|
||||
fi
|
||||
fi
|
||||
|
|
@ -967,7 +967,7 @@ if grep "CyberPanel installation successfully completed" /var/log/installLogs.tx
|
|||
if [[ $DEV == "ON" ]] ; then
|
||||
python3.6 -m venv /usr/local/CyberCP
|
||||
source /usr/local/CyberCP/bin/activate
|
||||
wget -O requirements.txt https://raw.githubusercontent.com/usmannasir/cyberpanel/$BRANCH_NAME/requirments.txt
|
||||
wget -O requirements.txt https://raw.githubusercontent.com/die2mrw007/cyberpanel/$BRANCH_NAME/requirments.txt
|
||||
pip3.6 install --ignore-installed -r requirements.txt
|
||||
# Install python-dotenv for loading .env file (critical for AlmaLinux 8)
|
||||
pip3.6 install python-dotenv
|
||||
|
|
@ -1086,7 +1086,7 @@ echo -e " \e[31m/etc/cyberpanel/mysqlPassword\e[39m with new password as
|
|||
echo " "
|
||||
echo " Website : https://www.cyberpanel.net "
|
||||
echo " Forums : https://forums.cyberpanel.net "
|
||||
echo " Wikipage: https://cyberpanel.net/KnowledgeBase/ "
|
||||
echo " Wikipage: https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/ "
|
||||
echo " "
|
||||
echo -e " Enjoy your accelerated Internet by "
|
||||
echo -e " CyberPanel & $WORD "
|
||||
|
|
|
|||
|
|
@ -255,7 +255,7 @@
|
|||
</div>
|
||||
<div class="row panel-body">
|
||||
<div class="row panel-body">
|
||||
<a class=" login-changelogs" href="https://cyberpanel.net/KnowledgeBase/home/change-logs/" target='_blank'>
|
||||
<a class=" login-changelogs" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/change-logs/" target='_blank'>
|
||||
<div class="card mb-3" style="max-width: 540px;">
|
||||
<div class="row g-0">
|
||||
<div class="col-md-3">
|
||||
|
|
|
|||
|
|
@ -1936,7 +1936,7 @@ protocol sieve {
|
|||
if (Status == 1):
|
||||
template = 'mailServer/EmailLimits.html'
|
||||
else:
|
||||
return redirect("https://cyberpanel.net/cyberpanel-addons")
|
||||
return redirect("https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/cyberpanel-addons")
|
||||
else:
|
||||
template = 'mailServer/EmailLimits.html'
|
||||
except BaseException as msg:
|
||||
|
|
|
|||
|
|
@ -280,7 +280,7 @@
|
|||
<h1 class="page-title">
|
||||
<i class="fas fa-tachometer-alt"></i>
|
||||
{% trans "Email Limits Configuration" %}
|
||||
<a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/email-limits/" class="docs-link">
|
||||
<a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/email-limits/" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Documentation" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -403,7 +403,7 @@
|
|||
<h1 class="page-title">
|
||||
<i class="fas fa-shield-alt"></i>
|
||||
{% trans "DKIM Manager" %}
|
||||
<a target="_blank" rel="noopener" href="https://cyberpanel.net/KnowledgeBase/home/dkim-set-up-and-configurations/" class="docs-link">
|
||||
<a target="_blank" rel="noopener" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/dkim-set-up-and-configurations/" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "DKIM Docs" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -363,7 +363,7 @@
|
|||
<h1 class="page-title">
|
||||
<i class="fas fa-share-square"></i>
|
||||
{% trans "Setup Email Forwarding" %}
|
||||
<a target="_blank" rel="noopener" href="https://cyberpanel.net/KnowledgeBase/home/email-forwarding/" class="docs-link">
|
||||
<a target="_blank" rel="noopener" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/email-forwarding/" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Forwarding Docs" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -582,7 +582,7 @@
|
|||
<i class="fas fa-plus-circle"></i>
|
||||
{% trans "Create Email" %}
|
||||
</a>
|
||||
<a target="_blank" rel="noopener" href="https://cyberpanel.net/KnowledgeBase/home/email-debugger-cyberpanel/" class="btn-secondary">
|
||||
<a target="_blank" rel="noopener" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/email-debugger-cyberpanel/" class="btn-secondary">
|
||||
<i class="fas fa-bug"></i>
|
||||
{% trans "Debug Email Issues" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -277,7 +277,7 @@
|
|||
<div class="ssl-section">
|
||||
<div style="display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; flex-wrap: wrap; gap: 15px;">
|
||||
<h2 class="section-title">MANAGE SSL</h2>
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/cyberpanel-ssl-manager-v1/" target="_blank" class="ssl-docs-link">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/cyberpanel-ssl-manager-v1/" target="_blank" class="ssl-docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "SSL Docs" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -256,7 +256,7 @@
|
|||
<div class="ssl-section">
|
||||
<div style="display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; flex-wrap: wrap; gap: 15px;">
|
||||
<h2 class="section-title">SSL FOR HOSTNAME</h2>
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/cyberpanel-on-ssl/" target="_blank" class="ssl-docs-link">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/cyberpanel-on-ssl/" target="_blank" class="ssl-docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "SSL Docs" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -243,7 +243,7 @@
|
|||
<div class="ssl-section">
|
||||
<div style="display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; flex-wrap: wrap; gap: 15px;">
|
||||
<h2 class="section-title">SSL FOR MAIL SERVER</h2>
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/mail-server-ssl/" target="_blank" class="ssl-docs-link">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/mail-server-ssl/" target="_blank" class="ssl-docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "SSL Docs" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -320,7 +320,7 @@
|
|||
</h1>
|
||||
<p>{% trans "Enable or disable Email services for your server" %}</p>
|
||||
<div style="margin-top: 20px;">
|
||||
<a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/email-in-cyberpanel/" class="docs-link">
|
||||
<a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/email-in-cyberpanel/" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Services Docs" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -398,7 +398,7 @@
|
|||
</h1>
|
||||
<p>{% trans "Enable or disable DNS services and configure DNS operation mode" %}</p>
|
||||
<div style="margin-top: 20px;">
|
||||
<a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/dns-management-cyberpanel/" class="docs-link">
|
||||
<a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/dns-management-cyberpanel/" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Services Docs" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -347,7 +347,7 @@
|
|||
</h1>
|
||||
<p>{% trans "Enable or disable FTP services for secure file transfers" %}</p>
|
||||
<div style="margin-top: 20px;">
|
||||
<a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/setup-ftp-account-in-cyberpanel/" class="docs-link">
|
||||
<a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/setup-ftp-account-in-cyberpanel/" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Services Docs" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -215,7 +215,7 @@ class PackagesManager:
|
|||
|
||||
modifyPack.save()
|
||||
|
||||
## Fix https://github.com/usmannasir/cyberpanel/issues/998
|
||||
## Fix https://github.com/die2mrw007/cyberpanel/issues/998
|
||||
|
||||
# from plogical.IncScheduler import IncScheduler
|
||||
# isPU = IncScheduler('CalculateAndUpdateDiskUsage', {})
|
||||
|
|
|
|||
|
|
@ -854,7 +854,7 @@ class ApplicationInstaller(multi.Thread):
|
|||
|
||||
### install CyberSMTP
|
||||
|
||||
command = f"{FinalPHPPath} -d error_reporting=0 /usr/bin/wp plugin install https://github.com/usmannasir/CyberSMTP/archive/refs/heads/main.zip --allow-root --path=" + finalPath
|
||||
command = f"{FinalPHPPath} -d error_reporting=0 /usr/bin/wp plugin install https://github.com/die2mrw007/CyberSMTP/archive/refs/heads/main.zip --allow-root --path=" + finalPath
|
||||
result = ProcessUtilities.outputExecutioner(command, externalApp)
|
||||
|
||||
if os.path.exists(ProcessUtilities.debugPath):
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ class backupUtilities:
|
|||
child = SubElement(metaFileXML, 'BUILD')
|
||||
child.text = str(BUILD)
|
||||
|
||||
### try to take care of - https://github.com/usmannasir/cyberpanel/issues/1196
|
||||
### try to take care of - https://github.com/die2mrw007/cyberpanel/issues/1196
|
||||
|
||||
child = SubElement(metaFileXML, 'BackupWholeDir')
|
||||
child.text = str(1)
|
||||
|
|
@ -381,7 +381,7 @@ class backupUtilities:
|
|||
|
||||
#copytree('/home/%s/public_html' % domainName, '%s/%s' % (tempStoragePath, 'public_html'))
|
||||
#command = f'cp -R /home/{domainName}/public_html {tempStoragePath}/public_html'
|
||||
### doing backup of whole dir and keeping it in public_html folder will restore from here - ref https://github.com/usmannasir/cyberpanel/issues/1196
|
||||
### doing backup of whole dir and keeping it in public_html folder will restore from here - ref https://github.com/die2mrw007/cyberpanel/issues/1196
|
||||
command = f"rsync -av --ignore-errors --exclude=.wp-cli --exclude=logs --exclude=backup --exclude=lscache /home/{domainName}/ {tempStoragePath}/public_html/"
|
||||
ProcessUtilities.normalExecutioner(command)
|
||||
# if ProcessUtilities.normalExecutioner(command) == 0:
|
||||
|
|
|
|||
|
|
@ -905,7 +905,7 @@ clamav {
|
|||
wirtedata.close()
|
||||
|
||||
|
||||
### disable dkim signing in rspamd in ref to https://github.com/usmannasir/cyberpanel/issues/1176
|
||||
### disable dkim signing in rspamd in ref to https://github.com/die2mrw007/cyberpanel/issues/1176
|
||||
|
||||
DKIMPath = '/etc/rspamd/local.d/dkim_signing.conf'
|
||||
|
||||
|
|
@ -1613,7 +1613,7 @@ LogFile /var/log/clamav/clamav.log
|
|||
try:
|
||||
import requests
|
||||
|
||||
fetchURLs = requests.get('https://cyberpanel.net/dnsServers.txt')
|
||||
fetchURLs = requests.get('https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/dnsServers.txt')
|
||||
|
||||
if fetchURLs.status_code == 200:
|
||||
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ class modSec:
|
|||
|
||||
# Detect OS and select appropriate ModSecurity binary
|
||||
binary_suffix = modSec.detectBinarySuffix()
|
||||
BASE_URL = "https://cyberpanel.net/binaries"
|
||||
BASE_URL = "https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/binaries"
|
||||
|
||||
if binary_suffix == 'rhel8':
|
||||
MODSEC_URL = f"{BASE_URL}/rhel8/mod_security-compatible-rhel8.so"
|
||||
|
|
|
|||
|
|
@ -800,7 +800,7 @@ class Upgrade:
|
|||
Upgrade.stdOut(f"Detected OS type: using '{binary_suffix}' binaries", 0)
|
||||
|
||||
# URLs for custom binaries with OS-specific paths
|
||||
BASE_URL = "https://cyberpanel.net/binaries"
|
||||
BASE_URL = "https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/binaries"
|
||||
|
||||
# Set URLs based on OS type
|
||||
if binary_suffix == 'rhel8':
|
||||
|
|
@ -936,7 +936,7 @@ class Upgrade:
|
|||
|
||||
# Detect OS and select appropriate ModSecurity binary
|
||||
binary_suffix = Upgrade.detectBinarySuffix()
|
||||
BASE_URL = "https://cyberpanel.net/binaries"
|
||||
BASE_URL = "https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/binaries"
|
||||
|
||||
if binary_suffix == 'rhel8':
|
||||
MODSEC_URL = f"{BASE_URL}/rhel8/mod_security-compatible-rhel8.so"
|
||||
|
|
@ -1099,7 +1099,7 @@ module cyberpanel_ols {
|
|||
|
||||
Upgrade.stdOut("Installing phpMyAdmin...", 0)
|
||||
|
||||
command = 'wget -q -O /usr/local/CyberCP/public/phpmyadmin.zip https://github.com/usmannasir/cyberpanel/raw/stable/phpmyadmin.zip'
|
||||
command = 'wget -q -O /usr/local/CyberCP/public/phpmyadmin.zip https://github.com/die2mrw007/cyberpanel/raw/stable/phpmyadmin.zip'
|
||||
Upgrade.executioner_silent(command, 'Download phpMyAdmin')
|
||||
|
||||
command = 'unzip -q /usr/local/CyberCP/public/phpmyadmin.zip -d /usr/local/CyberCP/public/'
|
||||
|
|
@ -3245,7 +3245,7 @@ CREATE TABLE `websiteFunctions_backupsv2` (`id` integer AUTO_INCREMENT NOT NULL
|
|||
|
||||
# Clone the new repository directly to CyberCP
|
||||
Upgrade.stdOut("Cloning fresh CyberPanel repository...")
|
||||
command = 'git clone https://github.com/usmannasir/cyberpanel CyberCP'
|
||||
command = 'git clone https://github.com/die2mrw007/cyberpanel CyberCP'
|
||||
if not Upgrade.executioner(command, command, 1):
|
||||
# Try to restore backup if clone fails
|
||||
Upgrade.stdOut("Clone failed, attempting to restore backup...")
|
||||
|
|
@ -3388,7 +3388,7 @@ CREATE TABLE `websiteFunctions_backupsv2` (`id` integer AUTO_INCREMENT NOT NULL
|
|||
except BaseException as msg:
|
||||
Upgrade.stdOut(str(msg) + " [installLSCPD]")
|
||||
|
||||
### disable dkim signing in rspamd in ref to https://github.com/usmannasir/cyberpanel/issues/1176
|
||||
### disable dkim signing in rspamd in ref to https://github.com/die2mrw007/cyberpanel/issues/1176
|
||||
@staticmethod
|
||||
def FixRSPAMDConfig():
|
||||
RSPAMDConf = '/etc/rspamd'
|
||||
|
|
@ -4207,7 +4207,7 @@ vmail
|
|||
@staticmethod
|
||||
def runSomeImportantBash():
|
||||
|
||||
# Remove invalid crons from /etc/crontab Reference: https://github.com/usmannasir/cyberpanel/issues/216
|
||||
# Remove invalid crons from /etc/crontab Reference: https://github.com/die2mrw007/cyberpanel/issues/216
|
||||
command = """sed -i '/CyberCP/d' /etc/crontab"""
|
||||
Upgrade.executioner(command, command, 0, True)
|
||||
|
||||
|
|
@ -4756,7 +4756,7 @@ pm.max_spare_servers = 3
|
|||
if os.path.exists('httpd_config.xml'):
|
||||
os.remove('httpd_config.xml')
|
||||
|
||||
command = 'wget https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/install/litespeed/httpd_config.xml'
|
||||
command = 'wget https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/install/litespeed/httpd_config.xml'
|
||||
Upgrade.executioner(command, command, 0)
|
||||
# os.remove('/usr/local/lsws/conf/httpd_config.xml')
|
||||
# shutil.copy('httpd_config.xml', '/usr/local/lsws/conf/httpd_config.xml')
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
BRANCH_NAME=v$(curl -s https://cyberpanel.net/version.txt | sed -e 's|{"version":"||g' -e 's|","build":|.|g'| sed 's:}*$::')
|
||||
BRANCH_NAME=v$(curl -s https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/version.txt | sed -e 's|{"version":"||g' -e 's|","build":|.|g'| sed 's:}*$::')
|
||||
|
||||
rm -f /usr/local/cyberpanel_upgrade.sh
|
||||
wget -O /usr/local/cyberpanel_upgrade.sh https://raw.githubusercontent.com/usmannasir/cyberpanel/$BRANCH_NAME/cyberpanel_upgrade.sh 2>/dev/null
|
||||
wget -O /usr/local/cyberpanel_upgrade.sh https://raw.githubusercontent.com/die2mrw007/cyberpanel/$BRANCH_NAME/cyberpanel_upgrade.sh 2>/dev/null
|
||||
chmod 700 /usr/local/cyberpanel_upgrade.sh
|
||||
/usr/local/cyberpanel_upgrade.sh
|
||||
|
|
|
|||
|
|
@ -76,6 +76,6 @@ echo - All required packages and dependencies are available
|
|||
echo - Installation and upgrade scripts are compatible
|
||||
echo.
|
||||
echo For installation on Ubuntu 24.04.3, run:
|
||||
echo sh ^<(curl https://cyberpanel.net/install.sh ^|^| wget -O - https://cyberpanel.net/install.sh^)
|
||||
echo sh ^<(curl https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/install.sh ^|^| wget -O - https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/install.sh^)
|
||||
echo.
|
||||
pause
|
||||
|
|
|
|||
|
|
@ -165,4 +165,4 @@ echo "- All required packages and dependencies are available"
|
|||
echo "- Installation and upgrade scripts are compatible"
|
||||
echo ""
|
||||
echo "For installation, run:"
|
||||
echo "sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)"
|
||||
echo "sh <(curl https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/install.sh || wget -O - https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/install.sh)"
|
||||
|
|
|
|||
|
|
@ -419,7 +419,7 @@
|
|||
<p class="page-subtitle">
|
||||
{% trans "Configure how CyberPanel sends notifications and error emails" %}
|
||||
</p>
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/email-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/email-in-cyberpanel/" target="_blank" class="docs-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Mail Documentation" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -641,7 +641,7 @@
|
|||
<div class="alert-title">{% trans "License Bundle Required" %}</div>
|
||||
<div class="alert-message">
|
||||
{% trans "Your license does not include the CyberPanel bundle." %}
|
||||
<a href="https://cyberpanel.net/cyberpanel-enterprise/" style="color: inherit; font-weight: 600;">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/cyberpanel-enterprise/" style="color: inherit; font-weight: 600;">
|
||||
{% trans "Click here to upgrade" %}
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -455,7 +455,7 @@ sudo rm -f /home/cyberpanel/plugins/testPlugin
|
|||
### Plugin Support
|
||||
- **GitHub Issues**: https://github.com/cyberpanel/testPlugin/issues
|
||||
- **CyberPanel Forums**: https://forums.cyberpanel.net/
|
||||
- **Documentation**: https://cyberpanel.net/docs/
|
||||
- **Documentation**: https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/docs/
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@ Security is an ongoing process. Regular updates include:
|
|||
|
||||
- [OWASP Top 10](https://owasp.org/www-project-top-ten/)
|
||||
- [Django Security](https://docs.djangoproject.com/en/stable/topics/security/)
|
||||
- [CyberPanel Security](https://cyberpanel.net/docs/)
|
||||
- [CyberPanel Security](https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/docs/)
|
||||
- [Web Application Security](https://cheatsheetseries.owasp.org/)
|
||||
|
||||
---
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ check_root() {
|
|||
check_cyberpanel() {
|
||||
if [ ! -d "$CYBERPANEL_DIR" ]; then
|
||||
print_error "CyberPanel is not installed at $CYBERPANEL_DIR"
|
||||
print_error "Please install CyberPanel first: https://cyberpanel.net/docs/"
|
||||
print_error "Please install CyberPanel first: https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/docs/"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -402,7 +402,7 @@ ls -la /usr/local/CyberCP/testPlugin</code></pre>
|
|||
</div>
|
||||
|
||||
<blockquote>
|
||||
<strong>Source:</strong> This guide is based on the official CyberPanel documentation and the <a href="https://github.com/usmannasir/beautiful_names" target="_blank" rel="noopener">beautiful_names plugin repository</a>.
|
||||
<strong>Source:</strong> This guide is based on the official CyberPanel documentation and the <a href="https://github.com/die2mrw007/beautiful_names" target="_blank" rel="noopener">beautiful_names plugin repository</a>.
|
||||
</blockquote>
|
||||
|
||||
<h2>Prerequisites</h2>
|
||||
|
|
@ -418,7 +418,7 @@ ls -la /usr/local/CyberCP/testPlugin</code></pre>
|
|||
<h2>Step 1: Set up your Development Environment</h2>
|
||||
|
||||
<h3>Clone CyberPanel Repository</h3>
|
||||
<pre><code>git clone https://github.com/usmannasir/cyberpanel/ --single-branch v1.7.2-plugin</code></pre>
|
||||
<pre><code>git clone https://github.com/die2mrw007/cyberpanel/ --single-branch v1.7.2-plugin</code></pre>
|
||||
|
||||
<h3>Create a Django App</h3>
|
||||
<pre><code>cd v1.7.2-plugin
|
||||
|
|
@ -518,11 +518,11 @@ python pluginInstaller.py install --pluginName examplePlugin</code></pre>
|
|||
python pluginInstaller.py remove --pluginName examplePlugin</code></pre>
|
||||
|
||||
<h2>Beautiful Names Plugin Example</h2>
|
||||
<p>CyberPanel has released an official plugin called <a href="https://github.com/usmannasir/beautiful_names" target="_blank" rel="noopener">Beautiful Names</a> that removes the <code>admin_</code> prefix from Package and FTP account names. This plugin serves as a great example of how to create CyberPanel plugins.</p>
|
||||
<p>CyberPanel has released an official plugin called <a href="https://github.com/die2mrw007/beautiful_names" target="_blank" rel="noopener">Beautiful Names</a> that removes the <code>admin_</code> prefix from Package and FTP account names. This plugin serves as a great example of how to create CyberPanel plugins.</p>
|
||||
|
||||
<h3>Installation of Beautiful Names</h3>
|
||||
<pre><code>cd /usr/local/CyberCP/pluginInstaller
|
||||
wget https://cyberpanel.net/beautifulNames.zip
|
||||
wget https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/beautifulNames.zip
|
||||
python pluginInstaller.py install --pluginName beautifulNames</code></pre>
|
||||
|
||||
<h3>Uninstall Beautiful Names</h3>
|
||||
|
|
@ -536,8 +536,8 @@ python pluginInstaller.py remove --pluginName beautifulNames</code></pre>
|
|||
<h2>Additional Resources</h2>
|
||||
<ul>
|
||||
<li><a href="http://cyberpanel.net/docs/2-list-of-signals-events-files/" target="_blank" rel="noopener">Complete List of Signals and Events</a></li>
|
||||
<li><a href="https://github.com/usmannasir/beautiful_names" target="_blank" rel="noopener">Beautiful Names Plugin Repository</a></li>
|
||||
<li><a href="https://github.com/usmannasir/cyberpanel" target="_blank" rel="noopener">CyberPanel GitHub Repository</a></li>
|
||||
<li><a href="https://github.com/die2mrw007/beautiful_names" target="_blank" rel="noopener">Beautiful Names Plugin Repository</a></li>
|
||||
<li><a href="https://github.com/die2mrw007/cyberpanel" target="_blank" rel="noopener">CyberPanel GitHub Repository</a></li>
|
||||
</ul>
|
||||
|
||||
<blockquote>
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ class UserManager(multi.Thread):
|
|||
from loginSystem.models import Administrator
|
||||
admin = Administrator.objects.get(pk=self.extraArgs['user'].pk)
|
||||
|
||||
## ref https://github.com/usmannasir/cyberpanel/issues/1336
|
||||
## ref https://github.com/die2mrw007/cyberpanel/issues/1336
|
||||
## if current user is admin but not the main admin user then don't suspend all sites only suspend the sites owned by the user
|
||||
|
||||
if self.extraArgs['currentACL']['admin'] and admin.userName != 'admin':
|
||||
|
|
|
|||
|
|
@ -428,7 +428,7 @@
|
|||
<h2>
|
||||
<i class="fas fa-server" style="margin-right: 10px;"></i>
|
||||
{% trans "Apache Manager" %}
|
||||
<a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/cyberpanel-apache-manager/"
|
||||
<a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/cyberpanel-apache-manager/"
|
||||
class="btn btn-link" title="Documentation" style="margin-left: auto;">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Docs" %}
|
||||
|
|
|
|||
|
|
@ -767,7 +767,7 @@
|
|||
<i class="fas fa-crown"></i>
|
||||
{% trans "Premium" %}
|
||||
</span>
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/deploy-a-wordpress-on-cyberpanel/" target="_blank" style="margin-left: 10px;">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/deploy-a-wordpress-on-cyberpanel/" target="_blank" style="margin-left: 10px;">
|
||||
<i class="fas fa-external-link-alt"></i>
|
||||
</a>
|
||||
</span>
|
||||
|
|
|
|||
|
|
@ -415,7 +415,7 @@
|
|||
<div class="page-header">
|
||||
<h1 class="page-title">
|
||||
{% trans "Create Sub/Addon Domain" %}
|
||||
<a target="_blank" href="https://cyberpanel.net/KnowledgeBase/home/create-sub-addon-domain/" class="learn-more-link">
|
||||
<a target="_blank" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/create-sub-addon-domain/" class="learn-more-link">
|
||||
{% trans "Learn about Sub/Addon Domains" %}
|
||||
<i class="fas fa-external-link-alt"></i>
|
||||
</a>
|
||||
|
|
@ -502,7 +502,7 @@
|
|||
<input ng-model="apacheBackend" type="checkbox" id="apacheBackend" disabled>
|
||||
<label for="apacheBackend" class="checkbox-label">
|
||||
OpenLiteSpeed + Apache (Backend) -
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/creating-website/" target="_blank">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/creating-website/" target="_blank">
|
||||
Premium Feature
|
||||
<i class="fas fa-external-link-alt" style="font-size: 10px;"></i>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -433,7 +433,7 @@
|
|||
<input ng-model="apacheBackend" type="checkbox" id="apacheBackend" disabled>
|
||||
<label for="apacheBackend" class="checkbox-label">
|
||||
OpenLiteSpeed + Apache (Backend) -
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/creating-website/" target="_blank">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/creating-website/" target="_blank">
|
||||
Premium Feature
|
||||
<i class="fas fa-external-link-alt" style="font-size: 10px;"></i>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -416,7 +416,7 @@
|
|||
<i class="fab fa-wordpress" style="color: var(--primary-color);"></i>
|
||||
<span id="domainNamePage">{{ domainName }}</span> - {% trans "Installation Details" %}
|
||||
<span style="margin-left: auto;">
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/deploy-a-wordpress-on-cyberpanel/">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/deploy-a-wordpress-on-cyberpanel/">
|
||||
<i class="fas fa-tachometer-alt"></i>
|
||||
Stress Test
|
||||
</a>
|
||||
|
|
@ -531,7 +531,7 @@
|
|||
</a>
|
||||
{% trans "or perform" %}
|
||||
<strong>
|
||||
<a href="https://cyberpanel.net/KnowledgeBase/home/deploy-a-wordpress-on-cyberpanel/">
|
||||
<a href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/deploy-a-wordpress-on-cyberpanel/">
|
||||
<i class="fas fa-tachometer-alt"></i>
|
||||
stress test
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -589,7 +589,7 @@
|
|||
{% trans "Sync to Master" %}
|
||||
</a>
|
||||
<a class="btn btn-stress"
|
||||
href="https://cyberpanel.net/KnowledgeBase/home/child-domains-launcher/"
|
||||
href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/child-domains-launcher/"
|
||||
target="_blank"
|
||||
title="Stress Test">
|
||||
<i class="fas fa-tachometer-alt"></i>
|
||||
|
|
|
|||
|
|
@ -494,7 +494,7 @@
|
|||
<h2>
|
||||
<i class="fas fa-clock" style="margin-right: 10px;"></i>
|
||||
{% trans "Cron Management" %}
|
||||
<a target="_blank" rel="noopener" href="https://cyberpanel.net/KnowledgeBase/home/cron-jobs/" class="btn btn-link">
|
||||
<a target="_blank" rel="noopener" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/cron-jobs/" class="btn btn-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Cron Docs" %}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -560,7 +560,7 @@
|
|||
<h2>
|
||||
<i class="fab fa-git-alt" style="margin-right: 10px;"></i>
|
||||
{% trans "Manage GIT" %}
|
||||
<a target="_blank" rel="noopener" href="https://cyberpanel.net/KnowledgeBase/home/website-management/" class="btn btn-link">
|
||||
<a target="_blank" rel="noopener" href="https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/home/website-management/" class="btn btn-link">
|
||||
<i class="fas fa-book"></i>
|
||||
{% trans "Git Docs" %}
|
||||
</a>
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue