OFBiz Install on AWS t2.micro

This section is how to install OFBiz onto the AWS t2.micro instance that was created in the prior section.

Type into a web browser:

https://ofbiz.apache.org/business-users.html#UsrInstall

Press Enter

Select Download Mirrors

apache-ofbiz-16.11-download-mirrors

Select Download

apache-ofbiz-16.11-download-mirrors-local

Click on the suggested site.

Download status show in the lower left corner of you web browser.

apache-ofbiz-16.11-download-mirrors-local-suggested

Load WinSCP

Click on New Site

Copy Public DNS from your AWS Instance to the Host Name Field

Enter ec2-user in the User Name Field

Click on Save

Click on Login

Click on Yes

This acknowledges that the servers host key is not cached in the registry.

winscp-aws-host-name-dns-user-name-settings

Right Click on apache-ofbiz.16.11.06.zip

Select Upload

Click on Ok to Upload file to /home/ec2-user

winscp-aws-ofbiz-name-change-upload-aws-server

Type:

ls

Press Enter

Check for file apache-ofbiz-16.11.06.zip

Type:

unzip apache-ofbiz-16.11.06.zip

Press Enter

Type cd apache-ofbiz-16.11.06

Press Enter

putty-ls-ofbiz-16-11-06-zip-unzip-aws-ec2-user

Type:

gradle/init-gradle-wrapper.sh

Press Enter

Type:

./gradlew "ofbiz --load-data readers=seed,seed-initial,ext" loadAdminUserLogin -PuserLoginId=admin

Check ext versus ext-prod as defined https://www.hotwaxsystems.com/ofbiz/ofbiz-data-setupdata-reader-best-practices-tutorial/

Press Enter

This installs OFBiz with minimal seed data and a super admin user with password ofbiz. Change "admin" to something like "adminbigsteve" or something. You will be forced to change password at first login.

putty-gradle-init-gradlew-ofbiz-load-data-seed-admin-user

Type:

./gradlew "ofbizBackground --start"

Press Enter

This starts OFBiz in the background.

putty-gradlew-ofbizBackground-start

Open Web Browser

Type:

https://ec2-xx-xxx-xx-xxx.us-west-1.compute.amazonaws.com:8443/accounting

Press Enter

Where xxx is equal to your server DNS address.

Click on Advanced

google-chrome-aws-dns-name-server-ofbiz-8443-accounting

Click on Proceed


google-chrome-aws-dns-name-server-ofbiz-8443-accounting-proceed

Enter User Name and Password

Type:

adminbigsteve

ofbiz

Click on Login


chrome-ofbiz-login-screen

Change Admin Password

Type:

ofbiz

something new

something new

Click on Submit

chrome-ofbiz-login-screen-change-admin-password

Login Successful

OFBiz is now installed on an AWS t2.micro server.

chrome-ofbiz-applications-accounting-manager

This completes this section of installing OFBiz 16.11.06 on an AWS t2.micro server.