How do I put extracted folder 'Cleanto' on my website root so that the path should look like http://yourwebsite/cleanto/index.php [closed]

As you have not specified which version of Ubuntu you're using, nor whether you are using Apache or nginx, I am going to assume the following:

  • you are running Ubuntu Server 18.04 or newer
  • you are running Apache 2.4 or newer
  • you have a properly functional PHP installation
  • your Apache root directory is located in /var/www/html and you have not created any virtual hosts
  • you have Cleanto.zip located in your home directory on the server

With this in mind, you can do the following:

  1. Really ensure you have a proper backup of your site by making a tar file:
    sudo tar -cvf backup_$(date +\%Y-\%m-\%d).tar /var/www/html/*
    
    Note: This will create a file like backup_2021-12-23.tar in the current directory.
  2. Create a directory for your appointment booking software:
    sudo mkdir /var/www/html/cleanto
    
    IMPORTANT: If your Apache root directory is not html, be sure to change it to the correct directory.
  3. Move to the new directory and unzip the files:
    cd /var/www/html/cleanto
    unzip ~/Cleanto.zip .
    
    Note: If the Cleanto.zip file is not located in your home directory (eg: /home/ubuntu/), then change ~ to the full path to the file.
  4. Ensure Apache owns the files:
    sudo chown -R www-data:www-data *
    
  5. There is no step 4. You're done and can move on to the next part of the installation process.

Note: If you find that unzipping the Cleanto.zip file has created another cleanto directory in the directory you just created, move those files to the proper location like this:

sudo cp /var/www/html/cleanto/cleanto/* /var/www/html/cleanto

If any of the five assumptions at the start of this answer are incorrect, then the solution may not work for you. If this is the case, you will want to edit your question to include more specific details about your server and your Apache installation.