help setup a PHP programmer in Linux

Titan

Golden Member
Oct 15, 1999
1,819
0
0
So I work in a Mac shop and am familiar with windows.

Today, my iMac workstation dies. So they take an identical one from a conference room and then it dies.

My sysadmin gives me this machine using ubuntu.

So I am not familiar with this animal and need some help setting up a dev environement.

I'm thinking eClipse for an IDE. I work in PHP. I am a unix guy and know vi. Just not used to a point-and-click Linux.

I am using firefox now and need to setup thunderbird.

Help!
 

Platypus

Lifer
Apr 26, 2001
31,053
321
136
So I work in a Mac shop and am familiar with windows.

Today, my iMac workstation dies. So they take an identical one from a conference room and then it dies.

My sysadmin gives me this machine using ubuntu.

So I am not familiar with this animal and need some help setting up a dev environement.

I'm thinking eClipse for an IDE. I work in PHP. I am a unix guy and know vi. Just not used to a point-and-click Linux.

I am using firefox now and need to setup thunderbird.

Help!

If you don't want to use the gui, then type man apt-get
You can find package names using google.

Else, fire up Synaptic Package Manager under System -> Administration (assuming you're using the ubuntu default gnome wm) and search for what you need.
 

Titan

Golden Member
Oct 15, 1999
1,819
0
0
Sorry, I'm a little frantic here.

I'm used to coda on the mac and would like a PHP IDE that has an SFTP file browser built in with a code-highlighting text editor. Preferably something with code completion. Maybe I could find something like Notepad++ with the right plugins?

I'm using the ubuntu software center and learning a lot. So far no luck figuring out eclipse.
 

Platypus

Lifer
Apr 26, 2001
31,053
321
136
Sorry, I'm a little frantic here.

I'm used to coda on the mac and would like a PHP IDE that has an SFTP file browser built in with a code-highlighting text editor. Preferably something with code completion. Maybe I could find something like Notepad++ with the right plugins?

I'm using the ubuntu software center and learning a lot. So far no luck figuring out eclipse.

https://help.ubuntu.com/community/EclipseIDE

That might help... grab VIM (vim is probably a wrapper for vi in ubuntu, can't remember) as it does syntax highlighting.
 

sourceninja

Diamond Member
Mar 8, 2005
8,805
65
91
Netbeans is good, bluefish is ok, gphpedit is good, I've heard good things about kdevelop4.

Personally, I've been a enjoying netbeans. My normal tools have been gedit + ssfs on linux and textmate + cyberduck on osx.
 

Titan

Golden Member
Oct 15, 1999
1,819
0
0
so netbeans looks more promising, I set it up after scratching my head at eClipse. But I just don't need the "project" setup. I'm not developing php on my machine, I'm doing so on the server. Just having an integrated file browser, text editor, and terminal would be all I need.
 

Platypus

Lifer
Apr 26, 2001
31,053
321
136
so netbeans looks more promising, I set it up after scratching my head at eClipse. But I just don't need the "project" setup. I'm not developing php on my machine, I'm doing so on the server. Just having an integrated file browser, text editor, and terminal would be all I need.

Just install PHP, vim and use whatever file browser you want then. That's how I would do it if it were me.
 

sourceninja

Diamond Member
Mar 8, 2005
8,805
65
91
so netbeans looks more promising, I set it up after scratching my head at eClipse. But I just don't need the "project" setup. I'm not developing php on my machine, I'm doing so on the server. Just having an integrated file browser, text editor, and terminal would be all I need.

Yea, that's how I use it. I point my site at the server.
 

Titan

Golden Member
Oct 15, 1999
1,819
0
0
Yea, that's how I use it. I point my site at the server.

Can you tell me how you setup a project for the remote server? I don't want it to use my local php, apache, or mysql. I just want it to browse files on the server, automatically download and upload them as I edit. I can always have a seperate terminal, I would just like file browsing and edited integrated, it saves so many steps.
 

Red Squirrel

No Lifer
May 24, 2003
67,904
12,373
126
www.anyf.ca
What I do is code everything locally, then upload to the remote server via sftp once done. Less impact to the production site this way. Setup a local web server to act as dev/test environment and use samba to share out the drive so you can work directly on it from your workstation.
 

sourceninja

Diamond Member
Mar 8, 2005
8,805
65
91
It's simple, create a new php project, store the working directory anywhere you want on your computer. Then on the run configuration page, choose Remote web site. The project url should be set to the remote website, and the remote connection should be set to the remote web server. Then set upload files to "On run"

Everything is happy.
 

Titan

Golden Member
Oct 15, 1999
1,819
0
0
Yea, that's how I use it. I point my site at the server.

It's simple, create a new php project, store the working directory anywhere you want on your computer. Then on the run configuration page, choose Remote web site. The project url should be set to the remote website, and the remote connection should be set to the remote web server. Then set upload files to "On run"

Everything is happy.

Ok I've done all that I guess my problem is finding and creating my local working copy. I don't see a remote file browsing structure, so I assume I need to download the whole site? Which I would prefer not to do. How do I use this setup to find files on the remote site?

EDIT: I guess there is a "sources" tab for a project I setup, it looks like it's all local. But now that I have made the project I can't edit the sources paths. This i a bit confusing to setup as well.
 
Last edited:

sourceninja

Diamond Member
Mar 8, 2005
8,805
65
91
Yea, you have to have a local copy, but all testing is done on the remote site if you set it up as I suggested.

Honestly, you should have a local copy anyway, you are using a SCM right?
 

Titan

Golden Member
Oct 15, 1999
1,819
0
0
Yea, you have to have a local copy, but all testing is done on the remote site if you set it up as I suggested.

Honestly, you should have a local copy anyway, you are using a SCM right?

I wish we had source control. This is an old web shop where they never got into it. I am fighting to get SVN but we are having trouble coming up with a workflow process. We are only 9 total people, 2 of us programmers so we do things fast but I am crying for source control.
 

sourceninja

Diamond Member
Mar 8, 2005
8,805
65
91
I'd recommend git, no need for a server. With just two developers you can just pull changes from each other. Total time to setup, about 30 seconds. Learning curve, about 5 minutes.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |