unRAID-Web - complete web server w/ php for unRAID


Recommended Posts

  • 1 month later...
  • Replies 280
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Anyone got any tips for securing this so it's safe to run external sites? My unRAID box is on 24/7 so seems the ideal place to serve simple sites...

 

If I only port forward the single port lighthttp uses then I assume the only way for an attacker to get in would be through lighthttp itself. Is it's default install not set up to be secure?

Link to comment
  • 1 month later...

I am a new unRAID user trying to install unRAID-Web and am looking for some help.

 

The Windows XP .exe file starts and finds the tower but upon selecting install it terminates with an error message: "The control could not be created because it is not properly licensed."

 

I found information regarding the .tgz file on this thread which I believe I followed correctly. I placed the file unraidweb-0.1.05-i386-bubba in a folder named tmp on the flash drive and rebooted the tower. After logging in as root I tried the command installpkg/boot/tmp/unraidweb-0.1.05-i386-bubba. This resulted in: -bash: unraidweb-0.1.05-i386-bubba: No such file or directory.

 

Any ideas would be appreciated.

thanks,

ron

Link to comment

Being the noob that I am I spent yesterday discovering the joys of telnet and used the info from the first post on this thread to get the installation file and execute it. I was inordinately pleased with myself.

 

I was able to figure out the web server file but am stuck with selecting a port. It's not that I can't pick a number it's that the port does not open. Suppose I select port 82 and restart the server: Open http://192.168.2.117:82. So I try the open and I get a browser error: Oops! Google Chrome could not connect to 192.168.2.117:82.

 

Using netstat -an I (actually my wife who is a bit of a geek-long story) showed that port 82 had not opened:

 

root@Tower:/mnt/disk1# netstat -an

Active Internet connections (servers and established)

Proto Recv-Q Send-Q Local Address          Foreign Address        State

tcp        0      0 0.0.0.0:46304          0.0.0.0:*              LISTEN

tcp        0      0 0.0.0.0:37              0.0.0.0:*              LISTEN

tcp        0      0 0.0.0.0:139            0.0.0.0:*              LISTEN

tcp        0      0 0.0.0.0:111            0.0.0.0:*              LISTEN

tcp        0      0 0.0.0.0:80              0.0.0.0:*              LISTEN

tcp        0      0 0.0.0.0:2197            0.0.0.0:*              LISTEN

tcp        0      0 0.0.0.0:21              0.0.0.0:*              LISTEN

tcp        0      0 0.0.0.0:23              0.0.0.0:*              LISTEN

tcp        0      0 0.0.0.0:89              0.0.0.0:*              LISTEN

tcp        0      0 0.0.0.0:445            0.0.0.0:*              LISTEN

tcp        0      0 192.168.2.117:89        192.168.2.106:1621      TIME_WAIT

tcp        0      0 192.168.2.117:445      192.168.2.106:1489      ESTABLISHED

tcp        0      0 192.168.2.117:89        192.168.2.106:1615      TIME_WAIT

tcp        0      0 192.168.2.117:2197      192.168.2.106:1627      TIME_WAIT

tcp        0      0 192.168.2.117:23        192.168.2.106:1191      ESTABLISHED

tcp        0      0 192.168.2.117:89        192.168.2.106:1630      TIME_WAIT

tcp        0      0 192.168.2.117:2197      192.168.2.106:1625      TIME_WAIT

tcp        0      0 192.168.2.117:89        192.168.2.106:1631      TIME_WAIT

udp        0      0 192.168.2.117:137      0.0.0.0:*

udp        0      0 0.0.0.0:137            0.0.0.0:*

udp        0      0 192.168.2.117:138      0.0.0.0:*

udp        0      0 0.0.0.0:138            0.0.0.0:*

udp        0      0 0.0.0.0:37              0.0.0.0:*

udp        0      0 0.0.0.0:68              0.0.0.0:*

udp        0      0 0.0.0.0:838            0.0.0.0:*

udp        0      0 0.0.0.0:111            0.0.0.0:*

udp        0      0 192.168.2.117:123      0.0.0.0:*

