Installing OptiRain Open on Raspbian

Similar documents
OptiRain Open 2 Installation Guide for LInux. This guide provides general instructions for installing OptiRain Open 2 on a Linux based server.

How to Make a Raspberry Pi Web Server

Topics. What is a RaspberryPi? Why should I want one? What is Raspbian? What is SSH? What is FTP? What is LAMP? Making a LAMP Stack!

#Uncomment the second line to enable any form of FTP write command. #write_enable=yes

Features of Raspberry Pi 3 Model B

Communication protocols and services

Raspberry Pi Tutorial 2

INTRODUCTION. To avoid the PHP7 conflicts use this OS image: STEP 1 - Parts List:

Installing PHP on Windows 10 Bash and Starting a Local Server

Install vsftpd Sebagai FTP Server dengan Virtual Account di Debian 8 (Jessie)

L.A.M.P. Stack Part I

Buzztouch Server 2.0 with Amazon EC2

Users, Groups and Permission in Linux

How to force automatic removal of deleted files in nextcloud

We want to install putty, an ssh client on the laptops. In the web browser goto:

Digital Free Library. Created by Kirby Griese. Last updated on :35:15 PM UTC

If you re the administrator on any network,

How To Start Mysql Use Linux Command Line Client In Xampp

Installing LAMP on Ubuntu and (Lucid Lynx, Maverick Meerkat)

Setting up VPS on Ovh public cloud and installing lamp server on Ubuntu instance

شرکت توسعه ارتباطات پردیس پارس. owncloud. The last file sharing platform you'll ever need

OpenEMR INSTALLATION AND UPGRADE Quick guide

Open Source Digitalization Application. Installation Manual

ViMP 2.0. Installation Guide. Verfasser: ViMP GmbH

Install Eclipse Mosquitto MQTT on a Raspberry Pi 3B Running Raspbian Stretch

SETTING UP 3 WORDPRESS SITES ON APACHE AND UBUNTU BY RAMI

Installing MediaWiki using VirtualBox

Below are the steps to install Orangescrum Self Hosted version of Cloud Edition in Ubuntu Server Last Updated: OCT 18, 2018

Configuration the Raspberry Pi for the SmartPI. There are two ways to install the necessary software to use the SmartPi with your Raspberry Pi!

2) Edit /etc/mysql/my.cnf and comment (to enable client communications) # bind-address =

Raspberry Pi Class Ed 299. Mike Davis Truman College 5/26/2015

CYVA Research. Raspberry Pi MQTT Configuration

WA2572 Introduction to Responsive Web Development for Mac. Classroom Setup Guide. Web Age Solutions Inc.

XLink Kai Raspberry Pi Beginners Tutorial

School of Information and Computer Technology Sirindhorn International Institute of Technology Thammasat University

Genesys Workstation Web Edition (WWE) Configuration for Plantronics Hub. User Guide

PiCloud. Building owncloud on a Raspberry PI

Grasshopper V5. For. --- Installation and configuration guide --- Conceived and realised by: Bozzy, Dan Knight and That Grasshopper Guy.

Raspberry PI 'How-To' Series

EtherRain Function Reference For HomeSeer 3

SIMICART USER GUIDE SERIES. SimiCart Install SimiConnector

Bergmans Mechatronics LLC. User Guide. LabSocket-E v1.0. Mar Copyright 2018 Bergmans Mechatronics LLC. Alliance Partner

Install latest version of Roundcube (Webmail) on CentOS 7

Apache Manual Install Ubuntu Php Mysql. Phpmyadmin No >>>CLICK HERE<<<

RETROPIE INSTALLATION GUIDE

Linux Systems Security. Logging and Network Monitoring NETS1028 Fall 2016

Linux Kung-Fu. James Droste UBNetDef Fall 2016

Nextcloud 13: How to Get Started and Why You Should

Manually Password Protect Directories Apache Ubuntu

EventSentry Quickstart Guide

Kollaborate Server. Installation Guide

Getting started with Raspberry Pi (and WebIoPi framework)

Microprocessor-Based Systems (E155)

Unit: Making a move (using FTP)

