LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-08-2002, 09:30 AM   #1
John_Saunders
Member
 
Registered: Jun 2002
Location: Wilmington, NC
Distribution: Red Hat 7.2
Posts: 47

Rep: Reputation: 15
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
 
Old 06-08-2002, 09:47 AM   #2
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
MAN:
 
Old 06-08-2002, 09:48 AM   #3
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
oops:
you first destination is www.linuxdoc.org
go for linux administrators guide, linux networking guide ...
 
Old 06-08-2002, 01:55 PM   #4
John_Saunders
Member
 
Registered: Jun 2002
Location: Wilmington, NC
Distribution: Red Hat 7.2
Posts: 47

Original Poster
Rep: Reputation: 15
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?
 
Old 06-08-2002, 04:24 PM   #5
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
install guide for mysql php perl apache mandrakewanta Linux - Newbie 1 05-08-2005 02:33 AM
apache, php, perl, mysql equinox Slackware 12 02-16-2005 09:53 AM
/perl/php/cgi/mysql dramous Linux - Newbie 0 10-08-2004 05:11 PM
Apache, PHP, MySQL, Perl coolamit78 Linux - Software 3 04-20-2004 01:59 AM
Compiling Apache, MySQL, Perl & PHP jeucken Linux - Software 1 12-15-2003 01:56 PM


All times are GMT -5. The time now is 03:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration