Jump to content

how and where to learn?


sam_roberts30

Recommended Posts

Posted

Is there a place I can read up and learn how to write scripts, the language used etc for Unraid? I'm new to Unraid and I really want to learn how to get the most out of it. I really don't want to be one of those people who just asks questions and milks the forum without doing any of the leg work (as a member of other forums in the A/V arena I know how annoying it is). I tried reading posts but they just don't make any sense to me, the acronyms don't seem to have any logic to them. I think an underpinning knowledge would make it so much easier to understand.

Posted

Is there a place I can read up and learn how to write scripts, the language used etc for Unraid? I'm new to Unraid and I really want to learn how to get the most out of it. I really don't want to be one of those people who just asks questions and milks the forum without doing any of the leg work (as a member of other forums in the A/V arena I know how annoying it is). I tried reading posts but they just don't make any sense to me, the acronyms don't seem to have any logic to them. I think an underpinning knowledge would make it so much easier to understand.

Let us know some specifics you have questions about and we will try to answer/point you in the right direction.

 

In general PHP, HTML for the new 5.0beta unRAID is a good place to start.  You will also want to learn some general linux command line stuff, shell/bash scripting and maybe some awk.

 

The unMenu packages are a great place to learn about scripting.

Posted

Is there a place I can read up and learn how to write scripts, the language used etc for Unraid? I'm new to Unraid and I really want to learn how to get the most out of it. I really don't want to be one of those people who just asks questions and milks the forum without doing any of the leg work (as a member of other forums in the A/V arena I know how annoying it is). I tried reading posts but they just don't make any sense to me, the acronyms don't seem to have any logic to them. I think an underpinning knowledge would make it so much easier to understand.

unRAID is built on Linux.   Most basic linux commands are available, but extras are not installed.   For any linux command you can type "man commandname" as a google search and see the manual pages.

 

The only scripting languages built into unRAID are "bash shell" and "awk"    Others can be added as add-on packages.  The only reason to add other languages is if a specific application add-on you are installing needs it.  

 

Both the "shell" language and "awk" are tremendously powerful.  You can do almost anything with them.  Learning the basics can take a few hours, mastering all they can offer, much longer.   The unMENU web-server/add on is written mostly in "awk"   with the add-on package .conf files containing PACKAGE_INSTALLATION lines that are basically shell scripts.

 

Start by looking at existing scripts... especially those that have a lot of comments describing what they are doing.   Those scripts will be invoking the native linux commands, again you can learn about them from their manual pages.

 

Try typing "bash tutorial" or "awk tutorial" in google.  I'll bet there are quite a few that will keep you reading for many hours.

Posted

As far as scripts go honestly I just figure out what task I need to acomplish and I more or less hack it together. Most of the time I write out as much as I can and then I beg for help. Most of the time its just a \ vs a / or something simple and I'm on my way. ;)

Posted

Cheers, my weekend's reading sorted. I'll have a good look around. I've never had to play around with storage in the past. My last install was a Kaleidascape system which has zero user adjustments. Sold the cinema room with the house and couldn't justify spending that amount on a media player/storage solution. Thus I found Unraid and the possibilities are intriguing to say the least.

 

I'm all for bumbling through and finding out what is what but I honestly have no idea where to start. To me it just looks like a bunch of random words stuck together.

 

I will learn though! after all we all have to learn somewhere. right?

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...