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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-17-2003, 01:38 PM
|
#1
|
LQ Newbie
Registered: Feb 2003
Posts: 9
Rep:
|
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!
|
|
|
02-17-2003, 02:04 PM
|
#2
|
Senior Member
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761
Rep:
|
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.
|
|
|
02-17-2003, 02:09 PM
|
#3
|
Member
Registered: Aug 2002
Location: Estonia
Distribution: XP PRO
Posts: 119
Rep:
|
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.
|
|
|
02-17-2003, 02:31 PM
|
#4
|
Member
Registered: Feb 2003
Location: Uk
Distribution: It varies
Posts: 54
Rep:
|
Have you set you set httpd.conf to tell Apache what to do with .php files?
|
|
|
02-17-2003, 02:34 PM
|
#5
|
LQ Newbie
Registered: Feb 2003
Posts: 9
Original Poster
Rep:
|
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!
|
|
|
02-17-2003, 02:36 PM
|
#6
|
LQ Newbie
Registered: Feb 2003
Posts: 9
Original Poster
Rep:
|
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?
|
|
|
02-17-2003, 02:49 PM
|
#7
|
Senior Member
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761
Rep:
|
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.
|
|
|
02-17-2003, 02:56 PM
|
#8
|
LQ Newbie
Registered: Feb 2003
Posts: 9
Original Poster
Rep:
|
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?
|
|
|
02-17-2003, 03:51 PM
|
#9
|
LQ Newbie
Registered: Feb 2003
Posts: 9
Original Poster
Rep:
|
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
|
|
|
02-17-2003, 04:00 PM
|
#10
|
Member
Registered: Feb 2003
Location: Uk
Distribution: It varies
Posts: 54
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 10:12 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|