Linux serverlinux web serverNETWORK ADMINISTRATIONS

LAMP Web Server Part 4: VirtualBox Guest Additions

Video series showing steps to make a web server in VirtualBox.
Part 4 is how to install VirtualBox Guest Additions and set up shared folders.
Then HTML for Apache can be stored on a file server instead of the virtual machine.
Videos to follow include Maria database, PHP, and phyMyAdmin.

Video series part 1: Install Debian: https://youtu.be/P-FqX7q1QpQ
Video series part 2: Install Webmin: https://youtu.be/Wp8qLUz6StA
Video series part 3: Install Apache: https://youtu.be/ktG0DwCy2Mo

How To Install And Configure Windows Terminal: https://youtu.be/pa4KmDpaX6E

Commands/text to copy and paste:
——————————–

sudo apt update

sudo apt install build-essential dkms linux-headers-$(uname -r)

sudo mkdir -p /mnt/cdrom

sudo mount /dev/cdrom /mnt/cdrom

cd /mnt/cdrom

ls -al

sudo sh ./VBoxLinuxAdditions.run –nox11

sudo reboot

lsmod | grep vboxguest

sudo mkdir -p /mnt/www

sudo nano /etc/fstab

www /mnt/www vboxsf uid=33,gid=33 0 0

sudo reboot

——————————–

Angle brackets are not allowed in YouTube descriptions, but the remaining content to copy and paste contains angle brackets. Copy and paste into a text editor, then search and replace ~(~ to left angle bracket, and ~)~ to right angle bracket. Then copy and paste where the content belongs.

Document Root /mnt/www/html
~(~Directory /mnt/www/html~)~
Require all granted
~(~/Directory~)~

source

by William Campbell

linux web server

Leave a Reply

Your email address will not be published. Required fields are marked *