Installation
From PortSensor Wiki
Contents |
Installation
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
- Download the latest release
- Unzip into web path
- Set permissions
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