udp        0      0 127.0.0.1:123          0.0.0.0:*

udp        0      0 0.0.0.0:123            0.0.0.0:*

udp        0      0 0.0.0.0:37630          0.0.0.0:*

 

We are stumped and any guidance would be appreciated.

thanks,

ron

Link to comment
  • 3 months later...

Hey Bubba,

 

This is great - with your plugin I have a fully functioning web server on unRAID with MySQL support.

 

Can I get your permission to steal your config scripts, update certain dependencies/packages, and re-release as a web server package? My 'vision', as it were, is to have the ability to add in additional hosts & edits to the conf files via the webGui and have it act more like a service.

 

Thoughts?

Link to comment

Hey Bubba,

 

This is great - with your plugin I have a fully functioning web server on unRAID with MySQL support.

 

Can I get your permission to steal your config scripts, update certain dependencies/packages, and re-release as a web server package? My 'vision', as it were, is to have the ability to add in additional hosts & edits to the conf files via the webGui and have it act more like a service.

 

Thoughts?

that would be nice.

Link to comment
  • 1 month later...

Hi all-

 

Was looking for a web server for unraid and found this thread.  I'm looking to open up my unraid server on one port to the internet to respond to web requests.  I'm looking for a quick easy way to share pictures, etc. in a web page.  I understand the security concerns to opening it up to the interwebs...

 

I would just want to create a cheap easy web page in M$ frontpage, or Word to share the pics, and serve this web page.

 

The web server that is discussed in this thread seems to be more for management of the unraid server, etc.  Would it also work for the limited use I have for it?  Could I redirect requests for the web page to the user share I created on unraid?

 

Any info would be great.

 

Thanks!

Link to comment
  • 10 months later...

Using AjaXplorer 2.3.9 - 2008/12/17 that came with unRAID-Web

 

I cannot navigate to /mnt/user (the account has admin rights in AjaXplorer).

 

I could still go to /mnt/diskx/... but that is cumbersome, I would have to find the right disk first to locate the file. It would be much better to be able to use /mnt/user/....

 

Any thoughts? Anything wrong with my installation?

 

Thanks for caring,

JC

Link to comment

Using AjaXplorer 2.3.9 - 2008/12/17 that came with unRAID-Web

 

I cannot navigate to /mnt/user (the account has admin rights in AjaXplorer).

 

I could still go to /mnt/diskx/... but that is cumbersome, I would have to find the right disk first to locate the file. It would be much better to be able to use /mnt/user/....

 

Any thoughts? Anything wrong with my installation?

 

Thanks for caring,

JC

What version of uRAID are you using?
Link to comment

v5 rc11

You've broken unRAID's basic commands by installing unRAID-Web.  It is only compatible with earlier 4.X versions and NOT recent 5.X versions of unRAID.

 

To verify, type

sgdisk

at the command line.  If working, it will display its usage.  If broken by your install of an incompatible library, it will complain of a missing shared library.  (sgdisk is required to manage disks under unRAID)

 

You'll need to find an alternate way to install AjaxExplorer if you wish to use it.

 

Joe L.

 

Link to comment

Hmm I wonder, sgdisk for normal linux is not supposed to output info...

 

So I removed unraidweb 0.1.04 and installed 0.1.05 (supposed to work with unraid v5: http://lime-technology.com/forum/index.php?topic=3354.0).

 

unmenu doesnt work anymore, also using /mnt/user still doesnt work.

 

Did unraidweb break anything that isnt fixed by rebooting?

I'd rather not do a complete re-install, it was a lot of tinkering...

 

 

Link to comment
  • 2 weeks later...

I am running unraid 5rc12a.  I want to properly remove this package but I cannot find instructions.  Can someone tell me how to remove it.

 

Thanks

How did you install it?

 

If installed by hand, reboot.

If installed via an added line in the config/go script, remove the line installing it and reboot

if installed in /boot/extra, remove the package file from there and... reboot

if installed via unMENU, mark it to not re-install on reboot, and then... (you guessed it... reboot)

 

Joe L.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.