LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-30-2004, 05:56 PM   #1
Slayer097
Member
 
Registered: Dec 2004
Distribution: Slack 10
Posts: 59

Rep: Reputation: 15
Web development on FC3


On my winxp machine i do a lot of web development using apache, php, mysql, etc. I want to do the same thing on my new Fedora core 3. I saw the option to install a server with php, mysql, etc. on the installation menu, but i was wondering whether that will suit my purposes or whether i sohuld instlal apache and everything else separetly. Also, can i change the root folder and localhost name and such the same way that i did in windows? If not, what do I have to do differently? Thanks for the input.
 
Old 12-30-2004, 06:30 PM   #2
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
its easiest to install it on install, cause then everything will work together, so i highly recommend this

and setting up the linux machine should be the same type of settings as the windows one
--adam
 
Old 12-30-2004, 06:35 PM   #3
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
changing the root folder im a little confused about, what do u mean by this: but hostname can be
changed np

if you mean changing the webserver root, yea, just change it in the conf file, which looks almost the same as the windows apache version
 
Old 12-30-2004, 06:37 PM   #4
Boby
Member
 
Registered: Feb 2004
Location: Sighisoara/Cluj-Napoca (Romania)
Distribution: CentOS 4, Fedora Core 6
Posts: 781

Rep: Reputation: 31
Hello!

1. Webdevelopment
-You can install Apache, MySQL and PHP with the distribution or later from "Add/Remove Application".
-You can download and install from RPMs [you find the RPMs on the Fedora cd's too].
-An easier way is to download and install a package that contains everything XAMPP [Apache, MySQL, PHP and Perl].
-Also you can compile and install your Apache webserver with PHP support and the MySQL server.
http://httpd.apache.org/download.cgi
http://www.php.net/get/php-5.0.3.tar.bz2/from/a/mirror
http://dev.mysql.com/get/Downloads/M...r.gz/from/pick
After unpacking the arhives, you'll find there the needed documentation too. On Linuxquestions you'll find many threads about this.

2. Change hostname
You have to change in /etc/sysconfig/networl the name after "HOSTNAME=". Then you write in /etc/hosts once the complete name and once without the domainsuffix [the part before the first dot].

Code:
[boby@space boby]$ hostname
space
Code:
[boby@space boby]$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=space
Code:
[boby@space boby]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain   localhost
213.164.252.212          space.localdomain      space
Good luck!
Boby
 
Old 12-30-2004, 06:43 PM   #5
Slayer097
Member
 
Registered: Dec 2004
Distribution: Slack 10
Posts: 59

Original Poster
Rep: Reputation: 15
Yeah, sorry adam i meant my webroot. Thanks to bobby for instructions on how to do so. 'm all set thanks again for your help.
 
  


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
Need an interface for web development aroop Linux - Software 1 08-11-2005 06:46 AM
Web development nin881 Linux - Newbie 1 04-28-2005 03:46 AM
Web development on Linux TheOriginalH Linux - Software 8 07-02-2003 05:27 AM
Web Development Risc91 Programming 8 02-05-2002 08:41 AM
Web development tool DiBosco Programming 5 12-15-2001 12:00 PM


All times are GMT -5. The time now is 06:50 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration