This is an old revision of the document!
Setting Up Your Own Hourly Predictor
This page will be a guide to help users set up their own hourly predictor.
There will soon be a VMWare player image of a standard setup on CentOS linked here.
Some useful information for the image and how to use the hourly
#to Logout a currently logged in user pkill -KILL -u raj
#to Change username usermod -l login-name old-name
#Default Account credentials - change to suit #——————————————–
#User: Admin #Pass: Admin_Hab
#user: root #pass: HabHub_Hourly
#Locations of the cron jobs for manually running them #—————————————————- /opt/cusf-landing-prediction/scripts/fetch-run-cronjob.sh fetch-run - lauches both of these files /opt/cusf-landing-prediction/scripts/hourly-predictions-cronjob.sh hourly-predictions - performs the calculations /opt/cusf-landing-prediction/scripts/grabdata-cronjob.sh grabdata - downloads the data from NOAA servers /opt/cusf-landing-prediction/web/hourly-predictions/scenario-template.json The options for launch, lat/lon, alt, ascent, descent etc
#Scheduler for the cronjobs is in /etc/cron.d/hab #———————————————— echo “0 */3 * * * root cd /opt/cusf-landing-prediction && ./scripts/fetch-run-cronjob.sh”
#the 0 */3 * * * part refers to the cron fetching the data at 00 mins past the hour every 3 hours, change to suite your needs
#Apache Info Located in: /etc/httpd/conf/httpd.conf #————————————————– DocumentRoot “/opt/cusf-landing-prediction/web/hourly-predictions”
#DNS Namerserver #————— /etc/resolv.conf