Home > Back-end >  Deploy the site related issues
Deploy the site related issues

Time:04-26

最近搞了个服务器,在稍微熟悉之后就打算弄一个自己的网站,感觉很cool,根据网上的指导,先安装baota面板,然后安装各种环境,最后一键部署网站,就可以在其他机器上访问自己的网站了(当然没有这里说的这么简单,还有很多琐碎的事).界面很漂亮,功能也很齐全,特别是那个网页还有一个额外放自己的html代码的小区域,刚好可以在这个区域里面放超链接跳转到自己写的页面(刚开始写了一个很简单的html页面,能成功跳转,我以为接下来只要写代码上传就行),但在我写好自己的页面并上传之后,错误出现了,大概原因就是自动部署是在php服务器上,而我写的是jsp代码(没学过php,并且也打算主学java),我下载好tomcat服务器并开启,开放端口,然后确认可以访问tomcat首页,并且在baota面板开启tomcat服务,再次尝试后仍然不行,从网上也没有得到(或者说没有发现)特别清楚的解决方案,于是我就索性把之前的网站删了,然后重新部署,这次不用那个一键部署,部署完成后完成与上面差不多的操作,然后登录,跳转OK
Pictured above, very humble, there's no luxuriant page and powerful function,
And then jump to the success of images, this also includes php5.6 when deployed but not PHP files in the root directory, all the HTML and JSP, now I want to know can have both at the same time, consult everybody, I almost no foundation in this field, you can put me completely at the beginning

CodePudding user response:

Like is not simple, I thought I had deleted before the site, and back up again, steps as before (at least I think so), but failed, each time you click on a hyperlink jump can only download the browser in the upper right corner of the emergence of a target page of the small window
  • Related