[Tutorial] How to setup and login to OpenLiteSpeed webadmin console

in Cyberpanel, some advanced configuration needs to be done in OLS webadmin console.

how to:

first , run this line in SSH to setup login info for webadmin console

/usr/local/lsws/admin/misc/admpass.sh

and then, login into CyberPanel , and add TCP 7080 port to firewalld in order to access it.

and please don't forget to reload the firewalld once new rule is added.

after that , you can know access it by https://Server-IP:7080

and with the login info you set in SSH.

the console itself currently comes with Chinese, English and Japanese.

of course , anyone who wishes to translate to his/her language is more than welcome :)

original posted here by myself , and translated by myself

Comments

  • OLS web adm panel looks pretty concise, and this advantage can be integrated into CyberPanel. Why the panel leaves this untouched and hasn't had it connected? I previously thought the web server section/module inside the panel is 'outsourced' to OLS web admin panel.

    OLS supports different distros while Cyber cannot. What a pity.

  • @baoang said:
    OLS web adm panel looks pretty concise, and this advantage can be integrated into CyberPanel. Why the panel leaves this untouched and hasn't had it connected? I previously thought the web server section/module inside the panel is 'outsourced' to OLS web admin panel.

    OLS supports different distros while Cyber cannot. What a pity.

    there is docker image now , you can try on other distros.

  • This guide works, but SSL/Certificate is invalid on port 7080, How to fix this?
    I'm using a hostname for cyberpanel with valid cert.
  • cert file is under /usr/local/lsws/admin/conf/ , webadmin.crt and webadmin.key

    either replace these 2 with your current cert , or change its path in webadmin console.
  • qtwrk said:

    cert file is under /usr/local/lsws/admin/conf/ , webadmin.crt and webadmin.key

    either replace these 2 with your current cert , or change its path in webadmin console.

    I'm using the built-in Free LetsEncrypt Cert.

    Replacing or moving it will fail auto renew I think.
  • RoldanLT said:

    qtwrk said:

    cert file is under /usr/local/lsws/admin/conf/ , webadmin.crt and webadmin.key

    either replace these 2 with your current cert , or change its path in webadmin console.

    I'm using the built-in Free LetsEncrypt Cert.

    Replacing or moving it will fail auto renew I think.
    I mean change this to /usr/local/lsws/conf/vhosts/SSL-domain/fullchain.pem and private key


  • Solved, thanks!
    Please include this on future update.
  • Hello

    I can´t make the SSL work in :7080 ;(

    in the webadmin settings i have:
    PRIVATE KEY : /etc/letsencrypt/live/MYDOMAIN.com/privkey.pem
    CERTIFICATE FILE: /etc/letsencrypt/live/MYDOMAIN.com/fullchain.pem

    both are the correct SSL for the domain.
    But when i go to https://MYDOMAIN.com:7080 i get "invalid SSL"

    always appears the certificate of webadmin..

    Thanks for any help.

    Fabian

  • ;( i found it ..

    was in another section.. i put the paths:
    PRIVATE KEY : /etc/letsencrypt/live/MYDOMAIN.com/privkey.pem
    CERTIFICATE FILE: /etc/letsencrypt/live/MYDOMAIN.com/fullchain.pem

    and now.. i can´t logn anymore in the webadmin ;(

    F.


  • well apparenty i broke something ;(

    cyberpanel is ON and i can login to :8090
    BUt litespeed is DOwn

    I can´t restart it in any way

    "Could not fetch details, either LiteSpeed is not running or some error occurred, please see CyberPanel Main log file."

    when i press in "LIcence Status" i got:

    Operation Failed!
    Command '['sudo', 'cat', '/usr/local/lsws/conf/serial.no']' returned non-zero exit status 1


    All was working perfect! ;( not nothing works..

    I would appreciate any help

    Thanks
    Fabian
  • was my mistake !!!! after 2 hours... I FIXED !!!!!!
    was a very stupid mistake..

    i write here as example: "/etc/letsencrypt/live/MYDOMAIN.com/privkey.pem"
    and i put exactly that in the webadmin.. and "MYDOMAIN.com" was the problem

    i fixed it from ssh, restarted LS and all is working like a charme now.. including the webadmin at :7080 with SSL

    Regards and sorry for the previous posts ;)

    Thanks
    Fabian
Sign In or Register to comment.
Support CyberPanel CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!