From LedHed's Wiki
Revision as of 06:53, 20 August 2020 by Ledhed (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Down-N-Dirty Install

1. Install Linux/BSD Distro of your choosing, for this example the commands will be for Debian based distros. 2. Add WeeWX repo to apt sources

wget -qO - http://weewx.com/keys.html | sudo apt-key add -
wget -qO - http://weewx.com/apt/weewx-python3.list | sudo tee /etc/apt/sources.list.d/weewx.list

3. Update Apt database and install

sudo apt update
sudo apt install weewx

4. Start the WeeWX service

service weewx start

Web Interface

1. Install your favorite HTTP server, nginx in this example 2. Point the http root to /var/www/html/weewx

server {
        listen  80 default_server;
        root    /var/www/html/weewx;
        index   index.html;
}

Note: This is a minimal nginx config 3. Start nginx

service nginx start


Reference

http://weewx.com/docs/debian.htm