-
Notifications
You must be signed in to change notification settings - Fork 1
Install on Amazon instance
Learn how to install mCard on AWS EC2 instance from YouTube:
-
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2.
-
From the left side bar, select AMIs.
-
Select 'Public images', then search AMI Name: mCard
-
Select image mCard_JHSZC (ami-28dcff4d), then click
Launch
-
Follow instructions on the wizard, configure the instance, storage, tag, security group (open 22 and 80 ports), then Review and Launch.
-
SSH log into the instance, start mCard:
bash start_mCard.sh
-
When it's the first time of installation or the URL of mCard is changed, you need to update reCAPTCHA setting. To set up reCAPTCHA:
-
Register new site follow instructions on the page. When choosing the type of reCAPTCHA, select reCAPTCHA V2 (validate users with the "I am not a robot" checkbox)
-
After registration, you will get the new key and secret
-
Update environment variables. Add or update the following two lines in ~/.bashrc:
export reCAPTCHA_key="YOUR_KEY" export reCAPTCHA_secret="YOUR_SECRET"
-
reload configuration:
source ~/.bashrc
-
start or restart mCard
-
Now mCard is ready to use. You can use the IP address of EC2 instance or the domain name which you have linked to EC2 instance to access mCard.
-
The default username and password for administrator is root:root. You can change the password via "Manage Your Account" or "Administration Portal"