Raspberry Pi as an Ad Blocking Access Point

Step 1 - Install Apache and PostgreSQL

Building a standalone access point using a Raspberry Pi Zero W

Cacti monitoring tool

Installing PHP 5.1 On Windows

CCMS Installation Instructions

FILESYSTEMS. Mmmm crunchy

Bitnami Pimcore for Huawei Enterprise Cloud

Debian Project. What is Debian? Debian. Debain Roadmap. Linux(Debian GNU/Linux) : 3 (2005/8/4) ASIN:

CUSTOMER CONTROL PANEL... 2 DASHBOARD... 3 HOSTING &

Installing SmartSense on HDP

Embedded Linux. A Tour inside ARM's Kernel

I hate money. Release 1.0

MeshCentral 2. Installer s Guide. Version July 31, 2018 Ylian Saint-Hilaire

KEIL software. Index of contents UPDATE. 1. Important information 1.1. What has changed?

Lassoing the Clouds: Best Practices on AWS. Brian DeShong May 26, 2017

Installing Open Project on Ubuntu AWS with Apache and Postgesql

CHATCORREO NOPERMITIR SQUID.CONF. correo.misena.edu.co hotmail.com

Bitnami Ruby for Huawei Enterprise Cloud

CSCI 201 Lab 1 Environment Setup

Bitnami ez Publish for Huawei Enterprise Cloud

Apache MySQL PHP PHPAdmin Install

Downloading and installing Db2 Developer Community Edition on Ubuntu Linux Roger E. Sanders Yujing Ke Published on October 24, 2018

NAV Coin NavTech Server Installation and setup instructions

Migrating the Cisco StadiumVision Director Server Environment to Platform 2 from the Cisco ADE 2140 Series Appliance

INTEGRATED WORKFLOW. In this job aid, you will learn how to: Publish digital components. YOU ARE HERE Publish Digital Components

Apache, Php, MySql Configuration

Phpmyadmin Ubuntu 10.04

Contents. Crave Masternode Setup Guides. Single / Multiple Local Masternode(s) Single Masternode using a VPS. Multiple Masternodes using a VPS

K-RATE INSTALLATION MANUAL

How to Create a NetBeans PHP Project

Altova CbC Reporting Solution. Installation Guide

Introducing FTP and HTTP Updated: 9/25/18

Lassoing the Clouds: Best Practices on AWS. Brian DeShong May 26, 2017

Linux Essentials Objectives Topics:

Adafruit's Raspberry Pi Lesson 6. Using SSH

Initial setting up of VPN Java version.

Phpmyadmin Ubuntu Server

Experiments 1 How to set up Raspberry Pi B+ The little computer you can cook into DIY tech projects

Graphing Data from MYSQL By Javier Montiel Urbina

Jarvis Web Gateway. Installation Instructions. Jonathan Couper-Smartt

IOL INTACT Installation Guide

Version USER GUIDE

FINAL PROJECT: MUSIC SERVER

EtherRain Sprinkler Control Interface For HomeSeer 3

Using GadgetPC as a Web Server

Transcription:

QUICKSMART Installing OptiRain Open on Raspbian QuickSmart Development P.O. Box 3689 Santa Clara, CA 95055 408-777-0944 www.quicksmart.com This document shows how to install OptiRain Open 2 on a Raspberry Pi running Raspbian Version 9 (stretch). This note assumes you have a fresh Raspbian install on a Raspberry Pi board. Since Raspbian is a Linux distribution based on Debian, this note also applies to Linux systems, though some of the install folders and owners may be different on different Linux distributions. OptiRain Open is a web application that uses Apache, PHP, and SQLITE. Even if your Raspberry PI already has these packages installed you should NOT skip step 3. You will most likely need to install PHP extensions for XML and for CURL. You will also need an FTP package installed on your Pi. Installing an optional email transfer agent allows email alerts. Step 1. Open a Terminal SSL into your Raspberry Pi and log in. Step 2. Update your Pi. Make sure the packages on your Pi are up to date: sudo apt-get update sudo apt-get upgrade Step 3. Install support software OptiRain Open requires Apache, PHP, and SQLite. OptiRain Open was written for PHP7 and above. Install Apache, PHP, required PHP extensions, and SQLite using the following commands: sudo apt-get install apache2 -y sudo apt-get install php7.0 libapache2-mod-php7.0 php7.0-sqlite3 -y sudo apt-get install php7.0-xml sudo apt-get install php7.0-curl Then restart apache: sudo service apache2 restart

