SlideShare uma empresa Scribd logo
1 de 20
Baixar para ler offline
Customizing FreeNAS 8.3
     Using Plugins Jail


Dru Lavigne
Director of Community Development, iXsystems
OLF, September 29, 2012
Outline

Brief Introduction to FreeNAS 8.3

Introduction to Jails, PBIs, and Plugins

Installing the Plugins Jail

Installing and Configuring PBIs

Installing non-PBI software

Creating Custom PBIs
Intro to FreeNAS 8.3

Open source NAS (network attached storage)
based on an embedded version of FreeBSD
(nanoBSD) and released under 2-clause BSD
license

Modular design: core NAS features can be
extended using a plugin architecture

Designed to be installed on flash device and
administered from a web browser
Core NAS Features Include
Ability to create AFP, CIFS, NFS shares

Support for iSCSI, SSH, FTP/SFTP, TFTP

Active Directory and OpenLDAP integration

Automated, secure replication via rsync/ssh

Automated ZFS snapshots and scrubs

Link aggregation and failover
Core NAS Does Not Include
Due to its embedded nature, there is no room to
install additional software

NAS does not include UPnP, iTunes, or BitTorrent
support

Users have all kinds of edge use cases for their
NAS
What is a Jail?

A FreeBSD feature for providing light-weight,
operating system-level virtualization

A jail has its own hostname, IP address, users
and is separated from the host operating system

FreeNAS implementation includes vimage which
gives the jail its own networking stack and IP
broadcasting
What is a PBI/Plugin?

Originally created by the PC-BSD project (a
desktop version of FreeBSD)

Provides a graphical installation wrapper for
software ported to FreeBSD

FreeNAS implementation extends this
functionality by incorporating the application's
configuration file into the FreeNAS graphical
administrative interface—the result is known as a
Plugin
Installing the Plugins Jail


Recommended that Plugins Jail is installed into its
own ZFS dataset and that a second dataset is
used to store the installed software

Download Plugins Jail and supported Plugins
from plugins folder for architecture
http://sourceforge.net/projects/freenas/files/
FreeNAS-8.3.0/
Installing the Plugins Jail
Installing a PBI


Once the Plugins Jail is installed and the Plugins
service started, you can install FreeNAS PBIs
(Plugins)

As each Plugin is installed, an icon will be added
to the FreeNAS menu (used to configure the
application) and its service will be added to the
Control Services menu so it can be started
Installing a PBI
Configuring a PBI
Installing Non-PBI Software

If a PBI is not available, you can still install
packages or compile ports within the Plugins Jail

Software installed this way will not be integrated
into the administrative interface but can be
configured and started from the command line

Use FreshPorts.org to search for software that
has been ported to FreeBSD
Installing Packages
A FreeBSD package is a pre-compiled binary that
includes the dependencies required by the
application

Installed using the pkg_add -r command:
FreshPorts.org will tell you the exact command to
use

pkg_info -Lx will tell you what gets installed

Typically, conf files are in /usr/local/etc/ and
startup scripts are in /usr/local/etc/rc.d/
Compiling Ports
Packages are recommended unless a package is
not available or you need to change a compile
option as compiling takes time and system
resources

FreshPorts.org will list the available compile
options

Use the make install command to compile

Once compiled and installed, the software can be
configured like any other package
Creating Custom PBIs

FreeNAS PBIs are still new (only available since
July 2012)

3 official PBIs: Firefly, MiniDLNA, Transmission

List of PBI requests:
http://doc.freenas.org/index.php/PBI_Requests

Search forums.freenas.org for PBIs currently
being worked on and tested
Creating Custom PBIs

A PBI is created from a PBI module: a set of files
and directories containing the installation
instructions for an application

These files are trivial to edit, except for the control
file which contains the instructions for integrating
the installed PBI into the FreeNAS GUI

The control file requires development experience
of a programming language supported by the
FastCGI API (typically Python or PHP)
Creating Custom PBIs

In theory, the Plugins Jail has all of the tools
needed to create a custom PBI; this needs to
improve in practice

The documentation for creating PBIs is mostly
complete but needs programmatic examples for
the control file

For now, use packages, help test upcoming PBIs,
and interact with other PBI creators on the forums
or IRC
Resources

Website:     http://www.freenas.org

Forums:      http://forums.freenas.org

Bug tracker: http://support.freenas.org

Documentation: http://doc.freenas.org/Plugins

IRC: #freenas on Freenode
Questions?


              Contact:

          dru@freebsd.org

           URL to Slides:

http://slideshare.net/dlavigne/olf2012

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Posscon2013
Posscon2013Posscon2013
Posscon2013
 
Fsoss12
Fsoss12Fsoss12
Fsoss12
 
Oclug 2010
Oclug 2010Oclug 2010
Oclug 2010
 
Flourish11
Flourish11Flourish11
Flourish11
 
