From LedHed's Wiki
Down-N-Dirty Install
- Install Linux/BSD Distro of your choosing, for this example the commands will be for Debian based distros.
- Add WeeWX repo to apt sources
- Update Apt database and install
- Start the WeeWX service
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
sudo apt update
sudo apt install weewx
service weewx start
Web Interface
- Install your favorite HTTP server, nginx in this example
- Point the http root to /var/www/html/weewx
- Start nginx
server {
listen 80 default_server;
root /var/www/html/weewx;
index index.html;
}
Note: This is a minimal nginx config
service nginx start