veldik/simplehost — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple Bash script for an Ubuntu server that makes it easy to host multiple small websites under one main domain using Apache, MySQL, PHP, and phpMyAdmin.

I want to run one command with a username and password, and it should create a new restricted web user, set up their web folder, give the right permissions, create a MySQL database and user for them, and prepare an Apache virtual host so their site can work as a subdomain or separate site on the server. It should be meant for a basic LAMP setup and SFTP only access, so users can upload files but not browse the whole server.

Please also include a clear README in Czech that explains how to install the LAMP server, set the MySQL root password, install phpMyAdmin, configure the webuser group and SSH chroot SFTP access, download or run the script, and register a new user. Keep it simple and practical for Ubuntu Server 18.04 style commands.

Want more depth? Deep Reverse