HOW TO: Start your own home server [both Windows & Linux]

demo123

Member
Jun 24, 2007
131
0
0
Server%201.jpg


WINDOWS HOW TO (For 98, 2000, XP)

Install time: 20-30 mins

Step 1

You will need mysql, php , ftp , and all the good stuff between. to get it all at once then you need to go here and download the latest package.

http://www.apachefriends.org/en/xampp-windows.html

What does it come with?

Apache HTTPD 2.0.53, MySQL 4.1.11, PHP 5.0.4 + 4.3.11 + PEAR + Switch, MiniPerl 5.8.3, Openssl 0.9.7f, PHPMyAdmin 2.6.1 pl3, XAMPP Control Panel 1.0, eAccelerator 0.9.2a, Webalizer 2.01-10, Mercury Mail Transport System für Win32 und NetWare Systems v4.01a, FileZilla FTP Server 0.9.6a, SQLite 2.8.15, ADODB 4.60, Zend Optimizer 2.5.7, XAMPP Security.

Step 2:

Follow the easy steps to install

Step 3: DNS

I like to use easyDNS to point my domain to Server IP, you can do so by going to www.easydns.com. Create your account which is free and easy to use, Please follow the online information

getting a hostname www.easydns.com or www.no-ip.com/index.php

All done

LINUX HOW TO:

Install time: 15-20 mins

Step 1

Go to http://www.apachefriends.org/en/xampp-linux.html and download the lastest
from there go to your terminal, and run the following comands:

Step 2: Installation

After downloading simply type in the following commands:

1. Go to a Linux shell and login as the system administrator root:

2. Extract the downloaded archive file to /opt:

tar xvfz xampp-linux-1.4.13.tar.gz -C /opt

Warning: Please use only this command to install XAMPP. DON'T use any Microsoft Windows tools to extract the archive, it won't work.

Warning 2: already installed XAMPP versions get overwritten by this command.

That's all. XAMPP is now installed below the /opt/lampp directory.

Step 3: Start

To start XAMPP simply call this command:

/opt/lampp/lampp start

You should now see something like this on your screen:

Starting XAMPP 1.4.13...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.

Ready. Apache and MySQL are running.


I like to use easyDNS to point my domain to Server IP, you can do so by going to www.easydns.com. Create your account which is free and easy to use, Please follow the online information

getting a hostname www.easydns.com or www.no-ip.com/index.php

All done

*********************************************************************************

NOTE

**********************************************************************************


Running a web server from your home is not necessarily difficult or expensive. In order to run a home web server you need a fairly high-speed connection, a Domain name, a computer, an operating system, and an HTTP server. Of course anything you wish to add beyond that is up to you.

The first item, a high-speed connection, is probably going to be your highest cost. DSL will get you the most bandwidth for your buck though, and it is available in almost all North American markets now. You will have to ensure that your Internet Service Provider (ISP) knows that you intend to run a web server from your home so that your can get a dedicated IP, or at least have them set up their DNS to point your Domain Name to your computer. Generally speaking a dedicated IP is an additional price, but when dealing with accounts that are designed for servers it may not be.

Domain names are easy to acquire and not overly expensive, Go Daddy Software has what I believe is the cheapest domain name registration fees on the Internet. Fees on Go Daddy range from $7 - $10/year. But having a domain name is technically optional since there are many ways around having to pay that yearly fee. You could use only your IP address, but you would have to ensure that your ISP gives you a dedicated IP address so you can always have the same address. The other option is to use a sub-domain, your ISP could provide you with a sub-domain i.e. www.yourname.ispname.com, or if you know someone who owns a domain name and is willing to set up DNS for a sub-domain for you your could lower your costs considerably.

Contrary to popular opinion it does not take a lot of power to run a web server. Your primary concern is the minimum requirements of the platform you choose. You can use an old 486 and still get good performance on a Linux machine running an Apache HTTP Server. Most Linux distributions (commonly referred to as "flavors") recommend at least a Pentium processor with 64 Meg RAM.

