Giter Site home page Giter Site logo

mgetmetar's Introduction

Have you lost the weather icon on your RedHat/CentOS 6 gnome desktop around 2016?

That is because the weather service moved away from weather.noaa.gov to aviationweather.gov.

RedHat considers version 6 as outgoing so they won't fix libgweather:

https://bugzilla.redhat.com/show_bug.cgi?id=1372738 https://bugzilla.redhat.com/show_bug.cgi?id=1385478

Here is a quick workaround for the problem to get back the weather station on your desktop. No need to rebuild libgweather, just run this small web gateway.

Installation:

1.
  yum install httpd
2.
  echo Timeout 600 > /etc/httpd/conf.d/Timeout.conf
3.
  chkconfig httpd on
  service httpd start
4.
   setsebool -P httpd_can_network_connect on
5.
 Append in the /etc/hosts file to the localhost entries weather.noaa.gov
  you should got something like:
    127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4 weather.noaa.gov
    ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6 weather.noaa.gov
6.
 Copy this file into /var/www/cgi-bin/mgetmetar.pl
    and
 chmod  +x  /var/www/cgi-bin/mgetmetar.pl
 restorecon /var/www/cgi-bin/mgetmetar.pl

mgetmetar's People

Contributors

bruncsak avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.