Lightweight Raspberry Pi 3 Web Server



How to Set Up a Lightweight LAMP VM

Steps

Downloading the Components

  1. Download and install a Linux distribution of choice.There are many options available (such as Debian, Ubuntu, RedHat, etc.) but for a lightweight server, Damn Small Linux will work well. You can get it

Setting Up the Virtual Machine

  1. Create a virtual machine in VirtualBox by following the procedure below.Remember to use this configuration only.
  2. Click on the 'New' button to start the Virtual Machine creation wizard.
  3. Name your Virtual Machine and choose Linux.Choose the distribution using the version selector. If you're using Damn Small Linux, click on "other Linux".
  4. Allocate 1 GB of RAM to the machine.If you're running VirtualBox on a computer with 1 GB RAM, allocate 512 MB. However, the performance may suffer.
  5. Choose 'Create a hard disk now' as your hard disk configuration.
  6. Choose 'VirtualBox Disk Image' as your hard disk type.
  7. Select the fixed size radio button and click next.Allocate 8-10GB of hard drive space for the Virtual Machine.
  8. Wait for the hard disk to be created, and finish the wizard.
  9. Click on the Settings button after selecting the Virtual Machine you just created.
  10. In the storage menu, click on the add new button denoted by a floppy with a plus sign on it.
  11. Click on add CD/DVD device and select choose disk.Choose the Damn Small Linux ISO and click OK.
  12. Configure the network adapter.Click on the network menu, and under adapter 1, select bridged adapter.
  13. Under the USB menu, disable the USB controller.
  14. Click on the Audio menu and disable Audio.Close the settings menu.

Installing and Configuring DSL with XAMPP

  1. Start the VM and boot to CD
  2. Type install at the prompt.
  3. Select option 2 to install DSL to the hard disk.
  4. Type "HDA" at the prompt asking you which drive to install to.
  5. Type yes to everything, and when choosing boot loader, select LILO.
  6. Reboot the Virtual Machine
  7. Type a root password at prompt.
  8. Type a DSL password at prompt.
  9. Select the first option (xVesa) for xserver.
  10. type n to USB mouse.
  11. Type y to PS/2 Mouse.
  12. Pick your resolution and color depth.
  13. Answer no to the prompt seeking dpi.
  14. Check if the IP of your VM is listed on the right after logging in.
  15. Open the browser and download Xampp from
  16. Find the package.By default xampp-linux-1.8.1.tar.gz will save to /root when downloading from a browser
  17. Launch a ROOT terminal and type:tar xvfz /root/xampp-linux-1.8.1.tar.gz -C /opt
  18. After install completes, make lampp start at bootup.To do this, type:echo /opt/lampp/lampp start>>/opt/bootlocal.sh
  19. Edit the file http-xampp.conf by completely commenting out the last section "New XAMPP security concept" (Commenting out is done by adding a "#" at the beginning of the line).
  20. Typenano /opt/lampp/etc/extra/http-xampp.conf
    • Once you're done commenting out each line of the "New XAMPP security concept" section, save it by pressing CTRL + X and respond with Y to the question.
    • This will allow you access phpmyadmin without getting “access forbidden” message
  21. Reboot and you should see the LAMP services start up.
    • You can then log-in and open the browser to localhost to configure LAMP settings or open a browser on any computer within the network with the IP of the VM (As long as the network adapter is in bridge mode and your host firewall [Host = system VirtualBox is installed on] doesn't block it).

Community Q&A

Search
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
  • The default passwords and config file locations for XAMPP are available at
  • You can choose NAT as your network adapter type if you're using it for presentations and to disallow users from remotely connecting to your VM by typing in its IP. If you're doing this, remember to forward your ports.





Video: Part 6 Setup Your Own Raspberry Pi Install Apache MySQL PHPMyAdmin LAMP Server

How to Set Up a Lightweight LAMP VM
How to Set Up a Lightweight LAMP VM images

2019 year
2019 year - How to Set Up a Lightweight LAMP VM pictures

How to Set Up a Lightweight LAMP VM recommendations
How to Set Up a Lightweight LAMP VM advise photo

How to Set Up a Lightweight LAMP VM pics
How to Set Up a Lightweight LAMP VM images

How to Set Up a Lightweight LAMP VM How to Set Up a Lightweight LAMP VM new images
How to Set Up a Lightweight LAMP VM new images

pics How to Set Up a Lightweight LAMP VM
images How to Set Up a Lightweight LAMP VM

Watch How to Set Up a Lightweight LAMP VM video
Watch How to Set Up a Lightweight LAMP VM video

Forum on this topic: How to Set Up a Lightweight LAMP , how-to-set-up-a-lightweight-lamp/
Discussion on this topic: How to Set Up a Lightweight LAMP , how-to-set-up-a-lightweight-lamp/ , how-to-set-up-a-lightweight-lamp/

Related News


How to Make Gingerbread Cake
New light therapy for breast cancer
Why all new mothers need a doula
Pull-Up Bar Progression
Thinking Beyond The Birkin: Meet The New Crop of Status Bags
21 Healthy Cheat Meal Ideas From Instagrammers
How to Make Wedding Bell Wands
How to Cook Your Favorite Foods So They Taste Better
Leftover Turkey Make These Tex-Mex Chilaquiles
How Are Anxiety Disorders Treated
Vin Diesel in Sherwani-Pictures of Deepika and Vin Wearing Sherwani
Salmon Salad
10 Lazy Winter Hairstyles
You Won’t See Any Naked Models In This Year’s Pirelli Calendar, But You Will See Karlie Kloss, Adriana Lima,More
TheLIST: The Models to Watch in 2019



Date: 07.12.2018, 16:12 / Views: 93383