LAMP VM by Anarion Technologies
LAMP (Linux, Apache, MySQL, PHP/Perl/Python) is a comprehensive and widely-adopted technology stack that provides a robust framework for developing and hosting dynamic web applications.
**Linux** serves as the operating system, offering a reliable and secure environment for running applications. Its open-source nature and stability make it a popular choice for many web servers.
**Apache** is the web server component of the stack. It efficiently handles HTTP requests and serves web pages to users. Known for its versatility and extensive module support, Apache is capable of managing a wide range of web services and configurations, making it a cornerstone of the LAMP stack.
**MySQL** acts as the relational database management system that stores and organizes application data. It is renowned for its speed, reliability, and ease of use, providing a solid foundation for managing the data needs of web applications. MySQL’s ability to handle large volumes of data and its robust performance make it a preferred choice for many developers.
**PHP, Perl, or Python** are the scripting languages used for server-side programming. These languages enable the creation of dynamic content and interact with databases to deliver personalized user experiences. PHP, in particular, is widely used within the LAMP stack for its ease of integration with MySQL and its extensive support for web development tasks. Perl and Python also offer strong capabilities for scripting and development, depending on the specific needs of the application.
Together, these components form a powerful and flexible stack that supports the development of a wide variety of web applications. The LAMP stack’s combination of open-source components, ease of use, and broad support makes it a popular choice for developers seeking a reliable and effective platform for web development. Whether for small projects or large-scale web applications, LAMP provides the tools necessary to build, deploy, and manage dynamic and interactive websites efficiently.
To subscribe to this product from Azure Marketplace and initiate an instance using the Azure compute service, follow these steps:
1. Navigate to Azure Marketplace and subscribe to the desired product.
2. Search for “virtual machines” and select “Virtual machines” under Services.
3. Click on “Add” in the Virtual machines page, which will lead you to the Create a virtual machine page.
4. In the Basics tab:
- Ensure the correct subscription is chosen under Project details.
- Opt for creating a new resource group by selecting “Create new resource group” and name it as “myResourceGroup.”
5. Under Instance details:
- Enter “myVM” as the Virtual machine name.
- Choose “East US” as the Region.
- Select “Ubuntu 18.04 LTS” as the Image.
- Leave other settings as default.
6. For Administrator account:
- Pick “SSH public key.”
- Provide your user name and paste your public key, ensuring no leading or trailing white spaces.
7. Under Inbound port rules > Public inbound ports:
- Choose “Allow selected ports.”
- Select “SSH (22)” and “HTTP (80)” from the drop-down.
8. Keep the remaining settings at their defaults and click on “Review + create” at the bottom of the page.
9. The “Create a virtual machine” page will display the details of the VM you’re about to create. Once ready, click on “Create.”
10. The deployment process will take a few minutes. Once it’s finished, proceed to the next section.
To connect to the virtual machine:
1. Access the overview page of your VM and click on “Connect.”
2. On the “Connect to virtual machine” page:
- Keep the default options for connecting via IP address over port 22.
- A connection command for logging in will be displayed. Click the button to copy the command. Here’s an example of what the SSH connection command looks like:
“`
ssh [email protected]
“`
3. Using the same bash shell that you used to generate your SSH key pair, you can either reopen the Cloud Shell by selecting >_ again
or going to https://shell.azure.com/bash.
4. Paste the SSH connection command into the shell to initiate an SSH session.
Usage/Deployment Instructions
Anarion Technologies – LAMP
Note: Search product on Azure marketplace and click on “Get it now”
Click on Continue
Click on Create
Creating a Virtual Machine, enter or select appropriate values for zone, machine type, resource group and so on as per your choice.
After Process of Create Virtual Machine. You have got an Option Go to Resource Group Click Go to Resource Group
Copy the Public IP Address
In your browser, you can now access by navigating to the IP address of your server:
http://”instance IP Address”
To remove this page you have to SSH into Terminal and run following commands:
$ sudo su
$ sudo apt update
$ sudo rm -rf /var/www/html/index.html
To Check MYSQL is running or not:
$ sudo systemctl mysql.service
To check PHP Version:
$ php –v
To check Webserver is running or not:
$ sudo systemctl status apache2
Your LAMP is ready to use.
ThankYou!!!