Introduction
One of the many available One-Click Apps that we have is LAMP. LAMP stack is a popular open source web platform commonly used to run dynamic web sites and servers. It includes Linux, Apache, MySQL, and PHP/Python/Perl and is considered by many the platform of choice for development and deployment of high performance web applications which require a solid and reliable foundation.
Prerequisites
-
Orbit created with LAMP image
-
Running Orbit
Creating Your Orbit
-
To create your application, you must create a Photon. You can do so by selecting the Photon tab after selecting ‘Create Orbit’
-
Once there, you will see a list of available photons that you can create. Select one and it will bring you to a detailed page
-
Scroll down to the details and you can start selecting options for your photon as well as setting up credentials.
-
Once everything is filled in, just press Create and you can move on to the next step
SSH into Orbit
-
First we need to check some details on our orbit by first navigating to the “My Orbits” tab.
-
Once there, click on the Orbit you want to connect to and check for three things:
-
IP Address
-
Running Status
-
Source Image(Ubuntu, Debian, Centos, Fedora
-
-
Once you have confirmed that your Orbit is running and you have the other information. Open up your console.
-
Now you can SSH into your Orbit by running.
ssh image@address
-
IP Address: We got this from the detail page, in this case it is “216.200.116.60”
-
Image: We got this from the source image in the details page. It should be one of the following: ubuntu, debian, fedora, centos
-
Note: A full command for this example would be: “ssh ubuntu@216.200.116.60”
-
Starting LAMP
-
Once you are SSH’d into the server you will see the following.
-
If we navigate to your Orbit’s IP Address we will see the following image which means that Apache2 is working properly
-
Also you can run MySQL and start working with the database as well
mysql -u root -p
When it asks to enter a password, enter ‘password’ without the quotes
-
Now that everything is up and running, you can start using your Orbit with Apache2, MySQL, and Python.