Fedora Linux Support Community & Resources Center
  #1  
Old 27th May 2005, 10:55 PM
Josvds Offline
Registered User
 
Join Date: May 2005
Posts: 8
Question How to use the webserver

Hello,

I`m a beginner. And i would like to use the webserver and mailserver from fedora. But how can i start them?
I must go to http://localhost to see my webserver but i get every time a error message.

So how can i start the webserver? Can anyone help me?
Thanks,
Jos
Reply With Quote
  #2  
Old 27th May 2005, 10:58 PM
jtang613 Offline
Registered User
 
Join Date: Apr 2004
Location: Ottawa, Canada
Posts: 1,931
Quickstart:
Code:
su
/etc/init.d/httpd start
Your website files are in /var/www
Your website config files are at /etc/httpd

Mail server is a little more involved.

For detailed setup instructions, try the Linux home server howto: http://www.brennan.id.au/

hth,
Jason
__________________
There is no 'CTRL' button on Chuck Norris's computer. Chuck Norris is always in control.
Reply With Quote
  #3  
Old 27th May 2005, 11:02 PM
Josvds Offline
Registered User
 
Join Date: May 2005
Posts: 8
What must i set to use the httpd because when i use the /etc/init.d/httpd start i stil can not open http://localhost
Reply With Quote
  #4  
Old 27th May 2005, 11:17 PM
jtang613 Offline
Registered User
 
Join Date: Apr 2004
Location: Ottawa, Canada
Posts: 1,931
Try: http://127.0.0.1 instead.

Jason
__________________
There is no 'CTRL' button on Chuck Norris's computer. Chuck Norris is always in control.
Reply With Quote
  #5  
Old 27th May 2005, 11:27 PM
Josvds Offline
Registered User
 
Join Date: May 2005
Posts: 8
I found out my problem. But now other problem

I was a user witch did not have the rights to the www directory.
I`m now a root user an can do every thing.

Now i got a other problem. The normaly webserver i have used had phpmyadmin or MyAdmin. But how can i load this one in linux? I have olready found mysql but now i must find someting to edit my database.

Thanks,
Jos
Reply With Quote
  #6  
Old 27th May 2005, 11:55 PM
jtang613 Offline
Registered User
 
Join Date: Apr 2004
Location: Ottawa, Canada
Posts: 1,931
This is best answered by going straight to the source. It took me 30 seconds to find the quick-install instructions on the phpmyadmin homepage. I'm betting you could find it in less than 1 min.

Hint: http://www.phpmyadmin.net/documentation/#setup

hth,
Jason
__________________
There is no 'CTRL' button on Chuck Norris's computer. Chuck Norris is always in control.
Reply With Quote
  #7  
Old 28th May 2005, 02:49 AM
sfboarders Offline
Registered User
 
Join Date: May 2005
Location: NorCal California USA
Posts: 148
Quote:
Originally Posted by Josvds
I was a user witch did not have the rights to the www directory.
I`m now a root user an can do every thing.

Now i got a other problem. The normaly webserver i have used had phpmyadmin or MyAdmin. But how can i load this one in linux? I have olready found mysql but now i must find someting to edit my database.

Thanks,
Jos
Download PHPMyAdmin, install it in your website directory, edit the path in the configuration file and if you have to other fields. Open up a browser and go to that path and you should be able to be in PHPMyAdmin.
Reply With Quote
  #8  
Old 28th May 2005, 07:56 AM
Josvds Offline
Registered User
 
Join Date: May 2005
Posts: 8
I don`t understand. I have set the config file in phpmyadmin but when i`m going to the http://localhost/phpmyadmin folder i`m rejected to http://www.cbs.umn.edu/~josjr/. And when i use some other folder witch not exists i get the:

Not Found

The requested URL /test was not found on this server.
Apache/2.0.54 (Fedora) Server at josjr Port 80

message from my server :S
I don`t get it.
Jos
Reply With Quote
  #9  
Old 28th May 2005, 12:24 PM
ieuuk Offline
Registered User
 
Join Date: Oct 2004
Location: uk
Age: 27
Posts: 705
to help with the setting up of the webserver, you can use system-config-httpd if you run graphical. Also have a look at webmin http://www.webmin.com. which is a web interface for your whole system and will let you set up everything easily. also it comes in a rpm format so you just run a rpm -ivh webmin.xxxx.rpm and it will all be set up for you, then you just connect to it with http://ipaddress:10000
__________________
ieuuk :D

Registered Linux User: #373024
Reply With Quote
  #10  
Old 29th May 2005, 08:38 PM
Josvds Offline
Registered User
 
Join Date: May 2005
Posts: 8
I will download it and hope it will work thanks everyone!
Reply With Quote
  #11  
Old 29th May 2005, 09:20 PM
Josvds Offline
Registered User
 
Join Date: May 2005
Posts: 8
I don`t understand how to set apache. I get every time the Fedora Core Test Page. The startpage of apache. And when i edit: welcome.conf to :
#
# This configuration file enables the default "Welcome"
# page if there is no default index page present for
# the root URL. To disable the Welcome page, comment
# out all the lines below.
#
#<LocationMatch "^/+$">
# Options -Indexes
# ErrorDocument 403 /error/noindex.html
#</LocationMatch>

i still get the startpage. I have installed the web admin but i don`t understand how i must set this so i can use my webserver and mysql to use it like phptraid in windows.

Can anyone help me?
Reply With Quote
  #12  
Old 29th May 2005, 09:25 PM
stiperstones Offline
Registered User
 
Join Date: Oct 2004
Location: United Kingdom
Age: 54
Posts: 58
Put a index.html in html folde and the message the test page will disapear.
__________________
stiperstones
Registered Linux user #379908
Released under the Creative Commons Licence Attribution-ShareAlike
Reply With Quote
  #13  
Old 29th May 2005, 09:45 PM
Josvds Offline
Registered User
 
Join Date: May 2005
Posts: 8
yes but i want a indexering from all directory`s and files i have in var/www/html
Reply With Quote
  #14  
Old 29th May 2005, 09:46 PM
Josvds Offline
Registered User
 
Join Date: May 2005
Posts: 8
And i would like to open the phptraid folder without being rejected
Reply With Quote
  #15  
Old 30th May 2005, 12:02 PM
barf Offline
Registered User
 
Join Date: Dec 2004
Location: UK
Age: 59
Posts: 274
Quote:
Originally Posted by ieuuk
to help with the setting up of the webserver, you can use system-config-httpd if you run graphical. Also have a look at webmin http://www.webmin.com. which is a web interface for your whole system and will let you set up everything easily. also it comes in a rpm format so you just run a rpm -ivh webmin.xxxx.rpm and it will all be set up for you, then you just connect to it with http://ipaddress:10000
Thnaks for the info re Webmin I'm sure it will be very useful to a noob like me
Reply With Quote
Reply

Tags
webserver

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
F10 Webserver goes down. LaKing Servers & Networking 26 23rd February 2009 11:58 AM
DSL and webserver claybv Servers & Networking 5 19th March 2008 03:04 AM


Current GMT-time: 16:00 (Thursday, 21-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat