Sign in with
Sign up | Sign in
Your question

How do i set up a website for free on a linnux

Last response: in Linux/Free BSD
Share
Anonymous
December 5, 2010 10:05:47 PM

i use linux , software on my computer , and i want to set up a site but all the instructions i find are all for windows, can anyone help,

oh and i dont know if it matters but i want my site to be something people can register to and add stuff to ... *sigh* its a fanfic site can any one help
December 5, 2010 11:41:46 PM

You just need to install Apache, and most likely PHP5 and MySQL.

http://www.google.com/cse?cx=partner-pub-93006393261720...

There's a bunch of results there, at least one of them should help.

You'll need to forward Port 80 on your server to make it accessible from the web. You may need to call up your ISP to make sure they allow you to do this.
m
0
l
December 6, 2010 1:01:53 AM

If you want this sort of thing then you probably want to install a content management system once you've set up your basic hosting. It will make your life easier. Don't forget to register a domain name too, unless you want people to access your site by its IP address ;) 
m
0
l
Related resources
December 8, 2010 6:18:01 AM

Quote:
i use linux , software on my computer , and i want to set up a site but all the instructions i find are all for windows, can anyone help,

oh and i dont know if it matters but i want my site to be something people can register to and add stuff to ... *sigh* its a fanfic site can any one help



You want to install what's commonly called a "LAMP" server (or LAMP stack) It's surprisingly easy to set up all the basics.

The hard part is "hardening" the server. If you just install the LAMP you can expect your server to be attacked (and conquered, if you will) regularly.

If you just want to open a fanfic website it's probably easier to just grab some hosting space somewhere. :) 
m
0
l
December 8, 2010 12:49:17 PM

wombat_tg said:
You want to install what's commonly called a "LAMP" server (or LAMP stack) It's surprisingly easy to set up all the basics.

The hard part is "hardening" the server. If you just install the LAMP you can expect your server to be attacked (and conquered, if you will) regularly.

If you just want to open a fanfic website it's probably easier to just grab some hosting space somewhere. :) 


Lamp is great, and pretty much just a single package for what I recommended (stands for Linux Apache MySQL PHP, or something along those lines :D ).

I agree that it'd probably be your best bet to get hosting space somewhere. Even moderate traffic will probably seriously affect your connection speed, and there's the issue of security on top of that, as mentioned.
m
0
l
December 8, 2010 3:17:06 PM

If you want to start learning about web servers et all, there are 2 other options (putting your site on an outside host is probably a good idea, but nothing stopping you from learning this side of things either!)

- a VPS (virtual private server) I have 2, and they're pretty good sandboxes. My hosting company bothers with security, but I still have a great deal of control. They're a good midrange option for someone who needs more then the usual shared hosting and doesn't need (or want) full dedicated. Not free.

- run a VirtualBox guest. This will let you run an OS inside an OS, and you can interact with the "guest" server like any normal server, depending on how you configure it. Free.

If you really want to have a server-server, go for it! Just be aware that getting one to run is easy. Making it safe is not. :)  Just make sure that your own personal data is secured elsewhere. You can use old crummy computers to be basic servers. I have an old Dell desktop that retired to life as a DNS server on our private intranet. It was a hunk of junk for desktop use, but for sitting there playing "traffic cop"? It's a champ.
m
0
l
December 10, 2010 5:38:05 PM

Fully agree with the VPS suggestion, it's a great way to go. Don't use them myself but have a friend that runs a few hundred of them for his business with various providers and loves them.

As for building your own server to learn on - Why do all the hard work when you can download a pre built LAMP VM image from a number of sources. Just boot it up an go. You can tweak to your hearts content and have the rewards instantly.
m
0
l
!