Install cyberpanel on Ubuntu 20.04

Basically, we can install cyberpanel just by executing a command as root:

sh <(curl || wget -O -

After that, we can log in by https://<ServerIP>:8090 with username admin and a chosen password

Q: How do I remove port 8090, eg I want to use instead of ServerIP:8090.
A: Follow the guideline here:

  1. create a website for the domain. Eg:
    • configure an A record for panel of to point to <ServerIP>
    • create a new website with domain
      • Select issue SSL option
  2. Update lsws service:
    • append to file /usr/local/lsws/conf/httpd_config.confextprocessor cyberpanel { type proxy address maxConns 100 pcKeepAliveTimeout 60 initTimeout 60 retryTimeout 0 respBuffer 0 }
    restart service: systemctl restart lsws.service
  3. Update rewrite rule:
REWRITERULE ^(.*)$ HTTP://cyberpanel/$1 [P]


  • Get the detault admin password of rainloop with command:
cat /usr/local/CyberCP/public/rainloop.php
  • Change/Reset the admin password of CyberPanel
[email protected]:~# adminPass '[email protected]!'
Admin password successfully changed!