Of course you can run a web server on pretty much any platform from Windows 95 and up. The question is do you really want to run a web server on Windows 95. Your best bet is a Unix or Linux platform. You get much better stability for a much lower cost. Linux is Open source, so your could easily enough find a free version. There are several flavors of both Linux and Unix that come pre-bundled with all the software you will need to run a web server out of your home.

There are a variety of web server packages available that range in price from "Oh my god you must be kidding" to free. Apache is one of the best-known web servers on the market, and guess what, it is one of the free ones. According to the October 2003 Netcraft Web Server survey, more than 64% of web sites on the Internet are hosted on Apache servers. Apache is highly recommended it is fairly simple to set up, and highly configurable. The only negative thing that can be said about Apache is it is not the easiest software to tweak. Apache is most commonly run on UNIX or Linux servers, while there are Win32 ports Apache was designed for UNIX so it works best on UNIX based servers, since Linux is at its core a UNIX based platform.

So if you went with a free version of Linux your only costs would be your ISP fees, and your hardware. With this simple and cheap set up you can run a pretty sophisticated web service system host as many domain names as you wish, which in the end means that you could offset some of your ISP fees by hosting some other sites and charging a fee. Of course if you would want to be aware that any site you host takes away from your bandwidth and system resources so you would not want to spread yourself too thin.

***********************************************************************
So think about it afro All the best ***************************************
 

demo123

Member
Jun 24, 2007
131
0
0
good Discussion

****************************************************

If some1 Reading this post carefully ( network Knowlage people )
HOW TO: Start your own home server [both Windows & Linux]



he or she must have a
Problem with xammpp


go to In that post link


http://www.apachefriends.org/en/xampp-windows.html#1221

go to The XAMPP Security console



As mentioned before, XAMPP is not meant for production use but only for developers in a development environment. XAMPP is configured is to be as open as possible and to allow the web developer anything he/she wants. For development environments this is great but in a production environment it could be fatal.

Here a list of missing security in XAMPP:

* The MySQL administrator (root) has no password.
* The MySQL daemon is accessible via network.
* PhpMyAdmin is accessible via network.
* Examples are accessible via network.
* The user of Mercury and FileZilla are known.

According to this - I can tell


Xampp is very good for testing out scripts but i don't think its save to use as a public server.

Why I am saying this

Check out http://www.debianhelp.co.uk/webserver.htm

and also

*****************************************************************************************************

NOTE: it is relatively easy to lock up, change root password, firewall your box, which is how most machines that are installed to access the internet come configured nowadays

ALSO: as a precaution after everything is setup on ANY network or internet accessible machine, you should run a port scanner against it. there are sites & software dedicated to informing you whats what, what they are used for, and how to close them

EXAMPLE: if you dont use port 21 all the time (or dont want it used) set the FTP Server (service or deamon)) to run manually, from a link or something like that, or cron it at certain times.

Anyone setting up a webserver the uses IIS (Windows) needs to know as much as possible about vunerabilities, security, and how to "lock down" or "black hole" the box.

*******************************************************************************************************

************************
mkranga


"knowledge is power" That is why I share this here

It means You guyz didn't read this post carefully


x-pert
machan in your link
http://www.anitafred.com/Home%20Net.htm

picture is there
but they ARE not saying How to lnstall it


Code:
 Kohomath meya anunge eewa thamunge wage post karana dial ekak... Parissamin machang...
This picture orginal link is

http://www.anitafred.com/Home%20Net.htm#Home%20Server

I got it from googel search picture home server

So picture eka dakka kiyala oya mala panna gatta


I don't know your are network man or not

Machan I post this because there is lot to learn in this post

lot of guyz said thank you

so I don't know about you machan

Danuma Lagata not coming hoyagenna have go remember that always

any way machan thanks for your cool reply

:yes:

 
Last edited:

x-pert

Member
Jun 13, 2006
20,952
77
0
demo123 said:
****************************************************

If some1 Reading this post carefully ( network Knowlage people )
HOW TO: Start your own home server [both Windows & Linux]



he or she must have a
Problem with xammpp


go to In that post link


http://www.apachefriends.org/en/xampp-windows.html#1221

