The solution, run a samba daemon on the development machines and mount the folders to your local desktop.
Here's how.
For Fedora 17 host and a CentOS VM
On the CentOS VM,
yum install samba samba-client
chkconfig --level 2345 smb add
chkconfig --level 2345 nmb add
vim /etc/samba/smb.conf #edit configuration file to specify target dir to share
/etc/init.d/smb start
/etc/init.d/nmb start
On the Fedora desktop,
yum install samba-client
mkdir target_dir
mount -t cifs -o username=your_user,password=your_password //centor-server/target_dir target_dir
mount -a
You can then use target_dir as directory or folder for PhpStorm to open. The above how-to and principles can be used with other IDEs or editors.
1 comment:
This is helpful, but how would you run git directly from PHPStorm in this scenario?
Post a Comment