Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to make a basic server at home?

Posted on 2007-11-24
6
773 Views
Last Modified: 2008-02-01
I lease server space for the website I create from a major company, but I would like to have a basic Linux and possibly a basic Windows box at home that I can use for testing databases, an in-house FTP servers and a server that I can install scripts which need root access to install.

I have a couple of desktop computers that I can sacrifice for the project.  I have a 5meg cable connection at the house, but at this point it is a dynamic IP.

What do I need to do to use that connection as a server (it is cableone if that matters), and keep my existing in-house network secure (wired and wireless)?  What OS versions should I use, and how do I configure my network to configure the IP's appropriately?
0
Comment
Question by:lsolheim
6 Comments
 
LVL 19

Expert Comment

by:LordOfPorts
ID: 20344280
One option might be to start by setting up the most popular and free web server Apache http://httpd.apache.org/ 
It works on Windows and Linux and their website provides tutorials and guides on how to configure the web server. As you progress you might add PHP http://www.php.net/ for scripting and setup the MySQL database http://www.mysql.com/ 
0
 
LVL 2

Expert Comment

by:terrydavis
ID: 20344431
First off, I would recommend giving vmware server (free) a good look for your qa/test environment.  That said, a lot of ISPs block inbound 80 and 25 traffic.  This shouldn't matter much for testing, just use something above 1024, like 8080.  Just a gotcha for you.

Now, for your questions:
1) What do I need to do to use that connection as a server and keep my existing in-house network secure?
1a) This really depends on your router's capabilities, post back here with the network equipment involved.  To truly secure them, they need to be logically separated (subnets).   Perhaps you should define what you mean by secure.  That means different things to different people.   :)

2) What OS versions should I use?
2a) You should use the same OS version (or very similar) to that of the production environment.

3) How do I configure my network to configure the IP's appropriately?
3a) This depends on my comment in #1.  Please post your network infrastructure equipment involved.
0
 
LVL 18

Accepted Solution

by:
Johnjces earned 500 total points
ID: 20350620
If I was you starting off with wanting a basic server at home, I would download the ClarkConnect community edition and install it on an old PC with at least one network interface card. If you have two NICs in your CC box you would have a complete firewalla nd router.

You can download the CC at:

http://www.clarkconnect.com/downloads/

The forums are great! Lots of help and the site has a lot of documentation.

http://www.clarkconnect.org/forums/ubbthreads.php?Cat=

CC runs Apache, PHP and MySQL so most anything you need is there. It is easy to administer via a beb interface.

You MUST make sure that your router port forwards port 80, (if your ISP does not block it) to the IP of your web server. DNS2Go will take care of using a different port if your ISP blocks port 80. You set up the server to run on, say, port 8080 and DNS2Go will redirect any www traffic to that port. Some routers will forward port 80 to port 8080 or any other port you decide,

You will want a domain name. You can get one for free from one of the dynamic DNS providers like DNS2Go.com or DynDNS.com. These guys follow your changing IP address with a client utility running on a windows PC somewhere in your network or in ClarkConnect. Not that easy to install under Linux, however "I Think" that ClarkConnect provides you with such a service for free but not certain.

Anyway, a cool place to start and a great way to start learning a bit about Linux!

John
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

Author Comment

by:lsolheim
ID: 20403657
To answer the question about my equipment.  I have a 8meg cable connection through CableOne and I use a D-Link DI-524 wireless router (w/4 ethernet ports).  I have basic WEP encryption enabled.  From what I understand CableOne does not offer static IP's unless I go to an enterprise system for $200/mo and I don't want to do that.  I could get a dedicated box elseware for less than that.

Also, to clarify... I would like to use this home server for serving a few pages and databases.  Mostly, I think I would like to use it as a FTP server.  I am not sure if that changes everyone's opinions or not.

I appreciate the help so far.
0
 
LVL 18

Expert Comment

by:Johnjces
ID: 20403768
It does not change my opinion.

For your IP and DNS issue, go with DynDNS or DNS2Go. I use DNS2Go as I have named domains. They do have free domain names such as www.MySite.dns2go.com or MySit.d2g.com etc.

http://www.dns2go.com
http://www.dyndns.com

These services follow your IP as it changes with a small client application running on your PC or server.

CableOne does do port blocking for residential users. Port 80 and 25 that I know of. I don't think they are blocking port 21 the FTP port. Most cable ISPs do this and limit bandwidth.

What is cool about DNS2Go is that you could have web site or FTP site using any port that is not blocked and DNS2Go will take care of the the port to send to. You will have to do port forwarding in your router to your FTP or web server.

Hope this gives you some help.

John
0
 
LVL 18

Expert Comment

by:Johnjces
ID: 20501467
Did any of this help you?

John
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question