Managing a website on linux

rh71

No Lifer
Aug 28, 2001
52,853
1,048
126
Just had new work assigned and while I know some Linux commands, managing anything on there is completely new to me. I'm a web app dev by trade and I now have a site written in Perl to manage on a remote RH Linux host. I can Putty into the server with sudo access and I can understand the file structure. What I am trying to figure out is how all of this was created and managed if I'm only on a command-line interface. For example, there's html or perl code and if it's short/simple, I can use the MORE command to check it. But for more complex pages, am I supposed to write/read/manage all of this on a terminal client (using something like VIM) just the same or is there an easier way? There has to be because I'm just seeing a huge wall of text and this is no way to live. If I wanted Notepad++, how do I go about it - must it be installed on the linux host? Do I use something other than Putty to accomplish all this?

Also for crontab, is command-line the only way?
 
Last edited:

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,130
3,618
65
I'm reminded of a recent thread...


Would something like that work for you?

A lower-level method would be something like Filezilla or WinSCP.

I don't know a non-command-line/vim way for crontab.

I hope you have a dev server as well as production?

I-dont-always-test-my-code-But-when-I-do-I-do-it-in-production-300x300.jpeg
 

rh71

No Lifer
Aug 28, 2001
52,853
1,048
126
I'm reminded of a recent thread...



A lower-level method would be something like Filezilla or WinSCP.

I don't know a non-command-line/vim way for crontab.

I hope you have a dev server as well as production?

I-dont-always-test-my-code-But-when-I-do-I-do-it-in-production-300x300.jpeg
That's the scary part - the guy worked directly on the prod server and just renamed files to make it a prod vs. dev version.

I am trying to WINSCP files over to my WIN system to at least get a better view, but I can't get access to files that need sudo. Something about advanced settings and inserting the sudo command in there but it's not working.
 
  • Wow
Reactions: Ken g6

purbeast0

No Lifer
Sep 13, 2001
52,648
5,550
126
Get VScode and remote into that directory and you can view the code formatted and make changes that way.

This also seems like a great exercise in cloning the code and making a git repo where you can get a dev instance up and running.

The way it is now sounds like a maintenance nightmare lol.
 
  • Like
Reactions: Ken g6