Git Product home page Git Product logo

josephgodwinkimani / cyberpanel Goto Github PK

View Code? Open in Web Editor NEW
12.0 2.0 2.0 123.04 MB

Nitpicked version of CyberPanel with new features focusing on Security, Stability and Reliability only.

License: GNU General Public License v3.0

Python 6.60% Shell 1.04% JavaScript 79.92% HTML 5.39% CSS 6.33% Less 0.31% SCSS 0.31% PHP 0.11%
crowdsec rclone comodo-modsecurity-rules intrusion-prevention-system backup php

cyberpanel's Introduction

CyberPanel

Codacy Badge

Web Hosting Control Panel that uses OpenLiteSpeed as the underlying Web Server.

Features & Services

  • Different User Access Levels (via ACLs).
  • Auto SSL.
  • FTP Server.
  • Light-weight DNS Server (PowerDNS).
  • phpMyAdmin to manage DBs (MariaDB).
  • Email Support (SnappyMail).
  • File Manager.
  • PHP Managment.
  • Firewall (FirewallD & ConfigServer Firewall Integration).
  • One-click Backups and Restores.

Supported PHP Versions

  • PHP 8.1
  • PHP 8.0
  • PHP 7.4
  • PHP 7.3
  • PHP 7.2

Installation Instructions

sh <(curl https://raw.githubusercontent.com/josephgodwinkimani/cyberpanel/main/install.sh || wget -O - https://raw.githubusercontent.com/josephgodwinkimani/cyberpanel/main/install.sh)

Upgrading CyberPanel

sh <(curl https://raw.githubusercontent.com/josephgodwinkimani/cyberpanel/main/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/josephgodwinkimani/cyberpanel/main/preUpgrade.sh)

Add additional logs for CrowdSec

nano /etc/crowdsec/acquis.yaml

Add at the end:

...
#https://doc.crowdsec.net/docs/data_sources/file
source: file
filenames:
 - /home/cyberpanel/error-logs.txt
 - /usr/local/lsws/logs/error.log
 - /usr/local/lsws/logs/access.log #useless
 - /var/log/maillog
 - /var/log/messages
 - /var/log/mysql/error.log #https://community.cyberpanel.net/t/how-to-check-database-logs/37979/2
labels:
 type: syslog

You can also acquire logs from journalctl files e.g.

...
source: journalctl
journalctl_filter:
 - "_SYSTEMD_UNIT=ssh.service"
labels:
  type: journald

Enroll your CrowdSec instance on https://app.crowdsec.net/

$ sudo cscli console enroll 1234567890abcdef1234567890

Setup rclone backups

  1. Go to https://SERVER_URL/backup/backupDestinations add local path as /home/backup

  2. Go to https://SERVER_URL/backup/scheduleBackup and select destination as backup

  3. Add backup frequency (daily, weekly) and backup retention (0 = unlimited)

  4. A cronjob will run every day to copy these backups to remote backup

You can drop in a sql backup script, edit it and add it to /var/spool/cron/crontabs/root to run once everyday to backup all your databases to a remote location(s).

How this fork keeps up with main repo

  1. Changes are released on stable branch of main repo

  2. After 14 days if there no reported issues all changes from main repo are adopted for testing

  3. A proper update is released here for use

How to protect your CyberPanel server:

Resources

cyberpanel's People

Contributors

josephgodwinkimani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cyberpanel's Issues

We have been talking on Cyberpanel and you were helping me a lot. But now I can't talk anymore there need to wait 23 hours

Hi!

Sorry to interrupt you but I can't get it work my website.

I've tried everything, all the steps you have told me, the steps from Dreamer, set on Cloudflare the proxy to gray cloud, manage SSL issue, change mod_security to OFF, wrote to Cloudflare, the web hosting,...

Nothing is working.
I will gladly pay you if you can help me to recover my website.

Don't be angry with me writting you here but I just can't find any other solution.
I'm full time available.

Appreciate

Installation stuck on Ubuntu 22

Hello,

Dislaimer: My English is not that good, so i try to make it simple

I think you are the most active member in CyberPanel community, answering many users question with patience, even though you are not the developer & founder of CyberPanel. I respect you a lot.

Then i found your Github page with some CyberPanel repos within it, there are 2 that i know of, cyberpanel-mods and this one.

After inspect them, i choose to go with this version, but i stuck with the very first script.

root@zaribas:~# sh <(curl https://raw.githubusercontent.com/josephgodwinkimani/cyberpanel/main/install.sh || wget -O - https://raw.githubusercontent.com/josephgodwinkimani/cyberpanel/main/install.sh)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2103  100  2103    0     0  26955      0 --:--:-- --:--:-- --:--:-- 26961
-e 
Unable to detect your OS...

-e 
CyberPanel is supported on Ubuntu 18.04, CentOS 7.x and CloudLinux 7.x...

My VPS OS:

root@zaribas:~# cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"

Looking forward for your reply. Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.