Lavigne bsdmag sept12
Lavigne bsdmag sept12Lavigne bsdmag sept12
Lavigne bsdmag sept12
 
Scale 2010: BSD for Linux Users
Scale 2010: BSD for Linux UsersScale 2010: BSD for Linux Users
Scale 2010: BSD for Linux Users
 
Bsd ss
Bsd ssBsd ss
Bsd ss
 
Tlf2013
Tlf2013Tlf2013
Tlf2013
 
Nelf2013
Nelf2013Nelf2013
Nelf2013
 
olf10
olf10olf10
olf10
 
Nelf2012
Nelf2012Nelf2012
Nelf2012
 
Nycbsdcon14
Nycbsdcon14Nycbsdcon14
Nycbsdcon14
 
BSD for Linux Users
BSD for Linux UsersBSD for Linux Users
BSD for Linux Users
 
Lavigne bsdmag apr13
Lavigne bsdmag apr13Lavigne bsdmag apr13
Lavigne bsdmag apr13
 
Scale13
Scale13Scale13
Scale13
 
BSD for Linux Users
BSD for Linux UsersBSD for Linux Users
BSD for Linux Users
 
Fosscon2013
Fosscon2013Fosscon2013
Fosscon2013
 
Asiabsdcon15
Asiabsdcon15Asiabsdcon15
Asiabsdcon15
 
Introduction to FreeNAS development by John Hixson
Introduction to FreeNAS development by John HixsonIntroduction to FreeNAS development by John Hixson
Introduction to FreeNAS development by John Hixson
 
Lavigne bsdmag may13
Lavigne bsdmag may13Lavigne bsdmag may13
Lavigne bsdmag may13
 

Destaque

Brown aug11 bsdmag
Brown aug11 bsdmagBrown aug11 bsdmag
Brown aug11 bsdmagDru Lavigne
 
Dru lavigne oss-desktop_apps
Dru lavigne oss-desktop_appsDru lavigne oss-desktop_apps
Dru lavigne oss-desktop_appsDru Lavigne
 
Lavigne bsdmag-feb2012
Lavigne bsdmag-feb2012Lavigne bsdmag-feb2012
Lavigne bsdmag-feb2012Dru Lavigne
 
Meetbsd cal 2010
Meetbsd cal 2010Meetbsd cal 2010
Meetbsd cal 2010Dru Lavigne
 

Destaque (6)

Openhelp11
Openhelp11Openhelp11
Openhelp11
 
Brown aug11 bsdmag
Brown aug11 bsdmagBrown aug11 bsdmag
Brown aug11 bsdmag
 
Dru lavigne oss-desktop_apps
Dru lavigne oss-desktop_appsDru lavigne oss-desktop_apps
Dru lavigne oss-desktop_apps
 
Devsummit 2010
Devsummit 2010Devsummit 2010
Devsummit 2010
 
Lavigne bsdmag-feb2012
Lavigne bsdmag-feb2012Lavigne bsdmag-feb2012
Lavigne bsdmag-feb2012
 
Meetbsd cal 2010
Meetbsd cal 2010Meetbsd cal 2010
Meetbsd cal 2010
 

Semelhante a Olf2012

2013 Ohio LinuxFest - Ports, Packages, and PBI's
2013 Ohio LinuxFest - Ports, Packages, and PBI's2013 Ohio LinuxFest - Ports, Packages, and PBI's
2013 Ohio LinuxFest - Ports, Packages, and PBI'sKen Moore
 
Prizm Installation Guide
Prizm Installation GuidePrizm Installation Guide
Prizm Installation Guidevjvarenya
 
Ipfs installation and demo
Ipfs installation and demoIpfs installation and demo
Ipfs installation and demoNaveen Davis
 
Piattaforma Web Linux completa dai sorgenti
Piattaforma Web Linux completa dai sorgentiPiattaforma Web Linux completa dai sorgenti
Piattaforma Web Linux completa dai sorgentiGiulio Destri
 
Lavigne bsdmag june11
Lavigne bsdmag june11Lavigne bsdmag june11
Lavigne bsdmag june11Dru Lavigne
 
APACHE
APACHEAPACHE
APACHEARJUN
 
Custom Buildpacks and Data Services
Custom Buildpacks and Data ServicesCustom Buildpacks and Data Services
Custom Buildpacks and Data ServicesTom Kranz
 
SELF 2014: PBI v10: Application Management Made Easy
SELF 2014: PBI v10: Application Management Made EasySELF 2014: PBI v10: Application Management Made Easy
SELF 2014: PBI v10: Application Management Made EasyKen Moore
 
PBI v10: Application Management Made Easy by Ken Moore
PBI v10: Application Management Made Easy by Ken MoorePBI v10: Application Management Made Easy by Ken Moore
PBI v10: Application Management Made Easy by Ken MooreiXsystems
 
