phpstorm 配置sftp部署
phpstorm sftp
File => Settings => Deployment
$ mount
/dev/vda1 on / type ext4 (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
//192.168.4.157/webdev/web-mobile on /usr/ET/project/web-mobile type cifs (rw)
//192.168.4.157/code on /home/ubuntu/code type cifs (rw)
//192.168.4.157/webdev/webdatamanager on /usr/ET/project/webdatamanager type cifs (rw)
//192.168.4.157/easyweb_opt1.0 on /usr/ET/project/upland type cifs (rw)
$ sudo umount /usr/ET/project/webdatamanager
選擇專案根目錄
Deployment =>Upload to webdatamanager