Installation

From PortSensor Wiki

Jump to: navigation, search

Contents

Installation

Image:portsensor_overview.jpg

PortSensor has three main components: the server, monitors and viewers.

Server

The central server application receives sensor updates from monitors and shares sensor data with viewers. This should be installed on a web server with PHP5 and MySQL/PostgreSQL.

Installing on Windows-based Servers

Installing on Unix-based Servers

chown -R www-user:www-group portsensor/
chmod -R 774 portsensor/libs/devblocks/tmp/
  • Set friendly URLs (Apache only)
cd portsensor/
cp .htaccess-dist .htaccess
  • Create blank database with user/pass
CREATE DATABASE portsensor;
GRANT ALL PRIVILEGES ON portsensor.* TO user@localhost IDENTIFIED BY 'password';
  • Visit http://yoursite/portsensor/install/ in your browser
  • Log in:
    User: admin
    Password: superuser
  • Change your admin password in Setup->General->Change Admin Password

Next Steps

Personal tools