在Ubuntu上配置PhpStorm的步骤如下:
/opt/phpstorm
。ja-netfilter-all
到PhpStorm的安装目录。bin
文件夹中的phpstorm64.vmoptions
(64位系统)或phpstorm.vmoptions
(32位系统)文件,添加以下三行代码(替换为ja-netfilter-all
的实际路径):-javaagent:/opt/phpstorm/ja-netfilter-all/ja-netfilter.jar=jetbrains--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED
~/.bashrc
或~/.zshrc
文件,添加以下行(替换为phpstorm
的实际路径):export PATH=$PATH:/opt/phpstorm/bin
source ~/.bashrc
或source ~/.zshrc
使更改生效。phpstorm
启动软件。File
> Settings
> Plugins
,搜索并安装“Chinese”语言包。Tools
> Deployment
> Configuration
。FTP
或SFTP
,填写服务器的FTP或SFTP连接信息。Deployment
> Configuration
中,选择SSH
。完成以上步骤后,您应该能够正常使用PhpStorm进行PHP开发。如果在配置过程中遇到任何问题,请参考PhpStorm的官方文档或联系技术支持获取帮助。
辰迅云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
推荐阅读: ubuntu卸载软件包的方法是什么