PDA

View Full Version : Help me with Httpd!?


errigour
15th February 2009, 09:16 PM
I just installed fedora 10 and I was wondering if anyone could tell me how to make a website with my relik.ath.cx dyndns hostname. I want my computer to kind of be gx240.ij.net
but I want one web page on my server to be relik.ath.cx. Im using the Fedora 10 Dvd that came with linux for dummies 8th addition. I used install everything so anything with that dvd should be installed on my computer. Also could anyone tell me how to get the most out of httpd? Like how to run two or more webpages with my two dns names gx240.ij.net and relik.ath.cx?

Firewing1
15th February 2009, 09:28 PM
This will install httpd, along with PHP and MySQL so you can run a content management system (CMS for short) like Drupal or Joomla:
yum install mod_ssl php mysql-server httpd php-mysql
From there, you'll need to open ports in your router and forward them to your server. 80 is the standard "http://*" web port, and 443 for HTTP+SSL or "https://". It would help to assign your computer a static IP since with dynamic IP, you'll have to reconfigure the port mappings every time you reboot!

For any more information, please search the forums - this has been covered many times before.

errigour
16th February 2009, 05:42 PM

Hey after I use yum what files do I have to edit if I want two http servers one relik.ath.cx and
gx240.ij.net?

one more thing I did what you said and im looking at the output, theres errors.








[root@gx240 root] yum install mos_ssl php mysql-server httpd php-mysql
Gathering header information file(s) from server(s)
Server: Fedora core 1 - i386 - Base
retrygrab() failed for:
http://fedora.redhat.com/releases/fedora-core-1/headers/header.info
Executing failover method
failover: out of servers to try
Error getting file http://fedora.redhat.com/releases/fedora-core-1/headers/header.info
Errno 71 HTTP Error (CannotSendRequest):
[root@gx249 root]#

icydog
16th February 2009, 08:46 PM
Um, can you do a "cat /etc/fedora-release"? Yum thinks you're on FC1, not F10. FC1 was over 5 years ago.

Firewing1
16th February 2009, 11:30 PM
Yup, by the looks of it you're running Fedora Core 1. I highly you recommend as soon as possible, not only because Fedora Core 1 is a really old release but because it's no longer supported, or in other words reached it's end of life (EOL). Fedora Core 1 hasn't received any updates in years, so running that software as a server is a huge security risk! :eek:

JohnVV
17th February 2009, 02:05 AM
for Fedora 1 there IS NO SOFTWARE for that dead version
i don't even think apache 2.2 will run ,even if you do a source build
install fedora 10 , or at least 9
I suggest you READ the apache,mysql,php docs
Apache
http://httpd.apache.org/docs/2.2/
MySql
http://dev.mysql.com/doc/
Php
http://www.php.net/docs.php
-- also you might want PhpMyAdmin , a very nice front end to MySql
http://www.phpmyadmin.net/home_page/index.php
-- and AwStats - Logfile analyzer
http://awstats.sourceforge.net/
-- CMS , I like GeekLog , but almost any will do
http://www.geeklog.net/