R-pod Owners Forum Homepage

This site is free to use.
Donations benefit a non-profit Girls Softball organization

Forum Home Forum Home > R-pod Discussion Forums > Miscellaneous / Off-topic
  New Posts New Posts RSS Feed: Home server test
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Topic ClosedHome server test

 Post Reply Post Reply
Author
Message
StephenH View Drop Down
podders Helping podders - pHp
podders Helping podders - pHp
Avatar

Joined: 29 Nov 2015
Location: Wake Forest, NC
Online Status: Offline
Posts: 6326
Direct Link To This Post Topic: Home server test
    Posted: 13 Sep 2017 at 9:48am
I am trying to see if I can configure my home computer to host my picture files and have them available for posting. If it works, I will be happy and explain how it works.

Test picture of me in front of one of the waterfalls we saw while touring the Tracy Arm Fjord near Juneau, Alaska.
http://hafflys.linkpc.net:8008/Alaska2017/Tracy_Arm_Stephen_waterfall.jpg

Hopefully, it will work.
StephenH
Happy is the man that findeth wisdom,...

ouR escaPOD mods
Former RPod 179
Current Cherokee Grey Wolf 24 JS
Back to Top
StephenH View Drop Down
podders Helping podders - pHp
podders Helping podders - pHp
Avatar

Joined: 29 Nov 2015
Location: Wake Forest, NC
Online Status: Offline
Posts: 6326
Direct Link To This Post Posted: 13 Sep 2017 at 10:24am
It works!

Now to see if I can embed an image using the picture tool.

http://hafflys.linkpc.net:8008/Alaska2017/Tracy_Arm_Stephen_waterfall.jpg
StephenH
Happy is the man that findeth wisdom,...

ouR escaPOD mods
Former RPod 179
Current Cherokee Grey Wolf 24 JS
Back to Top
StephenH View Drop Down
podders Helping podders - pHp
podders Helping podders - pHp
Avatar

Joined: 29 Nov 2015
Location: Wake Forest, NC
Online Status: Offline
Posts: 6326
Direct Link To This Post Posted: 13 Sep 2017 at 10:38am
It did not embed the image, but it provides an easy link to get the picture.

Procedure (Note: I am using Fedora Linux):

Install httpd (Apache web server)
Enable web server "systemctl enable httpd.service" "systemctl start httpd.service" and check with "systemctl status httpd.service"
test by opening web browser and seeing if the Apache test page is visible http://localhost
In the /var/www/html directory, create your index.html file. This may or may not be needed depending on how you intend to use your server.
Create subdirectories to contain your files. For the example above, I created the "Alaska2017" directory and placed the image file there.

Modify your system's firewall to allow access to port 80. In my case, I do not want my system to display port 80 to the general public so that the script kiddies will not keep trying to hack my system. I modified my router to listen for port 8008 and forward that to my system's port 80. That is what the ":8008" means.

In your router settings, set up port forwarding to forward all requests for port 8008 to port 80 on the computer hosting the picture files. It is also necessary to set a static IP address for that system so that when the computer and/or the router is rebooted, the IP address does not change.

The key to this is to use a dynamic DNS service such as the free one from DNS->Exit to create a friendly name (hafflys.linkpc.net) that can be used. It translates the dynamic IP address the Internet Service Provider uses to a name and provides a client to keep the dynamic address updated so that as it changes, the name will keep pointing to the updated address.

Admittedly, this is not something most people would want to do. I did not want to sign up for a picture hosting site where I did not like the conditions under which my pictures would be stored and shared. This will let me keep control of my pictures and share them here without giving control over to a third party.
StephenH
Happy is the man that findeth wisdom,...

ouR escaPOD mods
Former RPod 179
Current Cherokee Grey Wolf 24 JS
Back to Top
furpod View Drop Down
Moderator Group - pHp
Moderator Group - pHp
Avatar

Joined: 25 Jul 2011
Location: Central KY
Online Status: Offline
Posts: 6128
Direct Link To This Post Posted: 13 Sep 2017 at 2:30pm
Dial up speed loading.. could not wait. modern man used to instant gratification.. Tongue

30 seconds to learn it was a picture from Alaska and you had on a hat...




Could be at my end though.. LOL

2 computers downloading massive World of Warcraft patch while she teaches an online class...
Back to Top
StephenH View Drop Down
podders Helping podders - pHp
podders Helping podders - pHp
Avatar

Joined: 29 Nov 2015
Location: Wake Forest, NC
Online Status: Offline
Posts: 6326
Direct Link To This Post Posted: 13 Sep 2017 at 2:49pm
Methinks it is on your end. My bandwidth for down and uploads is adequate for the task.


I'm open to a second opinion when your bandwidth isn't so bogged down. Smile
StephenH
Happy is the man that findeth wisdom,...

ouR escaPOD mods
Former RPod 179
Current Cherokee Grey Wolf 24 JS
Back to Top
fwunder View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 Oct 2013
Location: New Jersey
Online Status: Offline
Posts: 1676
Direct Link To This Post Posted: 13 Sep 2017 at 3:15pm
Hey Stephen,

You're on the right track, but the original image size (2400px x 3000px) is a bit too big for embedding or for people with low bandwidth to view. Downsampling helps everyone!

Same image @ 500x625




2014 RPod 178 => MyMods and Buying Habits
2008 4Runner Limited 4.0-liter V6
Yes, those are wild ponies dining on grass while dumping tanks!
Back to Top
StephenH View Drop Down
podders Helping podders - pHp
podders Helping podders - pHp
Avatar

Joined: 29 Nov 2015
Location: Wake Forest, NC
Online Status: Offline
Posts: 6326
Direct Link To This Post Posted: 13 Sep 2017 at 8:32pm
Thanks. For the forum, I had been downsizing pictures for my mods. Since this was a test, I had not done so, but used the original size. For future posts, I will downsize them to minimize bandwidth requirements.

Here's another test shot:


It looks like reducing the image size is what was needed to get the picture to display.

This one was taken from the White Pass and Yukon Route excursion train ride from Skagway, AK to White Pass. On the return trip, clouds had moved in and there was rain which limited my ability to take more photos.
StephenH
Happy is the man that findeth wisdom,...

ouR escaPOD mods
Former RPod 179
Current Cherokee Grey Wolf 24 JS
Back to Top
Leo B View Drop Down
podders Helping podders - pHp
podders Helping podders - pHp
Avatar

Joined: 13 Jan 2012
Location: Lyndonville, VT
Online Status: Offline
Posts: 4517
Direct Link To This Post Posted: 14 Sep 2017 at 6:45am
Great shot!!
Leo & Melissa Bachand
2017 Ford F150
2021 Vista Cruiser 19 csk
Previously owned
2015 Rpod 179
2010 Rpod 171
Back to Top
StephenH View Drop Down
podders Helping podders - pHp
podders Helping podders - pHp
Avatar

Joined: 29 Nov 2015
Location: Wake Forest, NC
Online Status: Offline
Posts: 6326
Direct Link To This Post Posted: 14 Sep 2017 at 9:32am
I call that one my calendar shot. Big smile

I would call this test a success. I now can host my own picture files. Big smile
StephenH
Happy is the man that findeth wisdom,...

ouR escaPOD mods
Former RPod 179
Current Cherokee Grey Wolf 24 JS
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.64
Copyright ©2001-2009 Web Wiz