IDEA配置连接远程服务器

Tools下的Deployment中的Configuration 

Configuration

IDEA配置连接远程服务器

配置connection和Mappings即可

Type:SFTP

SSH Configuration:点击最右边三个点,配置自己的服务器地址以及密码

IDEA配置连接远程服务器

root path:这个配置的就是我们自己的工作目录 

web server url:服务器的地址

Mappings

这个主要是配置windows上项目文件和服务器上文件的对应关系

IDEA配置连接远程服务器

 

把我E盘下Local Path文件,上传到root path/Deployment path中 ,因为root path指的就是我们自己的工作目录 。

再把第一张图上面的automatic upload勾选就可以了 ,这样就可以自动上传到服务器上面去了

相关文章:

  • 2022-12-23
  • 2021-11-14
  • 2021-09-07
  • 2021-07-07
  • 2021-06-19
  • 2021-09-13
  • 2021-10-01
  • 2021-11-02
猜你喜欢
  • 2019-07-27
  • 2021-09-17
  • 2021-12-08
  • 2021-05-17
  • 2021-12-24
  • 2022-12-23
  • 2021-08-14
相关资源
相似解决方案