go to The XAMPP Security console



As mentioned before, XAMPP is not meant for production use but only for developers in a development environment. XAMPP is configured is to be as open as possible and to allow the web developer anything he/she wants. For development environments this is great but in a production environment it could be fatal.

Here a list of missing security in XAMPP:

* The MySQL administrator (root) has no password.
* The MySQL daemon is accessible via network.
* PhpMyAdmin is accessible via network.
* Examples are accessible via network.
* The user of Mercury and FileZilla are known.

According to this - I can tell


Xampp is very good for testing out scripts but i don't think its save to use as a public server.

Why I am saying this

Check out http://www.debianhelp.co.uk/webserver.htm

and also

*****************************************************************************************************

NOTE: it is relatively easy to lock up, change root password, firewall your box, which is how most machines that are installed to access the internet come configured nowadays

ALSO: as a precaution after everything is setup on ANY network or internet accessible machine, you should run a port scanner against it. there are sites & software dedicated to informing you whats what, what they are used for, and how to close them

EXAMPLE: if you dont use port 21 all the time (or dont want it used) set the FTP Server (service or deamon)) to run manually, from a link or something like that, or cron it at certain times.

Anyone setting up a webserver the uses IIS (Windows) needs to know as much as possible about vunerabilities, security, and how to "lock down" or "black hole" the box.

*******************************************************************************************************

************************
mkranga


"knowledge is power" That is why I share this here

It means You guyz didn't read this post carefully


x-pert
machan in your link
http://www.anitafred.com/Home%20Net.htm

picture is there
but they ARE not saying How to lnstall it


Code:
 Kohomath meya anunge eewa thamunge wage post karana dial ekak... Parissamin machang...
This picture orginal link is

http://www.anitafred.com/Home%20Net.htm#Home%20Server

I got it from googel search picture home server

So picture eka dakka kiyala oya mala panna gatta


I don't know your are network man or not

Machan I post this because there is lot to learn in this post

lot of guyz said thank you

so I don't know about you machan

Danuma Lagata not coming hoyagenna have go remember that always

any way machan thanks for your cool reply

:yes:


Dude I am not teelling about only this post.. Strange that you dint comment on your other posts like this dude...

Check all your threads. I have given my remark...
 

demo123

Member
Jun 24, 2007
131
0
0
Machan I am not try to be elakiri.com eka tula aiya wanna

here I did is sharing

In every forums - all the guyz doing that most of the people

But some post in this elakiri.com forum my own once

so it's a mix
 

mkranga

Member
Jul 6, 2007
508
14
0
http://www.systemr.tk
I didn’t sed you r a total black guy. I just wana tell you we all do mistakes sometimes.
(like exe)

"Knowledge is power" That is why I share this here.

My Salute.

We all have own professionalism. You did grate.

Keep going, we r watching.

u r not alone. So don't go sad or came for war.
 

cbr.696

Member
Jul 15, 2007
82
0
0
Raddolugama
Do not go for things like XAMMP. Its good for people who have no idea about computers. All mysql, php and apache latest versions are automatically configured when you install them even on windows. No additional configuration is needed in windows. For linux evething you need is given on the linux CDs. Just install them and they are able to configure them selves without any problems. XAMMP some times becomes a mess.
 
May 5, 2007
3,234
6
0
Space
Macho This is awesome , Thanx a lot, keep it up macho

for me it will take sum time to understand sum terms
(I'm not a network pora ne:D , bt I like to be:yes: ) ,

Bohoma ping :D
:) :)
 

funnyguy

Member
Jun 11, 2007
126
1
0
Also remember that Xampp is a open source software. It can have exploits at any given time of the day. Also if you are planning to run a full rate server (24X7 operation) note that you will also need a firewall (A GOOD one) like ZoneAlarm Pro, after all! you don't want your PC hacked and data stolen don't you?

I my self have been running a server at home for years. Never trust Windows Firewall! its just as bad as Microsoft Windows itself. And NEVER I MEAN NEVER allow people have there website on your server. Windows Gives no protection at all. A simple PHP script can whipe everything except the active executables and windows files.