So I've been playing with FreeNAS over the last week, finally trying to get my act together and store my important files properly.
I'm finding myself wanting to install and compile additional packages.
pkg_add has been great for some things, but it appears that my install is rather crippled.
- make is missing. I installed gmake and linked make to that.
- math.h is missing as is sys/cdefs.h I thought these are part of any core unix/linux system?
- cc is missing though I've installed gcc45. I'm used to having just gcc. Sure I can create a link, but I'm not sure this is the proper thing to do.
- perl installed fine, but I can't add stuff with cpan. This is how I discovered 1,2, and 3.
So my question is this: do I just need to bite the bullet and install a full FreeBSD? The web interface to FreeNAS is kinda nice
1 Answer
I know how frustrating and stressful this whole thing is!! The fugees blunted on reality zip download.
My alternative to this problem is to create a freebsd jail on top of freenas.
Then you're able to issue any commands you desire and can also link them together!
This is the simplest way I found so far to achieve this and it's awesome!http://sourceforge.net/apps/phpbb/freenas/viewtopic.php?f=63&t=8942
Hope that helps!
Not the answer you're looking for? Browse other questions tagged freebsdfreenas or ask your own question.
A Live USB is a USB flash drive designed to act like a Live CD. An operating system is installed to it and it may be booted, but it does not install itself on the computer's hard drive(s).
Error when installing any OS
Pendrive with CentOS Live USB not showing options to boot
Bootable usb gone haywire
What file stores the theme that XFCE uses on boot?
Creating a portable xubuntu usb
Kali linux portable usb installation
Ubuntu 18.04 boot from USB bricked asus rog B350-F motherboard
Can I solder an USB peripheral to an USB port?
Can BIOS record live USB usage? [closed]
Recovering data when unable to boot PC
Microsoft Net 4.0 Full Install
Monitor out of range while booting from a live usb
Linux Mint 19.1 lagging/freezing when run off pen drive
bootable usb-stick requirements
How to detect if Kali is run from Live CD in Bash?
How can I get persistent storage on a Linux Mint 19.1 Live USB drive?
PC lovers tend to collect a lot of hardware as the years roll by. Instead of leaving it to collect dust, why not repurpose it as a file-slinging server?
Several free and open-source operating systems run extremely well on a wide array of older hardware. One in particular, FreeNAS, is extremely stable, easy to set up, and laser-focused on storing and sharing files across your home network. All you need is a working system with a reliable hard drive (or three) and a little time to configure everything.
Feb 28, 2018 - Descargar libro CAOS EBOOK del autor JAMES GLEICK (ISBN 015) en PDF o EPUB completo al MEJOR PRECIO. TEORIA DEL CAOS Y LA. James gleick faster.
What is FreeNAS?
FreeNAS is based on FreeBSD, itself born of BSD, a version of Unix developed at the University of California, Berkeley. FreeBSD is a full-fledged server operating system, but FreeNAS has been optimized strictly for file serving and storage. It supports SMB/CIFS (Windows file shares), NFS (Unix file shares) and AFP (Apple File Shares), plus FTP and iSCSI. FreeNAS also works with an array of plug-ins for things like automated network backups, BitTorrent downloading, a Plex Media Server, MiniDLNA and much more. The FreeNAS website has an extensive FAQ and community section that's definitely worth checking out.
What you need to build a FreeNAS server
FreeNAS is compatible with all supported FreeBSD hardware—virtually every x86 platform (per the FreeBSD website), and it supports an extensive array of chipsets and network controllers.
Ideally, FreeNAS should be installed on a small SSD or even a flash drive (though standard hard drives also work fine in a pinch), and the system should feature one or more reliable hard drives for bulk storage. To emphasize reliable: We’ve framed this article around using spare hardware, but you shouldn't use abused or utterly ancient drives for mission-critical storage.
When using the UFS (Unix File System), FreeNAS doesn’t require much memory or processing power. Just about any system with 2GB or more of RAM should do.
The more advanced ZFS (Zettabyte File System) is highly reliable and offers an array of features to preserve and protect data, but it also has much more overhead. FreeNAS recommends at least 8GB of RAM for optional performance with ZFS.
Getting FreeNAS to boot
To set up FreeNAS you’ll need to download the installation ISO file from the FreeNAS website. If you have an optical drive, burn that ISO to a disc and then boot from it the way you would any other bootable CD.
Installing the OS to a flash drive is handier, and it frees your actual hard drives to store your files. It's a bit more complicated to set up on flash: Though it requires only minimal storage space (we ran it on 4GB and 8GB flash drives), it can't share the drive with other data.
For flash drive installations, you’ll also need a file compression/decompression utility (or file archiver), like WinRAR or 7-Zip, that can open ISO files, plus a disk image writing utility—I’d suggest Win32Disk Imager.
Once you’ve downloaded the ISO, mount it in Windows by right-clicking its file icon and selecting Mount, or open it in your file archiver (we used WinRAR) and extract the file named FreeNAS_x64.img.xz. You'll wind up with an image file named FreeNAS_x64.img, which you’ll need to write to the flash drive to install the OS and make the drive bootable.
Next, insert your flash drive, run Win32 Disk Imager, and select the FreeNAS_x64.img image file. In the Device drop-down menu on the right, make sure your flash drive’s drive letter is selected. Hit the Write button, and Win32 Disk Imager will take care of the rest. It shouldn’t take more than a minute or two to write the disk image to the drive. Insert the flash drive into the machine you want to use with FreeNAS, boot to the drive, and the OS should launch. Whew.
Setting up FreeNAS
After booting to the flash drive, you’ll ultimately see a simple text menu with 11 options. By default, FreeNAS will be configured to use DHCP. Assuming that's how your network is set up, it should acquire an IP address and list it right at the bottom of the menu. That’s how you’ll access FreeNAS’s browser-based interface. Command-line jockeys can configure many options right from the text menu, but it’s definitely easier and more intuitive to log into the web GUI.
The first time you hit the FreeNAS IP address, you’ll be prompted to set an administrator password. Note, however, that the default user name is not 'admin' or 'administrator,' but 'root,' which is the Unix system's rough equivalent of a Windows admin.
You’ll have to follow a few steps to configure your storage volumes and make them accessible to other systems on the network. First, hit the Storage > Volumes > Volume Manager section and select the hard drives you’d like to use with the operating system. Critical note: Any hard drive you select to use with FreeNAS will be utterly wiped.
You’ll also need to select the file system, enable any services or protocols of choice, create and name a shared folder, and set folder permissions. It's pretty straightforward, and this article walks you through the process. You can access your FreeNAS server just like any other shared PC on your network (typically via Windows' Network settings).
If you’d like to enable advanced FreeNAS capabilities—like hosting an FTP server, or installing some plug-ins—the FreeNAS community is a great place to start, as is PCWorld's own guide to advanced FreeNAS configurations.