Step 4. Check Web Server After above, use a browser and type in the name of your Raspberry Pi. For example, for a Pi named rpi3 enter: http://rpi3/ The default index.html page should be displayed. When the page has been displayed move to the next step. Step 5. Install and Configure FTP Server An FTP server might already be installed on your Pi. If so, skip this step. Install an FTP server: sudo apt-get install vsftpd Configure the FTP server: sudo nano /etc/vsftpd.conf Search through the file and change the following lines with in the file: Check that disable anonymous is uncommented: anonymous_enable=no local_enable=yes write_enable=yes local_umask=022 (allow ascii mode transfer): ascii_upload_enable=yes ascii_download_enable=yes ls_recurse_enable=yes Insert the following new lines anywhere if not found in file: file_open_mode=0777 text_userdb_names=yes Save the file: If using nano, hold the Ctrl key and press "x", then "y", then the Return / Enter key.

Restart the FTP server: sudo service vsftpd restart Step 6. Configure the WWW Directory After performing the above, navigate (in SSL terminal) to: Set up permissions to be able to FTP into the /var/www directory. This directory is initially owned by root, so change it to the httpd user www-data. sudo chown R www-data sudo chgrp R www-data sudo chmod R 4775 (the chmod commands sets the group sticky bit so new directories inherit the existing group) Put the raspberry pi ftp user (pi or whatever user you will ftp in as) into the www-data group usermod a G www-data pi Change ownership of the html directory to the ftp user: sudo chown R pi Step 7. Transfer the OptiRain Open Files Open your FTP client (FileZilla or equivalent) and navigate to: Transfer the file index.htm and the folder optirain from your computer to the following folder on your Pi: After transferring all of the files, check the group owner of the optirain folder. The group owner of the OptiRain directory should be www-data. If it is not (it might be the ftp owner) then execute this command: sudo chgrp R www-data /var/www (optional change owner: sudo chown -R www-data /var/www) after all of the files have been transferred, execute the following command: sudo chmod -R 775 optirain

This will allow apache to write to files as needed. Step 8. Test via Browser From a browser, enter the name of the Raspberry Pi, example: http://rpi3/ The OptiRain main page should display. Click continue. If all of the permissions are correct then the main page should display. If the page doesn t display, recheck the owners of all of the files in each directory: /html /html/optirain /html/optirain/devlogs /html/optirain/ images /html/optirain/dbdir /html/optirain/phpincludes /html/optirain/wwwcron Ownership should be www-data for all. Step 9. Configure your OptiRain Open Installation OptiRain Open 2 has a default setup for Linux. For Raspberry Pi you generally won t need to make further configuration changes. But you may want to set up email notifications, test to ensure the scheduler is working, and set up message delivery to the system. This can be done from the System Configure option on the left nav. Step 10. Configure and Setup your OptiRain Open Controllers OptiRain open allows you to create up to five separate irrigation controllers. Each controller can be configured to manage or operate from one to five EtherRain modules. So each controller can be configured to control 8, 16, 24, 32, or 40 zones. Irrigation programs that run under each controller will automatically run zones in sequence just like a traditional irrigation controller. Controllers are added from the main page by selecting Define Controller. Once a controller is created it can always be reconfigured later by selecting Modify Controller.

Step 11. Setup Irrigation Programs for your Controller(s) After your controller(s) have been defined it is time to add irrigation programs. This can be accomplished from the main page by selection the View/Edit Schedule option and clicking Begin. Each controller can run up to 5 fully independent irrigation programs. Each program can be configured to run or not run based on weather conditions. See OptiRain Open 2 Help (link on left nav) for more information. Your OptiRain Open installation is now complete. 2-10-2019 JL