From LedHed's Wiki
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
  3.  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
        
  4. Update Apt database and install
  5.  sudo apt update
     sudo apt install weewx
        
  6. Start the WeeWX service
  7.  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
  3.  server {
             listen  80 default_server;
             root    /var/www/html/weewx;
             index   index.html;
     }
      

    Note: This is a minimal nginx config

  4. Start nginx
  5.  service nginx start
      


Reference

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