Developer Nirvana with IBM Bluemix™
Developer Nirvana with IBM Bluemix™Developer Nirvana with IBM Bluemix™
Developer Nirvana with IBM Bluemix™IBM
 
2013 Indiana LinuxFest - Getting Started With PC-BSD
2013 Indiana LinuxFest -  Getting Started With PC-BSD2013 Indiana LinuxFest -  Getting Started With PC-BSD
2013 Indiana LinuxFest - Getting Started With PC-BSDKen Moore
 
PHP Dependency Management with Composer
PHP Dependency Management with ComposerPHP Dependency Management with Composer
PHP Dependency Management with ComposerAdam Englander
 

Semelhante a Olf2012 (20)

Tlf2012
Tlf2012Tlf2012
Tlf2012
 
2013 Ohio LinuxFest - Ports, Packages, and PBI's
2013 Ohio LinuxFest - Ports, Packages, and PBI's2013 Ohio LinuxFest - Ports, Packages, and PBI's
2013 Ohio LinuxFest - Ports, Packages, and PBI's
 
Ilf2012
Ilf2012Ilf2012
Ilf2012
 
Prizm Installation Guide
Prizm Installation GuidePrizm Installation Guide
Prizm Installation Guide
 
Scale9x sun
Scale9x sunScale9x sun
Scale9x sun
 
Ipfs installation and demo
Ipfs installation and demoIpfs installation and demo
Ipfs installation and demo
 
Piattaforma Web Linux completa dai sorgenti
Piattaforma Web Linux completa dai sorgentiPiattaforma Web Linux completa dai sorgenti
Piattaforma Web Linux completa dai sorgenti
 
Lavigne bsdmag june11
Lavigne bsdmag june11Lavigne bsdmag june11
Lavigne bsdmag june11
 
APACHE
APACHEAPACHE
APACHE
 
Custom Buildpacks and Data Services
Custom Buildpacks and Data ServicesCustom Buildpacks and Data Services
Custom Buildpacks and Data Services
 
Ilf2011
Ilf2011Ilf2011
Ilf2011
 
Ilf2013
Ilf2013Ilf2013
Ilf2013
 
SELF 2014: PBI v10: Application Management Made Easy
SELF 2014: PBI v10: Application Management Made EasySELF 2014: PBI v10: Application Management Made Easy
SELF 2014: PBI v10: Application Management Made Easy
 
PBI v10: Application Management Made Easy by Ken Moore
PBI v10: Application Management Made Easy by Ken MoorePBI v10: Application Management Made Easy by Ken Moore
PBI v10: Application Management Made Easy by Ken Moore
 
Developer Nirvana with IBM Bluemix™
Developer Nirvana with IBM Bluemix™Developer Nirvana with IBM Bluemix™
Developer Nirvana with IBM Bluemix™
 
PaaSing Your Code Around
PaaSing Your Code AroundPaaSing Your Code Around
PaaSing Your Code Around
 
2013 Indiana LinuxFest - Getting Started With PC-BSD
2013 Indiana LinuxFest -  Getting Started With PC-BSD2013 Indiana LinuxFest -  Getting Started With PC-BSD
2013 Indiana LinuxFest - Getting Started With PC-BSD
 
Red Hat Training
Red Hat   TrainingRed Hat   Training
Red Hat Training
 
Composer namespacing
Composer namespacingComposer namespacing
Composer namespacing
 
PHP Dependency Management with Composer
PHP Dependency Management with ComposerPHP Dependency Management with Composer
PHP Dependency Management with Composer
 

Mais de Dru Lavigne (20)

Olf2018
Olf2018Olf2018
Olf2018
 
Olf2017
Olf2017Olf2017
Olf2017
 
FreeBSD System Administration Using SysAdm
FreeBSD System Administration Using SysAdmFreeBSD System Administration Using SysAdm
FreeBSD System Administration Using SysAdm
 
Asiabsdcon2017
Asiabsdcon2017Asiabsdcon2017
Asiabsdcon2017
 
Olf2016
Olf2016Olf2016
Olf2016
 
Tlf2016
Tlf2016Tlf2016
Tlf2016
 
Knoxbug2016
Knoxbug2016Knoxbug2016
Knoxbug2016
 
Lfnw2016
Lfnw2016Lfnw2016
Lfnw2016
 
Flourish16
Flourish16Flourish16
Flourish16
 
Scale2016
Scale2016Scale2016
Scale2016
 
Fossetcon15
Fossetcon15Fossetcon15
Fossetcon15
 
Lfnw15
Lfnw15Lfnw15
Lfnw15
 
Scale2015
Scale2015Scale2015
Scale2015
 
Olf2014
Olf2014Olf2014
Olf2014
 
Ghc14
Ghc14Ghc14
Ghc14
 
