Fedora Linux Support Community & Resources Center
  #1  
Old 21st October 2006, 09:53 AM
patrihito's Avatar
patrihito Offline
Registered User
 
Join Date: Oct 2006
Posts: 2
Stand Alone Webserver

Hi all,

is there a good how to set-up a Stand Alone Webserver using Apache, php, mysql?

I think I already installed the three on my fc6-machine but I can't get it work. Here is what I did so fare - mysql:
Code:
yum -y install mysql
yum -y install mysql-server
yum -y install php-mysql
yum -y install MySQL-python
yum -y install libdbi-dbd-mysql
yum -y install mysql-devel
/etc/init.d/mysqld start
mysqladmin -u root password new_db_user_password
http:
Code:
yum -y install httpd
yum -y install mod_ssl
yum -y install httpd-manual
yum -y install mod_perl
yum -y install mod_auth_mysql
yum -y install crypto-utils
yum -y install mod_python
/etc/init.d/httpd start
And here is what I get:
Code:
httpd starten: (98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
__________________
Read a bit and enjoy! gnu.org-philosophy
Net-browser/Email-Client: http://www.mozilla-europe.org
The CMS: http://www.joomla.org
Reply With Quote
  #2  
Old 21st October 2006, 10:13 AM
SlowJet Offline
Registered User
 
Join Date: Jan 2005
Posts: 5,002
FC6 is not out yet.

So if you used a test version and installed the Desktop, http would already be installed.
If you installed the server all of those would be insatlled.

And you only need to do 1 yum like this
yum update httpd php mysql

So re-insatll and select the correct packages from coustomize or advanced on the package screen.

It only takes a few edits to get all three going (plus your specific security and mod's)


SJ
__________________
Do the Math

Last edited by SlowJet; 21st October 2006 at 10:15 AM.
Reply With Quote
  #3  
Old 24th October 2006, 08:46 PM
patrihito's Avatar
patrihito Offline
Registered User
 
Join Date: Oct 2006
Posts: 2
Lightbulb

Hi all,

here are two more links that helped me solve my issue:
http://forums.fedoraforum.org/showthread.php?p=448977
http://easylinux.info/wiki/Fedora_fc5

install these nice tools:
Code:
yum install system-config-users system-config-services
install and start apache:
Code:
yum install php httpd system-config-httpd
/etc/init.d/httpd start
install mysql:
Code:
yum install mysql-server mysql-administrator mysql mysql-gui-common
install php:
Code:
yum install php-mysql
start mysql and create your password:
Code:
/etc/init.d/mysqld start
mysqladmin -u root password your_password
After all that I configured the Firewall and SELinux like discribt here:
http://stanton-finley.net/fedora_cor...notes.html#Web - thank you Alex-Grim for the link.

Well, that's all my server is just running fine.

patrihito
__________________
Read a bit and enjoy! gnu.org-philosophy
Net-browser/Email-Client: http://www.mozilla-europe.org
The CMS: http://www.joomla.org
Reply With Quote
Reply

Tags
stand, 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
FC6 won't come out of stand by blckspder EOL (End Of Life) Versions 0 17th August 2007 04:10 PM
FC5 stand-by swich alevesper EOL (End Of Life) Versions 6 1st July 2006 12:01 AM
Non-stand resolution davidkaye Installation and Live Media 25 14th May 2004 07:54 PM


Current GMT-time: 05:14 (Friday, 24-05-2013)

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