1. 程式人生 > >PyCharm遠端連線伺服器(pycharm-professional-2018.2.5)

PyCharm遠端連線伺服器(pycharm-professional-2018.2.5)

第一步:File -- Setting(Ctrl+Alt+S)

第二步:

1)Project:D -- Project Interpreter -- 設定 -- Add -- SSH Interpreter

-- New server configuration -- Host -- Username

-- Existing server configuration -- Development configuration(選擇你的主機) -- Host URL(自動填寫) -- next

-- 資料夾(圖示) -- Local Path(本地路徑) -- Remote Path(遠端伺服器路徑) -- OK -- Finsh

2)Build.Execution.Deployment -- Deployment -- + --

-- Name:(伺服器IP地址) -- Type(SFTP) -- OK

-- Connection -- Type -- SFTP host -- User name -- Password -- Web server root URL

-- Mapping -- Local path -- Deployment path on server ‘IP’: -- OK

圖文介紹: