• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Create your own server

Mnty9er

n00b
Joined
Aug 3, 2005
Messages
48
I'm thinking about getting an older system, installing a distro of Linux on it, and setting up my own web server. Does anyone have any recommendations on how to go about this? Is it even possible? If you have experience doing this, please post and give me some good advice!
 
Possible = Yes

Easy = Depends on your skills, but its fairly easy to get Apache, and various other good stuff like PHP and SQL going. Lots of help out there on that topic.

Recommendations = Depends on use. If it is something where you want to manage the site, but not the server itself, and need speed and uptime (gotta love SLA's) then you are better off paying for outside hosting.
But for a personal website with very few hits then it is great.
 
Mnty9er said:
I'm thinking about getting an older system, installing a distro of Linux on it, and setting up my own web server. Does anyone have any recommendations on how to go about this? Is it even possible? If you have experience doing this, please post and give me some good advice!

it can be tricky if you have little or no Linux experience. But assuming you do, Apache (or any webserver for that matter) needs to know these basic things.
- where the root folder of your web files are.
- what your default file name is (the file to serve if you don't explicitly define one, usually its called index.htm or default.htm)
- what IP address and port number to use for the web server (default is port 80)

you will edit the http.conf file is, this is Apache's configuration file, where you set the above parameters. It's basically a text file and it's very well documented, so if you find and configure the sections for the above properly, you'll have a very basic webserver up and running.

if you want to use a scripting language and/or database, then look into setting up a LAMP (Linux, Apache, MySQL, PHP).
 
Any recommendations about which Linux distro to use? I already downloaded and burned Red Hat 9. I'm not yet familiar enough with Linux to know the differences between distro's.
 
If you want to use RedHat, use Fedora. RedHat split a while back. The only thing they make under the RedHat name is RedHat Enterprise Linux. Fedora is there personal side; it is what you are looking for. Fedora Core 4 is the latest.

If you use Fedora, don't forget to run yum or up2date after it is installed to get it updated.

Any distro will work for this though. You might keep in mind if you just want a server you don't need to install anything to do with X. I would install OpenSSH with the OS, then put it in a closet somewhere and just SSH into it to install Apache/MySQL/etc.
 
Are there any good general or even step-by-step guides for setting up your own web server with a certain version of Linux and server software? If so, please post links.
 
I set up my first server using redhat 7, and thought it was really simple. Looking back I'm sure I did alot of really silly mistakes but was lucky. Good for me it was behind a hardware firewall so only http and ssh ports where open. I basicly just installed redhat with apache and mysql and left it as is...

Make sure the root user cannot log in via ssh, use good passwords. Be very carefull who you give access to. Once you have it set up, have a look at sudo. It will allow you to do tasks you normally have to be root to complete as your own user. You can specify what tasks can be done.

Try to close as much services that you don't need. Keep a list of the services that are open and keep track of critical updates now and then. Preferably have some kind of hardware firewall or router with NAT (and just the necassary ports forwarded / opened).
 
I'm also planning to build me a web server too in the not so distant future. Hopefully some of the resourses yall have suggested will send me in the right direction.
 
www.freesco.org

Id recommend that for newbies. Its a neutered linux distro thats mainly for routing the inner net, but you can load up a bunch of neat crap into it, and its fairly easy and stragiht forward to use. Floppy based, you can make and save changes, use its fast wizzard to set up your NICs, plug in a different computer, point its broswer to the freesco box's IP and you will have a web interface, ftp, web, and telnet right through mozilla, firefox, or whatever your using. It cant get much easier. Just get familiar with the commands and how things work, how to set permissions, how to install crap... y'know, get the feel of it.

If your falimiar with dos, then a linux noob should be able to get freesco up and running in 5 minutes.
 
Back
Top