Magento Getting Started
Magento is a Commerce Platform,it is the most popular commerce platform in the world, with more than 250,000 merchants around the globe selling more and driving innovation. Just check out our customer stories to find out how the Magento Advantage really works.
If you have installed Websoft9 Magento, the following steps is for your quick start
Preparation
- Get the Internet IP on your Cloud Platform
- Check you Inbound of Security Group Rule of Cloud Console to ensure the TCP:80 is allowed
- Get default username and password of Magento
- Complete Five steps for Domain if you want to use Domain for Magento
Magento Initialization
Steps for you
The latest Magento has used the CLI to complete the installation wizard, so you can use it directly:
-
Using local browser visit the URL http://DNS or http://Server's Internet IP, enter to Magento Mall home page
-
Using local browser visit the URL http://DNS or http://Server's Internet IP/admin, enter to login interface
-
Login it to Magento console (Don't know password?)
Refer to Magento Docs to get more details
Having trouble?
Below is for you to solve problem, and you can contact Websoft9 Support or refer to Troubleshoot + FAQ to get more.
Can I use Cloud database for Magento?
Yes, Use the following command to replace Magento's database.
magento setup:config:set --db-host=DB-HOST --db-name=DB-NAME --db-user=DB-USER --db-engine=DB-ENGINE --db-password=DB-PASSWORD
Magento QuickStart
Magento Setup
Magento install modules
Below is the methods for you installing modules online
- Make sure your Magento is Linking Marketplace
- Search the modules on Marketplace, 【buy】it and【Install】 it
- Log in your Magento, open【SYSTEM】>【Web Setup Wizard】>【System Configration】
- On the left memu, click 【EXTENSION MANAGER】>【Refresh】, synchronize the your purchase to your Magento, then【Review and Install】 it
Refresh not always successful, so please Refresh it repeatedly
- Select the modules in the catalog and install it
- Magento will check the system environment before installation
- If installation is very slowly and have error, please refer to Troubleshooting
Link Magento Marketplace
Completed installation of Magento, suggest you make your Magento system link Magento's Marketplace. Once you have linked it, you can use many resourses on Marketplace.
-
Log in to Magento's Marketplace, create your Access Key from My Profile setting
-
Save Access Key
-
Log in to the Magento server using SSH and go to the root directory '/data/wwwroot/magento' ,Paste the access keys in your auth.json file
{
"http-basic": {
"repo.magento.com": {
"username": "7023803e7e",
"password": "e1e52894a5b"
}
}
}
- Then, you can use the resources of Marketplace online
Magento set language
- Download language package
- Set language for Magento front page: go to Stores > Configuration > General > Local
- Set language for Magento backend page: go to Account Setting > Interface Local
Magento Cache
Cache is a important function for Magento
- Log in Magento, go to【System】>【Tools】> 【Cache Management】
- Select items
- Click 【Flush Magento Cache】and【Flush Cache Storage】to start
- You can cancel cache from here
SMTP
Sending mail is a common feature for Magento. With a large number of users' practice and feedback, only one way is recommended, that is, using the third-party SMTP service to send the email.
Do not try to install Sendmail or other Mail server software on your Cloud Server for sending mail, because it has great difficulty in maintenance.
Taking SendGrid's SMTP Service as an example, refer to the following steps to configure sending mail:
-
Log in SendGrid console, and prepare your SMTP settings.
SMTP host: smtp.sendgrid.net
SMTP port: 25 or 587 for unencrypted/TLS email, 465 for SSL-encrypted email
SMTP Authentication: must be checked
SMTP Encryption: must SSL
SMTP username: websoft9smtp
SMTP password: #fdfwwBJ8f -
Make sure your Magento is linking Magento's Marketplace
-
Connect Server, use below commands for installing Magento SMTP module
docker exec -it magento bash #Enter into Magento docker container
cd /bitnami/magento/
composer require mageplaza/module-smtp
php bin/magento setup:upgrade
php bin/magento setup:di:compileIf you don't want to use command, you can buy it from Marketplace and install it
-
Log in Magento backend, configure SMTP
-
Click STORES and select Configuration in the right menu;
-
Setting details
-
-
Log in Magento backend, set send from and send to Email address
- Click [STORES]-[Configuration]-[Store Email Addresses] to start settings
- Click [STORES]-[Configuration]-[Store Email Addresses] to start settings
More SMTP Service(Gmail, Hotmail, QQ mail, Yahoo mail, SendGrid and so on) settings or Issues with SMTP, please refer to Websoft9's SMTP Guide
DNS Additional Configure(Modify URL)
Complete Five steps for Domain ,Set the URL for Magento :
Connect to server via SSH and run CLI commands to configure parameters
docker exec -it magento bash #Enter into Magento docker container
cd /bitnami/magento/
php bin/magento config:set web/unsecure/base_url http://www.mydomain.com/
php bin/magento config:set web/secure/base_url http://www.mydomain.com/
HTTPS extra settings
Standard HTTPS Configuration Once complete, you also need to run the following CLI command to configure:
docker exec -it magento bash #Enter into Magento docker container
cd /bitnami/magento/
php bin/magento setup:store-config:set --use-secure=1 --use-secure-admin=1 --base-url-secure="https://www.yourdomain.com/"
php bin/magento cache:flush
Reference sheet
The below items and General parameter sheet is maybe useful for you manage Magento
Run docker ps
command, view all Containers when Magento is running:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
Path
Magento installation directory: /data/apps/magento
Magento data directory: /data/apps/magento/data
The Magento configuration file contains database connection information, and the MySQL database account password has been changed, which also needs to be changed here
Port
Port | Use | Necessity |
---|---|---|
3306 | Remote connect MySQL | Optional |
80 | HTTP requests for Magento | Required |
443 | HTTPS requests Magento | Optional |