how do you make a free web-server with linux?

Chat about Linux in general
Forum rules
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 6 months after creation.
Locked
arunarmstrong

how do you make a free web-server with linux?

Post by arunarmstrong »

how do you make a free web-server with linux?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Ark987

Re: how do you make a free web-server with linux?

Post by Ark987 »

xsog wrote:how do you make a free web-server with linux?
Experiment with https://bitnami.com/ get familiar with what a web-server is, this is an over simplified things that you need to do.
arunarmstrong

Re: how do you make a free web-server with linux?

Post by arunarmstrong »

Ark987 wrote:
xsog wrote:how do you make a free web-server with linux?
Experiment with https://bitnami.com/ get familiar with what a web-server is, this is an over simplified things that you need to do.
thanks for the help it is very useful.
User avatar
xenopeek
Level 25
Level 25
Posts: 29598
Joined: Wed Jul 06, 2011 3:58 am

Re: how do you make a free web-server with linux?

Post by xenopeek »

Code: Select all

python2 -m SimpleHTTPServer
This makes the contents of your current directory browsable on port 8000 (so go to address localhost:8000 to browse the files there). If you open the firewall on that port, other system can also access files on that address through a web browser (you need to find the IP address of your computer and use that instead of "localhost" on other computers). Perhaps not your question, but a handy tool for file sharing to any device that has a web browser :wink:
Image
DrHu

Re: how do you make a free web-server with linux?

Post by DrHu »

http://www.linuxplanet.com/linuxplanet/reviews/7239/1/
--there are various web servers available, and some lighter weight ones than Apache: regarded as the standard choice
nginx, lighthttp
User avatar
jimallyn
Level 19
Level 19
Posts: 9075
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: how do you make a free web-server with linux?

Post by jimallyn »

I installed Apache2 on my Raspberry Pi, put my html pages in /var/www, and it works. I'm probably going to add PHP and some other stuff to it, just to learn how to do it.
“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan
User avatar
MartyMint
Level 7
Level 7
Posts: 1730
Joined: Thu Dec 27, 2012 10:50 pm

Re: how do you make a free web-server with linux?

Post by MartyMint »

I would hope this is for training/testing purposes only, if it's on a residential line...
Ark987

Re: how do you make a free web-server with linux?

Post by Ark987 »

MartyMint wrote:I would hope this is for training/testing purposes only, if it's on a residential line...
True, true, :D but the OP asked how to "for free", assuming he/she won't buy servers or rent VPS/Collocation, then the host PC is the only "free" choice, unless is a rented one :lol:
arunarmstrong

Re: how do you make a free web-server with linux?

Post by arunarmstrong »

Ark987 wrote:
MartyMint wrote:I would hope this is for training/testing purposes only, if it's on a residential line...
True, true, :D but the OP asked how to "for free", assuming he/she won't buy servers or rent VPS/Collocation, then the host PC is the only "free" choice, unless is a rented one :lol:
free is what i want.
arunarmstrong

Re: how do you make a free web-server with linux?

Post by arunarmstrong »

thanks guys for all the help. :D
shengchieh

Re: how do you make a free web-server with linux?

Post by shengchieh »

You may want to use a linux distro specifically geared for web server. Surf thru

https://duckduckgo.com/?t=lm&q=web+server+linux+distro

a DDG search for web server linux distro

Sheng-Chieh
Ark987

Re: how do you make a free web-server with linux?

Post by Ark987 »

shengchieh wrote:You may want to use a linux distro specifically geared for web server. Surf thru

https://duckduckgo.com/?t=lm&q=web+server+linux+distro

a DDG search for web server linux distro

Sheng-Chieh
Tunkeylinux could be a good choice ready-to-use (this is a server only distro based on Debian), but still you can do the same from your Linux Mint as long as you manually install the required components.

http://www.turnkeylinux.org/blog/turnkey-12 It is interesting to read how this project switched from Ubuntu to Debian....
Locked

Return to “Chat about Linux”