LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-17-2003, 01:38 PM   #1
joecuba
LQ Newbie
 
Registered: Feb 2003
Posts: 9

Rep: Reputation: 0
Trying to get a basic server set up in Redhat 8


I am trying to set up a basic intranet server in my office to run MRBS. I have installed Redhat 8 with MySQL and php. I am trying to get everything operational. I have got apache running, and am able to see my index.html page when i go to http://localhost/ . However, I am unable to see anything with my phpinfo.php page. Is there anywhere that I can find out about how to get this all working? I have a bit of experence with SSHing into my shared webserver and doing things like cron jobs ect, but it feels really hard to just get this damn thing working as a server I'm getting really frustrated, some kind soul please point me in the right direction!
 
Old 02-17-2003, 02:04 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
By defalut, apache looks for the file index.html in the /var/www/html directory. There should be a line in the apche.conf file that says that. I use webmin to configure servers like apache, samba, postfix and such. You might want to go to webmin.com and check it out.
 
Old 02-17-2003, 02:09 PM   #3
keevitaja
Member
 
Registered: Aug 2002
Location: Estonia
Distribution: XP PRO
Posts: 119

Rep: Reputation: 15
do you have the right rpm-s installed. do

rpm -qa | grep php

php works fine with default for me... though i hade to open httpd service. i have

asp2php-gtk-0.76.2-3
php-dbg-client-2.10-6
php-manual-4.2.2-8.0.7
php-devel-4.2.2-8.0.7
php-dbg-base-2.10-4
php-imap-4.2.2-8.0.7
php-odbc-4.2.2-8.0.7
php-ldap-4.2.2-8.0.7
asp2php-0.76.2-3
php-pgsql-4.2.2-8.0.7
php-4.2.2-8.0.7
php-snmp-4.2.2-8.0.7
php-dbg-server-2.10pl3-6
php-mysql-4.2.2-8.0.7

Last edited by keevitaja; 02-17-2003 at 02:10 PM.
 
Old 02-17-2003, 02:31 PM   #4
Any
Member
 
Registered: Feb 2003
Location: Uk
Distribution: It varies
Posts: 54

Rep: Reputation: 15
Have you set you set httpd.conf to tell Apache what to do with .php files?
 
Old 02-17-2003, 02:34 PM   #5
joecuba
LQ Newbie
 
Registered: Feb 2003
Posts: 9

Original Poster
Rep: Reputation: 0
When I do that command, I get:

php-imap-4.2.2-8.0.7
php-pgsql-4.2.2-8.0.7
php-4.2.2-8.0.7
php-ldap-4.2.2-8.0.7

Is that enough to get it going? Man, I am getting SO confused and frustrated. I have tried getting my network card working to get on the net to download WEBMIN.. no luck, I have tried downloading the rpm on this windows box then spliting it with WINrar and floppying it accross, cant get the damn floppy to work on the linux box (I can format it, I just cant read it)! It should just be in /mnt/floppy right?

*sigh* thank for your quick replies, I am so fed up here trying to get this stuff to work... sorry, I am a Windows man, I want to get into linux, but I don't really 'get' it :-( it feels like swiming in treacle! I thought Redhat was supposed to be easy!
 
Old 02-17-2003, 02:36 PM   #6
joecuba
LQ Newbie
 
Registered: Feb 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Any - no, I havent, and I'm scared to try, coz the last time I edited one of those files, it screwed up the system and I had to reinstall :-/ I should be able to edit them with gedit, right?
 
Old 02-17-2003, 02:49 PM   #7
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Don't give up. Go to a Barnes and Nobles or some other book store and pick up a book on Read Hat 8. Trust me once you get into Linux you'll love (and sometime hate) it.
 
Old 02-17-2003, 02:56 PM   #8
joecuba
LQ Newbie
 
Registered: Feb 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Cheers tangle - yeh, maybe that would be an idea, but I was wanting to get this running real soon for my office here... I suppose I'm frustrated because the damn thing doesn't just work 'out the box'... why is it made so hard?
 
Old 02-17-2003, 03:51 PM   #9
joecuba
LQ Newbie
 
Registered: Feb 2003
Posts: 9

Original Poster
Rep: Reputation: 0
woohoo!

I got the floppy to work... weird I have to mount mnt/floppy everytime I put a new floppy in... THEN I installed WINrar on my linux box, AND THEN I instaled the rpm of webmin!! AND it is all working!

All I need to do now is get the damn php fired up, and figure out MySQL, then install MRBS and get that going, figure out how to run backups of the database, teach everyone else how to use it all, then I can retire :-D
 
Old 02-17-2003, 04:00 PM   #10
Any
Member
 
Registered: Feb 2003
Location: Uk
Distribution: It varies
Posts: 54

Rep: Reputation: 15
Quote:
Originally posted by joecuba
Any - no, I havent, and I'm scared to try, coz the last time I edited one of those files, it screwed up the system and I had to reinstall :-/ I should be able to edit them with gedit, right?
Gedit will be fine. its nothing hard, just one line

The php install file tells you everything you need to know. Have you had a look at the install documentation on the php site?

Im sure there is somewhere to get an easy to install php/apache/sql package but i cant find it now, sorry. Maybe someone else will know about it.
 
  


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
set up RedHat server with Cpanel! help! gardar Linux - Newbie 2 04-30-2005 10:33 AM
Basic set up of snort and tripwire Tyir Linux - Security 1 02-16-2004 03:47 PM
Step-by-step to set up a RedHat Linux box for use as a Windows Server? Hercules Linux - Software 2 11-16-2003 11:16 PM
Redhat Linux Advance Server 2.1 set up to run Oracle ashley75 Linux - General 1 08-25-2003 01:30 PM
Need basic help to set up Mail Server RH8 melmore Linux - Networking 3 12-16-2002 06:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:12 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration