https://www.virtualbox.org/wiki/Downloads
https://ubuntu.com/download/desktop
- Open VirtualBox and select New
- Choose your guest OS (Ubuntu Linux)
- Set your RAM on 2048 GB or more
- Default Settings for everything else
- Finish the installation as normal install.
- On VirtualBox main window, select START and pick your MEDIA SOURCE. In your case, select the .iso on your desktop.
- Install Guest Additions
-
Skip all the intro stuff of the Ubuntu installation menu
-
Start Terminal and execute all the following statements
sudo apt update && sudo apt upgrade -y sudo apt install tasksel vim mc -y sudo tasksel install lamp-server sudo apt install php-xml service apache2 restart
-
Check if you now have the /var/www/html/
- Extract the folder with the code and paste it into the /var/www/html/
- Remove index.html file from /var/www/html/
- Open page in browser http://localhost/Webprojekt/
- You should see the Startpage
- sudo a2enmod rewrite
- sudo nano /etc/apache2/apache2.conf
find
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
change to
AllowOverride All
- service apache2 restart