OpenSolaris

Discussions Communities Projects Download Source Browser

Home » OpenSolaris Forums » distribution » discuss

Thread: nexentacore3 (snv 124+) + napp-it web interface /NAS+GUI

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 6 - Last Post: Nov 20, 2009 8:53 AM by: gea Threads: [ Previous | Next ]
gea

Posts: 41
From: DE

Registered: 10/6/09
nexentacore3 (snv 124+) + napp-it web interface /NAS+GUI
Posted: Oct 19, 2009 8:51 AM
To: Communities » distribution » discuss
  Click to reply to this thread Reply

hello

nexenta has released free nexentacore3 alpha based on snv 124+
http://www.nexenta.org

new smb nas features:
zfs3, smb guest access, acl on share level,
snapshots in windows via previous version

and:
napp-it (nas appliance) update to 0.2 beta

i have also updated napp-it and napp-it doku for nexenta3,
"how to setup a browser controlled nas with nexenta"
http://www.babelcon.de/napp-it/napp-it.pdf


about napp-it:
with napp-it, you can setup a free user-configurable web-controlled zfs-nas-smb-server in minutes.

napp-it is not ready to use for everybody;
(structure and basic zfs management are finished,
some actions needs to be done)

it is ready for those, who want to build their
own web-based controls and navigation + embedded help pages

download at: http://www.babelcon.de/napp-it/napp-it-0.200.zip

gea

dre2kse

Posts: 312
From: US

Registered: 4/17/06
Re: nexentacore3 (snv 124+) + napp-it web interface /NAS+GUI
Posted: Oct 20, 2009 4:30 PM   in response to: gea
To: Communities » distribution » discuss
  Click to reply to this thread Reply

gea,

I had to do the following after unzipping it.
find . -type f -print | xargs -I {} dos2unix -ascii {} {}
which I later found is same done simply
unzip -aa napp-it-xx.zip
to get it to unpack with the proper carriage returns. Seems thats what was causing the 500 internal erros. Just stating it here in case others having similar issues

version 2 looks good but had concerns on making everything chmod -R 777 in napp-it.

Is there a more secure set of chmod'ing you could probably detail?

gea

Posts: 41
From: DE

Registered: 10/6/09
Re: nexentacore3 (snv 124+) + napp-it web interface /NAS+GUI
Posted: Oct 21, 2009 1:08 AM   in response to: dre2kse
To: Communities » distribution » discuss
  Click to reply to this thread Reply

hello dre2kse

i have added this point and security hints to
http://www.babelcon.de/napp-it/napp-it.pdf

about napp-it security:

file permissions on folder napp-it
napp-it runs under your apache webuser account. minimal needes rights are:
-script /napp-it/admin.pl: -> rx for webserver account
-all other files and folders in /napp-it/: -> rw for webserver account recursivly

you can change owner of napp-it folder recursivly to the account, which is used
by apache or you can do a simple rwx on all files for everybody (see 1.4.2) if
napp-it file-security is not an issue.


if users are not allowed to edit menues,
napp-it could optionally work with read-only settings
when i disable file locking on opening actions.
(i will include that on next release)

write access is only needed for:
-edit actions
-add menues
-edit system-files (napp-it will copy them to menue-item-folder to keep previous versions)

[b]important[/b] if security is an issue!
napp-it can call console commands as root via function &exe(“console command“);
this is needed to do system management. so if you can login via napp-it, cou can
kill or manipulate your system.

-> do not allow access from unsecure networks (internet, public lan)
-> use two network adapters, one for file services, one for nappit on a closed management network
-> restrict apache to use ip of management network only

or at least: restrict access to napp-it folder in apache.conf or via .htaccess (ip + additional password protection of napp-it folder)

gea

Posts: 41
From: DE

Registered: 10/6/09
update: napp-it // free web interface /web GUI for nexenta/eon/opensolaris
Posted: Nov 6, 2009 2:34 AM   in response to: gea
To: Communities » distribution » discuss
Cc: OpenSolaris » discuss
Cc: Communities » appliances » discuss
Cc: Communities » storage » discuss
Cc: Projects » cifs » discuss
  Click to reply to this thread Reply

about:

napp-it is a free perlscript to create a user-configurable and
web-managed network and nas appliance based on eon/ opensolaris or nexentacore


napp-it nightly v. 0.21 beta is available

- easy pool, zfs and share handling
- improved comstar iscsi handling
- improved usability
- bug fixes

screenshots: http://www.babelcon.de/napp-it/screenshots-v021.pdf
download and infos: http:// www.babelcon.de/napp-it

status: beta, use it as it is


gea

dre2kse

Posts: 312
From: US

Registered: 4/17/06
Re: update: napp-it // free web interface /web GUI for nexenta/eon/opensolaris
Posted: Nov 11, 2009 10:13 PM   in response to: gea
To: Communities » distribution » discuss
  Click to reply to this thread Reply

guenther,

These work fine under apache2 but under lighttpd the same code gets the following errors:
In the header green section it says
pfexec: can't get real path of ``hostname''

for the zpool status section
pfexec: can't get real path of ``zpool''

command console gives the same problem
pfexec: can't get real path of ``ptree''

gea

Posts: 41
From: DE

Registered: 10/6/09
Re: update: napp-it // free web interface /web GUI for nexenta/eon/opensolaris
Posted: Nov 12, 2009 11:19 AM   in response to: dre2kse
To: Communities » distribution » discuss
  Click to reply to this thread Reply

hello dre2ksr

i have no experience with lighttpd but maybee the script will work if you change
in admin.pl at the beginning of the script:

my $cgipath=$0; # get path calling script

(apache will here return path to calling script) to:
my$cgipath="/usr/..../admin.pl"; #correct path to admin.pl


guenther

gea

Posts: 41
From: DE

Registered: 10/6/09
new beta off napp-it (web interface for a free zfs webmanaged nas/san box)
Posted: Nov 20, 2009 8:46 AM   in response to: gea
To: Communities » distribution » discuss
Cc: OpenSolaris » discuss
  Click to reply to this thread Reply

napp-it: user configurable web interface for nexenta3 to build a free nas/ san
adapted to nexenta3, runs on eon but not tested

20.Nov.09 napp-it Version 0.212 newest nightly for nexenta3

-easy and scriptable auto-service/ job-management (autosnap, autoscrub ...)
screenshots

download
http://www.babelcon.de/napp-it

gea




Terms of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
© 2010, Oracle Corporation and/or its affiliates

Oracle