I need to install mariadb server in ubuntu without passwod prompt. For this purpose, I execute the following commands, but it doesn't gave me any progress. It again shows password prompt.
I used the following commands :
export DEBIAN_FRONTEND=noninteractive echo mariadb-server-5.5 mariadb-server/root_password password mypass | debconf-set-selections echo mariadb-server-5.5 mariadb-server/root_password_again password mypass | debconf-set-selections sudo apt-get -y install mariadb-server
I also check some links in stack overflow, but it doesnot worked:
Please help me on this regard. Have any wrong with my code?