SAIN3 "Magento+Redis+phpRedisAdmin+LAMP+Webmin" Package (HVM)

User Guide


We understand e-Commerce customers' demand, and we always put data safety as our first priority in the product R&D.


1.MySQL DB Back-up

This script is saved in /usr/local/bin/AutoBackup enabling users to automatically back up your entire database, making all your data extra safe.

The default setting is daily automatic back-up at 12PM Noon (PST). User can change the running time or stop the database back-up service by revising the script file in the Webmin: Webmin->System->Schedule Cron Jobs->/bin/sh /usr/local/bin/AutoBackup



Webmin is a web-based system configuration tool for Unix-like systems. With it, it is possible to configure operating system internals, such as users, disk quotas, services or configuration files, as well as modify and control open source apps. If you want to manage Apache and MySQL through the Web page, Webmin is the right tool for you.


Usage instructions

**Important Info**

Before you start to access the system, please make sure the "Status Checks" of the instance in AWS Console turns to "2/2 checks passed", or the initialization process might be interrupted and fail. It takes about 5-10 mins.


**Default Settings**

1.Webmin / MySQL:

Username: root

Password: <instance ID>

2. Magento / phpRedisAdmin:

Username: admin

Password: <instance ID>


** Step 1 : Initial Configuration **

1.Visit http:// <public DNS>.

2.Enter your instance ID and click “Continue”.

3.(Required field) Enter the backup path(Format:/mnt/). 

4.(Optional) Enter your website domain name. Format: or The default domain name is <public DNS>.

5.(Optional) Enter your password for the "admin" user of Magento.

6.Click “Submit” to save your initial configuration.


** Step 2 : Access the System**

1. Visit your Magento frontend.

http:// <public DNS>

2. Admin interface.

http:// <public DNS>/admin

Username: admin, password: <instance ID> or the one you chose.

3. Webmin at http:// <public DNS>:10000. You can manage MySQL through Webmin.


**Clear Cache & Session**

1.Access phpRedisAdmin:

http://<public DNS>/phpRedisAdmin

Username: admin, password: <instance ID>.

2.Select “local db 2 for cache” or “local db 1 for session” on the top-left of the page, enter “*” and click button “Filter!”. Then you may have to press the icon “Flush” on the top-left of the page to clear the entire database. This is the easy way to clear the cache & session.

3.Or you can SSH into your instance to clear the cache & session. Open a terminal or SSH client, using your amazon ec2 ssh public key, ssh into the instance as the ubuntu user using the public DNS information for your instance. Type the following commands:

$ redis-cli

>select 2    #select the database for cache

>flushdb     #flush cache

>key *      #check

>select 1    #select the database for session

>flushdb     #flush session

>key *      #check

>quit        #leave redis-cli


Replace the <public DNS> above with the actual ip address of the running EC2 instance.


** Cannot Access to Webmin**

1. After the "Status Checks" of the instance in AWS Console turns to "2/2 checks passed" can you start to access the system, or the initialization process might be interrupted and fail.

2.Make sure port 10000 is in your security group.

Type: Custom TCP Rule

Protocol: TCP

Port range: 10000