Skip to content

Install and run netdisk cloud

iocellnetworks edited this page Mar 20, 2013 · 1 revision

This set of scripts can be used to manage your NDAS devices on the Linux based computer.

Run in PHP's standalone web server

This is a pretty fast and easy way to get started.

Requires

  • NDAS For Linux installed and running on the computer
  • PHP >= 5.4
  • root user priviledge

How to

1) Download and upack the zip file, or clone this repository

2) Launch the application on port of your choice like below. (You can change the port as needed.)

 [auser@linux-pc netdisk-cloud]$sudo php -S localhost:8080 -t ./ 
 PHP 5.4.12 Development Server started at Wed Mar 20 10:01:35 2013
 Listening on http://localhost:8080
 Document root is /home/david/github/netdisk-cloud
 Press Ctrl-C to quit.

These are the parameters in use for this example.

  • sudo (gives the netdisk-cloud instance ability to enable NetDISKs and to mount drives.)
  • php -S (indicates the hostname)
  • :8080 (assigns the http port)
  • -t (the folder where your php application resides)
3) Now open the web browser and login.
  • username: admin
  • password: admin

Clone this wiki locally