LinuxQuestions.org
Visit Jeremy's Blog.
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 05-09-2009, 06:40 AM   #1
vinnie_vinodh
Member
 
Registered: Dec 2008
Location: India
Distribution: Fedora 10
Posts: 100

Rep: Reputation: 15
Question setup a home based LINUX web server


Hello Friends ....

Well i along with my friends want to setup a home based web server.. We really dont know where to start and thought googling would be good but it didnt help. We have DSL connection ..and AMD based desktop PC with 512 ram. As we are doing it just to try it out as a hobby or of interest very few people gonna hit us !!!!!!!!!!!!!!

So we have a few questions in our mind.

>>1.)Is the existing system configuration enough or do i have to change or upgrade?


>>2.) Can we set up web server on Ubuntu 9.04 "Desktop Edition"(which is already installed) with a few other package installations
Or do we have freshly install or convert to "Server Edition"?


>>3.) We have to register the domain but dont have the static IP....So this is another issue? We have no idea how to resolve it .PLease Help


>>4.)Security and other Do's and Dont's ...........


>>5.)Additional info ....


Thanks In Advance to all..........
 
Old 05-09-2009, 08:12 AM   #2
arodlinux
Member
 
Registered: Apr 2008
Location: today here, 2morrow there, next week anywhere
Distribution: Slackware64 14, openSuse 12.3,
Posts: 70

Rep: Reputation: 27
Yes, you can install all the necesary packages and services needed. However, I suggest get a server disk copy a do a fresh install. Why? Because you want to learn. Also start with a file server and after a few weeks move on and add the webserver. Talk to your local ISP about the ip address. How much traffic do you expect? DSL is not the fastest and your bandwidth will suffer.
Ubuntu is a good way to star do to the great community and documentation ... have fun
 
Old 05-09-2009, 10:39 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Quote:
3.) We have to register the domain but dont have the static IP....So this is another issue? We have no idea how to resolve it .PLease Help
You could use dyndns

http://www.dyndns.com/
 
Old 05-09-2009, 03:43 PM   #4
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux
Posts: 1,073

Rep: Reputation: 102Reputation: 102
You could try webmin. It's a graphical user interface (within your web browser) for setting up apache and other stuff. It's available as a debian package, which, I'm guessing, would also be installable on Ubuntu (via either dpkg -i, or using the program gdebi-gtk). If that package doesn't install, then there's instructions for setting up the source package at ubuntugeek webmin instruction page (but get the newer version, and alter the instructions accordingly). Try the debian package from the webmin site first, though.

Later note: Ubuntu is listed as a supported system; so, I'm guessing the deb package should work.

Last edited by mark_alfred; 05-09-2009 at 03:58 PM.
 
Old 05-10-2009, 05:13 AM   #5
vinnie_vinodh
Member
 
Registered: Dec 2008
Location: India
Distribution: Fedora 10
Posts: 100

Original Poster
Rep: Reputation: 15
Cool

Quote:
Originally Posted by mark_alfred View Post
You could try webmin. It's a graphical user interface (within your web browser) for setting up apache and other stuff. It's available as a debian package, which, I'm guessing, would also be installable on Ubuntu (via either dpkg -i, or using the program gdebi-gtk). If that package doesn't install, then there's instructions for setting up the source package at ubuntugeek webmin instruction page (but get the newer version, and alter the instructions accordingly). Try the debian package from the webmin site first, though.

Later note: Ubuntu is listed as a supported system; so, I'm guessing the deb package should work.
Thanks Mate well i know abt webmin a bit .........I do have packages deb as wells tgz.....but we want to giv a try out of interest so want info regarding how to setup and all .....Any URLS or websites which content info abt how to set up wud be alot of help for us...Googling givin us nothin straight ...We want to try the command line style or the native unices ,linuxes style ..so that may help us "Learn How to ??""

Anyway Thanks You ...........
 
Old 05-10-2009, 05:23 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Quote:
We want to try the command line style or the native unices ,linuxes style ..so that may help us "Learn How to ??""
Did you looked at the site from apache?

in short:
1- goto dyndns
2- install apache, it will work out of the box.
3- open port 80 on the router and the firewall.
 
Old 05-10-2009, 05:40 AM   #7
dibi58
Member
 
Registered: Sep 2007
Distribution: fedora (x86, alpha, sparc, ppc) debian (x86, x64, mips, hp-pa, ppc) suse (x64) slackware (x86, ppc)
Posts: 59

Rep: Reputation: 18
Smile

Quote:
Originally Posted by vinnie_vinodh View Post
Hello Friends ....

Well i along with my friends want to setup a home based web server.. We really dont know where to start and thought googling would be good but it didnt help. We have DSL connection ..and AMD based desktop PC with 512 ram. As we are doing it just to try it out as a hobby or of interest very few people gonna hit us !!!!!!!!!!!!!!

So we have a few questions in our mind.

>>1.)Is the existing system configuration enough or do i have to change or upgrade?


>>2.) Can we set up web server on Ubuntu 9.04 "Desktop Edition"(which is already installed) with a few other package installations
Or do we have freshly install or convert to "Server Edition"?


>>3.) We have to register the domain but dont have the static IP....So this is another issue? We have no idea how to resolve it .PLease Help


>>4.)Security and other Do's and Dont's ...........


>>5.)Additional info ....


Thanks In Advance to all..........
the easy way:
-make sure you have apache installed
-make sure you have your firewall installed and active
-make sure the daemon is started (/etc/init.d/apache restart)
-put your pages under /var/www
-see if your pages show up in your browser (http://localhost/)
-get a domain name from your provider, like godaddy ? 15 bucks/yr
-get a fixed IP, 5 bucks a month from your DSL provider
-redirect your doman to the fixed IP, from the domain panel
-setup port forwarding for port 80 to your internal IP, in your local router

and you should be there online, like everybody else
in a week or so, even google should find you
if they don't you can still register your domain with engines

Last edited by dibi58; 05-10-2009 at 05:48 AM.
 
Old 05-10-2009, 08:37 AM   #8
jiatong
LQ Newbie
 
Registered: May 2009
Posts: 8

Rep: Reputation: 2
A LAMP server (Linux Apache MySQL PHP) can easily be setup with the following command: "sudo tasksel install lamp-server" in Ubuntu
This should set you up with a basic webserver

More information can be found here: https://help.ubuntu.com/community/ApacheMySQLPHP
 
  


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
To Setup Home Web server for my web site KinnowGrower Linux - Server 6 08-06-2008 12:08 AM
How to setup home linux box as web proxy for use from work? Anubis Linux - Networking 10 03-11-2008 10:51 PM
How might I Setup Home Web Server plus File Server plus Printer Sharing brindamo Linux - Server 3 01-14-2008 01:48 AM
Looking to set-up a Linux based web-server. SwapnilR Linux - Newbie 9 08-31-2006 09:54 AM


All times are GMT -5. The time now is 04:44 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