TechBlogDev
TechBlogDev
  • Видео 1
  • Просмотров 18 175
Spring boot java application deployment on tomcat (VPS Server)
This tutorial explains the steps of how to deploy a sample spring boot application war on tomcat on the Virtual private server and also a quick walkthrough of the sample java application.
The application is deployed on Hostinger VPS Server which is an unmanaged server and the user gets all the root access. basically Unmanaged VPS server gives the user the flexibility to install any type of application which can range from Spring boot, Spring MVC, Elastic search, NoSql databases.
This tutorial covers the following below steps. We will do the set up from scratch till the app deployment.
• Setting up the VPS server
• Installation of Java
• Mysql and PHPMyadmin setup
• Tomcat installation and ...
Просмотров: 18 188

Видео

Комментарии

  • @aftabyt3894
    @aftabyt3894 14 дней назад

    23:09 i got err sir. Job for tomcat.service failed because the control process exited with error code. See "systemctl status tomcat.service" and "journalctl -xeu tomcat.service" for details..

  • @abhishekdas1342
    @abhishekdas1342 15 дней назад

    If I am using angular so I don't need phpadmin right I have to install nodejs and npm right can you please make a video on that how to install and connect angular to spring backend in Hostinger

  • @pulagamdevamatha5158
    @pulagamdevamatha5158 Месяц назад

    Thank you TechBlogs 💌 its awesome tutorial

  • @bansiloyjohnkennethc.7514
    @bansiloyjohnkennethc.7514 3 месяца назад

    Sir, is it still can work on tomcat 8.5 with Java 8?

  • @hectorbeltran4576
    @hectorbeltran4576 3 месяца назад

    Gracias parcero

  • @creamyturtle69
    @creamyturtle69 4 месяца назад

    this tutorial is the jam. you do everything from absolute scratch and don't skip any steps. I learned a lot about Linux commands and now have Java and Tomcat running on my VPS

  • @compscitopics
    @compscitopics 5 месяцев назад

    Phenomenal work and explanation! Congratulations and THANK YOU!

  • @preciodetalles9790
    @preciodetalles9790 5 месяцев назад

    how can i uninstall apache server if i followed this tutorial?

  • @kangnifredable
    @kangnifredable 7 месяцев назад

    I have nginx springboot and tomcat 10 installed on vps server. While i fetched the api deployed in tomcat i get cors issue. What is going wrong?

  • @hubertharris6874
    @hubertharris6874 8 месяцев назад

    Very Nice One

  • @user-fx4qq8ek2s
    @user-fx4qq8ek2s 9 месяцев назад

    it is very usefull but i have a problem. while i try to access to the api installed in tomcat with ssl it dose not work. the frontend is on googlestore. i have nginx installed but the domain is not link to the tmcat and nginx on the vps sever

  • @saddammd
    @saddammd 10 месяцев назад

    This is the only video available on internet to save java developers

  • @laponiec
    @laponiec 10 месяцев назад

    Hi would you be able to give me some advice? I have a React.js app which I deployed on hostinger. My React.js uses axiom to connect to Springboot API which then uses a GET call to retrieve information from Database. So far, I have uploaded the React.js app to my hostinger account and connected it with my domain. The problem is that I am not really sure how I would connect the other two components. Do I have to use VPS to upload my Springboot API and then connect it to mySQL DB on hostinger? Will appreciate any pointers. Thank you

    • @user-gd4qu8nv3u
      @user-gd4qu8nv3u 3 месяца назад

      Hi @laponiec , i am also facing this same situation like this. did you find a solution? if it is can you help us?

    • @laponiec
      @laponiec 3 месяца назад

      @@user-gd4qu8nv3u Unfortunately not.

  • @marianofranzetti8982
    @marianofranzetti8982 Год назад

    did you used spring boot with thymeleaf?

  • @ahmedkasso1
    @ahmedkasso1 Год назад

    in 30:27 when enter new password and Re-entre new password ask me enter new password again ?

    • @techblogdev1125
      @techblogdev1125 Год назад

      Exactly not sure.. but only possibilty i see if current passwprd and reenter password might not be matching...

    • @ahmedkasso1
      @ahmedkasso1 Год назад

      @@techblogdev1125 thanks you its wark now but I'm facing another problem i make deply to my app but running is false when make it start get massage FAIL - Application at context path [/] could not be started FAIL - Encountered exception [org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]]

  • @umbek-premium
    @umbek-premium Год назад

    Thank you very much for the great tutorial

  • @nechazz2951
    @nechazz2951 Год назад

    hello your video is sso helpfull, but i have a problem when i install phpmyadmin i can't access to IP/phpmyadmin page 404

  • @metehanersoyy
    @metehanersoyy Год назад

    Thanks for video. I edited ports.conf but still can't reach to phpmyadmin page

    • @metehanersoyy
      @metehanersoyy Год назад

      I figured out problem. ufw was blocking port so i disabled it. Or you can type "sudo ufw allow 90"

  • @ShriyamGupta-wx4ou
    @ShriyamGupta-wx4ou Год назад

    can you explain how to handle request of spring API with this?

  • @Integer2023
    @Integer2023 Год назад

    Thank you so much.

  • @gameofnoobgon7199
    @gameofnoobgon7199 Год назад

    36:00 please check this timestamp, comments hiding below the screen recorder

  • @phimmoi939
    @phimmoi939 Год назад

    can you tell me how to configure the connection in applicatione.properties ? Thanks you

    • @piyushrajput07
      @piyushrajput07 Год назад

      Hey did you get your answer. I also want to know the same thing.

  • @taksittaksit636
    @taksittaksit636 Год назад

    thank you great tuto but i have a problem, how to link my project with the data base

  • @NanaKwameAkore
    @NanaKwameAkore Год назад

    Hello Master.. Thanks a lot for the knowledge.. it is well appreciated... pls can i have the code for linking the signup form with the LIVE phpmyadmin... thus... Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3307/youtube-db?useSSL=false","root","password");.... this is for hosting locally... and so can you assist me with that of the LIVE VPS.... i think it should be a link... or better still can u give me all the code for this very lesson... thanks in advance.... Master!

  • @gusanejo
    @gusanejo Год назад

    Awesome video guy! You totally deserve more subscribers! Just a quick question, when I deploy my own war file (ROOT.war), it doesn't start and I get this messages: Could not start application in context path [/] Exception found: [org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]] Do you have any idea what can it be? Thank you anyway and have a great day!

  • @atulsharmabloox
    @atulsharmabloox Год назад

    Hey Tech Blog Dev ❤ this video is just awesome keep it up. Appreciate

  • @amdimov
    @amdimov 2 года назад

    Thank you for the nice tutorial. Could you please explain how we could proceed with making a SSL connection? Thank you

    • @techblogdev1125
      @techblogdev1125 2 года назад

      Hi Alex, I haven't done as of now still have to explore this feature.. will check on that

    • @amdimov
      @amdimov 2 года назад

      @@techblogdev1125 Thank you

  • @aumpragashgnanaguru5484
    @aumpragashgnanaguru5484 2 года назад

    Thanks for the content bro. I followed every single step but still am getting this error java.lang.IllegalStateException: Error starting child while deploying war file

    • @techblogdev1125
      @techblogdev1125 2 года назад

      Hi, Just try deploying the same war file in your local system, if that doesn't work in local then some issue with your war file

  • @johnnyferreira7738
    @johnnyferreira7738 2 года назад

    hey men, good video. I'm in trouble here "UNINSTALL COMPONENT "file://component_validate_password"; Error 1064 (42000): You have an error in your SQL syntax; check the manual that correspons to your MYSQL server version for the right systax to use near 'COMPONENT ""file://component_validate_password" at line 1. Can you help?

    • @techblogdev1125
      @techblogdev1125 2 года назад

      Hi you can uninstall mysql 5.7 as we do in Linux. sudo apt purge mysql-server*

  • @ramarajukakarlapudi9875
    @ramarajukakarlapudi9875 2 года назад

    hii i am install tomcat server in my system before seeing your video how to use the existing tomcat server

    • @techblogdev1125
      @techblogdev1125 2 года назад

      You can follow the video... Just check your configuration are matching with those in the videos.

  • @गाँववाले
    @गाँववाले 2 года назад

    how to add more than 1 domain name in VPS and make directory for spritely

  • @गाँववाले
    @गाँववाले 2 года назад

    very nice

  • @hippiestafarii
    @hippiestafarii 2 года назад

    Hello again ... Sorry to ask you that but maybe you know how to do that ... In this same config how can deploy a angular app for the front and spring for the back ... Or maybe you have a video showing that ...

    • @techblogdev1125
      @techblogdev1125 2 года назад

      Hi @Hippie, not tried yet but I guess it should be same as you do in Linux and you have to configure your angular apps port the similar way we have done for PhpMyadmin

    • @hippiestafarii
      @hippiestafarii 2 года назад

      @@techblogdev1125 Thanks 🙂

  • @hippiestafarii
    @hippiestafarii 2 года назад

    Hi @TechBlogDev I need your help please ... After all steps done with no error and with the same result as the video after the step in minute 48:45 my phpmyadmin gives me a 404 ... I think it's normal because after this modification it's pointing to tomcat and not apache ... Can you please help 🙂

    • @techblogdev1125
      @techblogdev1125 2 года назад

      Hi @Hippie Stereo , Since we have modified our application to point to 80, we have to change the port of PHPMyadmin to some other in mine case changed to 90, you can follow the steps from 50:30 onwards in the video. I hope it helps 🙂

    • @joaoluis3042
      @joaoluis3042 2 года назад

      @@techblogdev1125 Don't know your name ... Sorry man i stop at 48:45 didn't know that you deal with that problem later ... sorry !!! Thanks a lot and that was a kick answer :-) :-) :-)

    • @techblogdev1125
      @techblogdev1125 2 года назад

      Thank you. My Pleasure...😊

  • @danrleybrasil
    @danrleybrasil 2 года назад

    I'm configuring it exactly like you, but when I put the username and password, the page reloads and doesn't access

    • @techblogdev1125
      @techblogdev1125 2 года назад

      Hi @Danrley, is it related to connecting from local system to remote VPS using putty,?

    • @danrleybrasil
      @danrleybrasil 2 года назад

      @@techblogdev1125 No, it's when I try to access the manager at 8080/manager/html. I use the credentials created in the "tomcat-users.xml" file but I don't get access

    • @techblogdev1125
      @techblogdev1125 2 года назад

      @Danrley, have you tried changing the permission for webapps, you can follow the video from timestamp 26:50, Hope it helps

  • @Dabayare
    @Dabayare 2 года назад

    I entered the statement @31:45 and could not get out of "mysql>" . I have to log out out session log back on. Is there sort of a way to abandon and start a news sql statement?

  • @vivekkumarchauhan3788
    @vivekkumarchauhan3788 2 года назад

    Brother i do all this as you show but my Tomcat server is not its default page

    • @techblogdev1125
      @techblogdev1125 2 года назад

      Hi Vivek, you have to do reverse proxy configuration to redirect to your tomcat page. kindly follow the steps from 45:30 in the video section where I have done the same. Hope it helps

  • @AsheeshKumar-fi7uj
    @AsheeshKumar-fi7uj 2 года назад

    thanks for sharing the information. I did the port change but showing me "Apache2 Ubuntu Default Page" could you help me to fixed it

    • @techblogdev1125
      @techblogdev1125 2 года назад

      Hi Asheesh, you have to set the reverse proxy configuration in order to redirect to your application home page. you can follow the steps from 45:30 onwards in the video which shows how to do the reverse proxy configuration. Basically it will redirect from default ubuntu home page to your application default page .. Hope it helps😊

  • @tipswithnna6670
    @tipswithnna6670 2 года назад

    Thank for sharing! and Could you tell me how to redirect ip to domain name?

    • @techblogdev1125
      @techblogdev1125 2 года назад

      hi, you have to set the A records at the domain registeration website like godaddy, Namecheap. pls follow the video from 42:15 onwards where i have done the same. Hope it helps 😊

  • @aamirshayanshaikh2728
    @aamirshayanshaikh2728 2 года назад

    Great tutorial