- It uses AlmaLinux 8 rootfs.
- It will install automaticly systemd for WSL2 (distrod)
- It will install htop hostname cronie nano wget curl sudo tmpwatch openssh-server
- It will symlink all php versions for short usage you can use it like "php73 test.php"
- It will upgrade system php-cli version to lsphp8.1
- (tmpwatch) delete files older than 24 hours on /tmp daily at 00:00
- (cleanup) delete .DS_Store files daily at 01:15 AM
- (os) yum update and upgrade daily at 02:15 AM
- (cyberpanel) restart lscpd daily at 03:00 AM and on reboot
- (cyberpanel) restart lsws daily at 03:00 AM and on reboot
- (cyberpanel) upgrade CyberPanel daily at 05:00 AM
Those extra cronjobs for updates can broke your system you can delete those with crontab -e
command if you want.
- Download this repo and extract it.
- You must run cmd.exe as ADMINISTRATOR first. (Do not use powershell.)
- go in that folder with cd command like
cd "C:/Users/myuser/Desktop/cyberpanel-on-wsl2/"
- run
install.bat
command from that window. - Read the screen carefully and follow the instructions on terminal output.
- Reboot and try again if fails installation.
- DO NOT say YES to reboot question after cyberpanel installed. SAY NO. If you say YES here installation will FAIL.
- Enjoy your CyberPanel on Windows!
- Go to https://127.0.0.1:8090 use your credentials.
- run
wsl -d cyberpanel
command from cmd for access to cyberpanel linux shell.
git clone https://github.com/BurakBoz/cyberpanel-on-wsl2.git
cd cyberpanel-on-wsl2
install.bat