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 forecasting
How to Set Up a Lightweight LAMP VM forecast photo

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

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

picture How to Set Up a Lightweight LAMP VM
pics 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

Discussion 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


Are nuts actually good for you
Relapsing-Remitting MS: The Disease That Affects Everyone Differently
The Unseized Power of Long Bob Haircuts
Lean With Me: The Super Deep Side Part
Revealed: The significance behind Meghan’s pregnancy haircut
31 The Most Sexy Bandage Swimsuit Ideas To Try This Summer
Best and Worst Exercise Trends for Rheumatoid Arthritis
How to Make Your Own Pumpkin Spice Latte
How to Be Happy With Yourself as a Teen
9 Reasons Your Arms Arent Changing, No Matter How Much You Work Out
Super Brain Yoga – How To Do And What Are Its Benefits



Date: 11.12.2018, 00:51 / Views: 43192