LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Where Do I Upload PHP, Perl, MySQL, etc..? (https://www.linuxquestions.org/questions/linux-software-2/where-do-i-upload-php-perl-mysql-etc-22918/)

John_Saunders 06-08-2002 09:30 AM

Where Do I Upload PHP, Perl, MySQL, etc..?
 
I just got my own dedicated server running Red Hat 7.2 and I'm wanting to learn how to administer it. I've found all these tutorials on how to compile web software but NONE of them say how to actually get the tar files to the usr/local directory.

Can somebody tell me how I'm supposed to upload packages such as PHP, Perl, MySQL, and any other software I'd like to install?

I know it's supposed to be untarred in the /usr/local directory but how do I get it there? Do I need to FTP to /home/user, upload the files, then somehow move them from /home/user to /usr/local? If so, how can I move them?

Say I compile Perl under /user/local/perl will the shebang line for Perl scripts be #!/usr/bin/perl?


Best Regards,

John

Noerr 06-08-2002 09:47 AM

MAN:

Noerr 06-08-2002 09:48 AM

oops:
you first destination is www.linuxdoc.org
go for linux administrators guide, linux networking guide ...

John_Saunders 06-08-2002 01:55 PM

OK...So I guess I just upload the tar files to any directory the login via SSH under root and run the ./config and tell it which directory to compile the files to?

Noerr 06-08-2002 04:24 PM

no login,untar, read INSTALL, or README, ./configure --your-options
make, make install.
but if you want to install apache with php, ssl, mysql, you have a little more than just 3x configure, You have to patch source with apache-ssl, php, cofigure with options which will tell where your apache is ...,

you need to read install notes on the first place

I suggest you using rpm that come with rh already and all compiled,
you'll have plenty of work configuring all 3 packages


All times are GMT -5. The time now is 08:39 PM.