How to use the Magento One-Click Install on LayerStack Cloud Servers

2021-09-24 By Gary 1960 Views linux magento cms_application one_click_apps layerpanel
23 reviews

Magento, one of the most popular open-source e-commerce platforms written in PHP and it uses multiple other PHP frameworks, it offers powerful marketing, search engine optimization, and catalog-management tools.


Magento has its own advantages which include:

  • A simple and sophisticated user interface

  • Highly Customized

  • High-speed loading

  • Great flexibility


LayerStack has come up with a new feature where you can deploy Magento with a single click on your Cloud Servers for all regions.


HTTP link to log in to Magento Dashboard:

http://<serverip>/admin


Getting started with our One Click Magento installed Cloud servers


The following software will be installed once the server is deployed with Magento.

Software Description
MySQL server Backend database for Magento
PHP 7 Magento requires PHP 7 environment to operate
Nginx The webserver used for the serving contents
Magento ver. 2.4.2 Latest version of Magento CMS
Composer version 2.1.6 Dependency management for PHP and in Magento


The below are the required fields to be entered by the user in order to complete the Magento installation.

Field Description
Admin Username This is the username of Magento admin user
Admin Password A strong password suggested to login
Email Address Email address of the Magento admin user


Accessing the Magento site after Deployment

This section describes how to access the Magento application once the installation is done. By default, the Magento will be accessible by accessing your Cloud server’s IP address in a browser of your choice. Please follow the below steps:

  1. Log in to LayerPanel2 and click on Deploy from the sidebar on the left side.

  2. Choose Magento based on Ubuntu 20 for the server OS and proceed to order the Cloud Servers.

    oneclickmagento1

  3. After the server is activated, click on Services from the sidebar on the left side and further select Cloud Servers for listing out your Cloud Servers.

    oneclickmagento2

  4. From the list of Cloud Servers, find your newly deployed Cloud Server with Magento one-click option.

    In the below example the server IP is 123.123.123.123. You can copy the IP address using the Copy to clipboard icon adjacent to the IP address and then can paste it in any browser of your choice.

    oneclickmagento3

  5. The page loads with the Magento homepage.

    oneclickmagento4

  6. You can now log in to the Magento admin dashboard by accessing the below link and personalizing the appearances for your website. The user can input admin as the administrative username and server's password for logging into the admin dashboard of Magento.

     http://<serverip>/admin
    

    oneclickmagento5

    NOTE: Replace serverip in the above link with the actual IP address of your Cloud Servers.


How to link your domain name for your Magento Website?

You may have registered your domain with any global domain registrars, so you would be able to manage the DNS settings of your domain under the respective domain registrar’s account. To link your domain name to the Magento application to make it active under the domain in LayerStack Cloud Servers, you would require to set up A record entry for the website against the Cloud server’s IP address. This will resolve the domain name to the particular server IP.

NOTE: Pointing A record to the server IP is to be done at your Domain Registrar’s end. The DNS settings may vary according to the Registrar providers.


For more clarity you may refer to our DNS record setup tutorial:

How to update NameServer and DNS record for LayerStack Cloud Servers


Once the domain has been set up, it is required to change the Site URL by assigning the domain name to the Magento website. Follow the below steps:

  1. Log in to the Magento admin dashboard.

    oneclickmagento6

  2. On the Admin sidebar, go to following option Stores > Settings > Configuration.

    oneclickmagento7

  3. From the left panel, expand the General option and choose Web.

    oneclickmagento13

  4. Now expand the Base URLs and Base URLs (Secure) sections mentioned in the below image.

    oneclickmagento14

  5. Fill in the Base URL section with the domain name.

    oneclickmagento10

    oneclickmagento11

    NOTE: Replace server IP with your registered domain name.

  6. Click the Save Config button in the top right once entered the domain name and it will then show a message stating “The configuration has been saved.

    oneclickmagento12

  7. Once everything is done, Clear your Magento cache data. This will finalize the steps to deploy Magento with your Cloud Servers.


Related Tutorial

What do you think about this article?

Rate this article
LayerStack Promotion
Need assistance?

Try this guide to receive free bundled services at signup on a new free account.

Sign Up

Your Feedback Is Important

We hope you’ll give the new products and updates a try. If you have an idea for improving our products or want to vote on other user ideas so they get prioritized, please submit your feedback on our Community platform. And if you have any questions, please feel free to ask in the Community or contact our Technical Support team.