Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: IDE with LINODE
PostPosted: Mon Oct 03, 2011 9:39 am 
Offline
Newbie

Joined: Mon Oct 03, 2011 9:15 am
Posts: 3
I'm going crazy trying to develop code in VI on my LINODE VPS. Is there a way to make a fully functional IDE work with my VPS?

Can I hookup my netbeans install on my PC so it talks to the host?


Top
   
 Post subject:
PostPosted: Mon Oct 03, 2011 10:56 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
Some versions of netbeans seem to have SFTP support, although mainly for PHP. But why would you want to do this? It makes more sense to put a revision control system like Subversion or GIT on your linode and check out/in files as you work on them.


Top
   
 Post subject:
PostPosted: Mon Oct 03, 2011 11:06 am 
Offline
Junior Member
User avatar

Joined: Mon Jun 20, 2011 8:54 am
Posts: 44
iirc, netbeans was developed as a development tool, but they haven't focused on the deployment aspect. There was a git plugin, but I don't know it's current state, and when i last looked, it was still less than half-baked.

I believe the idea was to work with a version control system (VCS: "subversion" and the like) on your local system, and then stage and deploy from that.

I could always be wrong, though. I'm a little behind the times on IDE-based development. :)


Top
   
 Post subject:
PostPosted: Mon Oct 03, 2011 1:11 pm 
Offline
Senior Member

Joined: Mon Dec 07, 2009 6:46 am
Posts: 331
I believe the OP means an IDE that is running on the VPS? Or at least an IDE that is capable of editing remote files, directly on the server?

Netbeans can do the latter. So can Eclipse. So can VIM if you mount a NFS via SSH or something. :)

Then again I strongly advise against editing the files on the server directly... I suggest, as others have, you use SVN or even better Git, that way you can checkout or pull the working changes to your production directly.


Top
   
 Post subject:
PostPosted: Mon Oct 03, 2011 1:22 pm 
Offline
Senior Member

Joined: Mon Dec 20, 2010 11:37 pm
Posts: 76
You can try Xming: http://sourceforge.net/projects/xming/

It runs remote applications in your windows system.


Top
   
 Post subject:
PostPosted: Mon Oct 03, 2011 2:46 pm 
Offline
Newbie

Joined: Tue Dec 14, 2010 6:47 pm
Posts: 4
if you insist on editing files directly on the production server, it is possible to mount remote FTP and SFTP volumes so they appear locally on your machine. then you can use whatever IDE you like, pointing the workspace to that mounted volume.

i would give details on how do to so, but the process is very different between mac/linux/windows. just an option for you.


Top
   
 Post subject: IDE with LINODE
PostPosted: Mon Oct 03, 2011 3:39 pm 
Offline
Newbie

Joined: Mon Oct 03, 2011 9:15 am
Posts: 3
Thanks guys,

I'm not an expert on this stuff, i'd never even heard of 'git' - not since high school anyway:) - but your responses were very helpful.

I installed git on the server, added a git plugin to netbeans on my windows PC, and have changes being made on my PC going back to the server.

One annoyance I'm facing. Whenever the file is written back to the servers it loses it's execution bit, and I have to 'chmod' it each time.

Any suggestions for getting around that?


Top
   
 Post subject:
PostPosted: Mon Oct 03, 2011 4:56 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Checkout git hooks, the post update one will be useful

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject: Got it
PostPosted: Mon Oct 03, 2011 6:22 pm 
Offline
Newbie

Joined: Mon Oct 03, 2011 9:15 am
Posts: 3
Found an option under 'Run configuration' in Netbeans to 'Preserve Remote File permissions'

Working great now with full screen windows based editor. Thanks all!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group