Hi,

I thought for a while about how I might respond to your post and then I 
thought, this is a good question. Other than upgrading, my on-line WeeWX 
install (setup.py) has not been touched for years; when i want to test 
something on WeeWX I create a VirtualBox VM, install the latest Debian and 
run a short script I have that installs WeeWX via setup.py, so I seldom 
look at the instructions.

So just now I downloaded the latest Debian net ISO and installed on a 
VirtualBox VM. When asked if I wanted a web server installed I checked the 
box. VM created and Debian running.

Next I went to the WeeWX User's Guide <http://weewx.com/docs/usersguide.htm>, 
specifically the Installing WeeWX page 
<http://weewx.com/docs/usersguide.htm#installing> and then selected the 
link Installing from DEB package <http://weewx.com/docs/debian.htm>. I 
followed the Configure apt, Install and Status instructions on this page 
selecting simulator as the weather station. All worked, no problems. WeeWX 
is running.

Then I went back to the WeeWX User's Guide and went to the Integrating with 
a web server page 
<http://weewx.com/docs/usersguide.htm#integrating_with_webserver>. I 
skipped step 1 as Apache2 was installed as part of my Debian install. Step 
2 told me that since I had installed from a DEB package I should not have 
to do a thing to setup Apache. So I opened a browser on another computer on 
my network, entered the IP address of my newly installed WeeWX machine 
followed by /weewx (ie w.x.y.z/weewx) and straight way up came my WeeWX 
page with data and plots. It was timestamped 15:35. I waited 5 minutes and 
refreshed the page and now had data timestamped 15:40.

Great, clearly everything is working, and no need to do anything with 
Apache, not even type its name anywhere. You mentioned Ubuntu and I 
installed on Debian, granted Debian is not Ubuntu but I think the lineage 
is pretty close. Notwithstanding, I took the time to download the Ubuntu 
18.04 netinst ISO and installed on a new VM, though noticeably I was not 
asked about installing a web server (perhaps my fault, Ubuntu is not my 
distro of choice so not that familiar with the vagaries of Ubuntu). I then 
followed the exact same WeeWX install instructions as for my Debian VM 
though this time I needed to follow step 1 of the Integrating with a web 
server page 
<http://weewx.com/docs/usersguide.htm#integrating_with_webserver> and 
install Apache2. It was a straight up Apache2 install with no config needed 
on my behalf.  When I went to the address for the Ubuntu VM (with /weewx 
appended) in my browser up came the WeeWX page with current data and plots, 
five minutes later and a refresh showed updated data and plots.

So getting back to your question, you should find the necessary 
instructions in the links above. If Apache is on your WeeWX machine you 
need do nothing to configure Apache/WeeWX.Might I suggest that if you are 
having specific problems either configuring WeeWX to operate with your 
station, getting WeeWX to run in general or work with your web server you 
provide a little more detail rather than 'it doesn't work'.

Gary
 

On Wednesday, 11 March 2020 12:47:34 UTC+10, Parsoli 69 wrote:
>
> Just amazed.  I've built many websites from template from many folks.  
> Whether that's Meteotemplate, Weather26, or many others.  Setup linux 
> ubuntu or redhat myself following instructions by these developers and 
> always had a functional website, IF, I followed the instructions.
>
> I've built 4 virtual servers on Ubuntu using the multiple DIFFERENT 
> instructional sets from weewx whether that's using the DEB installation 
> method of the Python installation script method.  Can't get one to function 
> properly without having to go hard core into Apache is make changes on what 
> path is serving up web pages. I can get close and get a webpage to show, 
> but it will be a snapshot in time.  wont' update, even setting up init.d, 
> etc.....
>
> I have read other posts here about people complaining about too many 
> instructions and nothing working 100% if you follow any of them.  Any 
> suggestions on a solid installation method/resource?  Whether that's 
> following a .deb install, python or whatever?  This stuff it pretty 
> simple.  You either cut it into a "from scratch" method or a 'adding a new 
> service for weewx to an existing webserver".  At least in my mind.
>
> Thanks in advance for any direction
>
> Steve
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ecbb7f7d-af3b-4696-94db-a1e77684144c%40googlegroups.com.

Reply via email to