step 1:- Go to apche tomcat directory
apache-tomcat-9.0.0.M26/conf/tomcat-users.xml
and add these two line end of the file
Note :--please use angular brackets instead of open & closed brackets youtube is not alllowing to keep angular brackets.
(role rolename="manager-gui"/)
(user username="tomcat" password="s3cret" roles="manager-gui"/)
Step -2:
Go to /root/Desktop/apache-tomcat-9.0.0.M26/bin
and Restart the server
./catalina.sh stop
./catalina.sh start