Fossetcon14
Fossetcon14Fossetcon14
Fossetcon14
 
Tlf2014
Tlf2014Tlf2014
Tlf2014
 
Asiabsdcon14 lavigne
Asiabsdcon14 lavigneAsiabsdcon14 lavigne
Asiabsdcon14 lavigne
 
Asiabsdcon14
Asiabsdcon14Asiabsdcon14
Asiabsdcon14
 
Scale2014
Scale2014Scale2014
Scale2014
 

Último

Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 

Último (20)

Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

Olf2012

  • 1. Customizing FreeNAS 8.3 Using Plugins Jail Dru Lavigne Director of Community Development, iXsystems OLF, September 29, 2012
  • 2. Outline Brief Introduction to FreeNAS 8.3 Introduction to Jails, PBIs, and Plugins Installing the Plugins Jail Installing and Configuring PBIs Installing non-PBI software Creating Custom PBIs
  • 3. Intro to FreeNAS 8.3 Open source NAS (network attached storage) based on an embedded version of FreeBSD (nanoBSD) and released under 2-clause BSD license Modular design: core NAS features can be extended using a plugin architecture Designed to be installed on flash device and administered from a web browser
  • 4. Core NAS Features Include Ability to create AFP, CIFS, NFS shares Support for iSCSI, SSH, FTP/SFTP, TFTP Active Directory and OpenLDAP integration Automated, secure replication via rsync/ssh Automated ZFS snapshots and scrubs Link aggregation and failover
  • 5. Core NAS Does Not Include Due to its embedded nature, there is no room to install additional software NAS does not include UPnP, iTunes, or BitTorrent support Users have all kinds of edge use cases for their NAS
  • 6. What is a Jail? A FreeBSD feature for providing light-weight, operating system-level virtualization A jail has its own hostname, IP address, users and is separated from the host operating system FreeNAS implementation includes vimage which gives the jail its own networking stack and IP broadcasting
  • 7. What is a PBI/Plugin? Originally created by the PC-BSD project (a desktop version of FreeBSD) Provides a graphical installation wrapper for software ported to FreeBSD FreeNAS implementation extends this functionality by incorporating the application's configuration file into the FreeNAS graphical administrative interface—the result is known as a Plugin
  • 8. Installing the Plugins Jail Recommended that Plugins Jail is installed into its own ZFS dataset and that a second dataset is used to store the installed software Download Plugins Jail and supported Plugins from plugins folder for architecture http://sourceforge.net/projects/freenas/files/ FreeNAS-8.3.0/
  • 10. Installing a PBI Once the Plugins Jail is installed and the Plugins service started, you can install FreeNAS PBIs (Plugins) As each Plugin is installed, an icon will be added to the FreeNAS menu (used to configure the application) and its service will be added to the Control Services menu so it can be started
  • 13. Installing Non-PBI Software If a PBI is not available, you can still install packages or compile ports within the Plugins Jail Software installed this way will not be integrated into the administrative interface but can be configured and started from the command line Use FreshPorts.org to search for software that has been ported to FreeBSD
  • 14. Installing Packages A FreeBSD package is a pre-compiled binary that includes the dependencies required by the application Installed using the pkg_add -r command: FreshPorts.org will tell you the exact command to use pkg_info -Lx will tell you what gets installed Typically, conf files are in /usr/local/etc/ and startup scripts are in /usr/local/etc/rc.d/
  • 15. Compiling Ports Packages are recommended unless a package is not available or you need to change a compile option as compiling takes time and system resources FreshPorts.org will list the available compile options Use the make install command to compile Once compiled and installed, the software can be configured like any other package
  • 16. Creating Custom PBIs FreeNAS PBIs are still new (only available since July 2012) 3 official PBIs: Firefly, MiniDLNA, Transmission List of PBI requests: http://doc.freenas.org/index.php/PBI_Requests Search forums.freenas.org for PBIs currently being worked on and tested
  • 17. Creating Custom PBIs A PBI is created from a PBI module: a set of files and directories containing the installation instructions for an application These files are trivial to edit, except for the control file which contains the instructions for integrating the installed PBI into the FreeNAS GUI The control file requires development experience of a programming language supported by the FastCGI API (typically Python or PHP)
  • 18. Creating Custom PBIs In theory, the Plugins Jail has all of the tools needed to create a custom PBI; this needs to improve in practice The documentation for creating PBIs is mostly complete but needs programmatic examples for the control file For now, use packages, help test upcoming PBIs, and interact with other PBI creators on the forums or IRC
  • 19. Resources Website: http://www.freenas.org Forums: http://forums.freenas.org Bug tracker: http://support.freenas.org Documentation: http://doc.freenas.org/Plugins IRC: #freenas on Freenode
  • 20. Questions? Contact: dru@freebsd.org URL to Slides: http://slideshare.net/dlavigne/olf2012