vm

 


VIRTUAL MACHINE CREATION

  1. Name of the machine.
  2. Select os version.
  3. RAM allocation.
  4. Hardware allocation.
  5. CPU allocation.
  6. Network (bridge network).
  7. OS installation.




















































sucessfully installed windows os.

Build the infra for application deployment

Project Name: Student Tracker
Pre-request for the application deployment:
OS: Windows/Linux
JAVA: JDK version 23 or later and setup JDK envinorment variable 



Application server: Tomcat 9.0 ---> firewall



Database: MySQL
By deafut MYSQL databse only connect with localhost:3306
If user connecting the Database connection with IP address  : 192.168.29.55:3306. Need to be  allow the IP address and following the steps
1.Stop Mysql service



2.add the entry on my.ini file
bind-address = 0.0.0.0


C:\ProgramData\MySQL\MySQL Server 8.0\my.ini
3. start Msql service

4.Also creare new user and allow the all connection 
C:\Program Files\MySQL\MySQL Server 8.0\bin>mysql.exe -u root -p
Enter password: *********
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 13
mysql> create user 'mani'@'%' identified by 'mani@123';
Query OK, 0 rows affected (0.03 sec)
mysql> grant all on *.* to 'mani'@'%';     
Query OK, 0 rows affected (0.01 sec)
mysql> exit
Bye

#Grant **all** privileges on database

5. The new user and password update in you application












Comments

Popular posts from this blog

JSP TUTORIAL

JAVA TUTORIAL

ORACLE DBA