Alibaba cloud instance image for ERPNext

Hello Everyone,

I am creating a instance image on Alibaba cloud for ERPNext.
Please guide me about the image selection.

Either we need “Alibaba Cloud Linux” or “Ubuntu” as mentioned in the above image. Then, when I select “Alibaba Cloud Linux” what is the version I should select? as mentioned in the below image.

If I select Ubuntu then what is the version I should select? mentioned in below image.

Please guide me about this.
Many thanks

Anyone please I am stuck at this stage.

Choose ubuntu 22.04 64 bit.

you can follow the below guide to install.

Thanks, @madhusona for your reply.
I applied your solution but now I am getting error in installation.

bench --site site1.local install-app erpnext

when I run the above command to install erpnext app I get the error mentioned in the below image.

Make sure mariadb password is correct. During sudo mysql_secure_installation, it will ask to change the root password.

Execute the command sudo mysql -u root -p and check do you able to login to MariaDB Monitor

Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 4678
Server version: 10.6.16-MariaDB-0ubuntu0.22.04.1 Ubuntu 22.04

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]>

I can login to MariaDB and still same access denied error getting.

Can we re-install the MariaDB installation or reset the MariaDB password?

Hello everyone,

I already installed the MariaDB and I can login to MariaDB monitor as I mentioned in the above image but when I run to install the erpnext app it gives me DB access denied error as mentioned in the below image.

bench --site site1.local install-app erpnext

Also when I run bench restart it give me the below error

Please guide me about this issue.