server:nas4free_build
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| server:nas4free_build [2015/06/22 23:57] – ashley | server:nas4free_build [2015/08/28 20:22] (current) – [4K sectors] ashley | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| =====Nas4Free Build===== | =====Nas4Free Build===== | ||
| + | ====Partition drives for ZFS==== | ||
| + | http:// | ||
| ====VirtualBox==== | ====VirtualBox==== | ||
| cd / | cd / | ||
| Line 11: | Line 13: | ||
| | | ||
| - | | + | tar xf vbox_installerxxxxxxxxxxxxxx |
| - | | + | |
| + | ./ | ||
| + | ====ZFS Tune==== | ||
| + | mkdir / | ||
| + | cd / | ||
| + | fetch http:// | ||
| + | tar xvf zfskerntune-20121031.tar.gz | ||
| + | cd zfskerntune | ||
| + | ./ | ||
| ====TheBrig==== | ====TheBrig==== | ||
| http:// | http:// | ||
| Line 42: | Line 52: | ||
| Save and exit | Save and exit | ||
| + | ====4K sectors==== | ||
| + | For each device which will be made a part of the pool, a gnop " | ||
| + | |||
| + | gnop create -S 4096 /dev/da0 | ||
| + | gnop create -S 4096 /dev/da1 | ||
| + | zpool create data mirror / | ||
| + | |||
| + | This will create the " | ||
| + | |||
| + | zpool export data | ||
| + | gnop destroy / | ||
| + | |||
| + | Next, the pool can be imported from the " | ||
| + | |||
| + | zpool import data | ||
| + | |||
| + | You can check the configuration of the pool by using the " | ||
| + | |||
| + | zdb -C data | grep ashift | ||
| + | |||
| + | The ashift should be " | ||
| ====Plex==== | ====Plex==== | ||
| Next, to download the ports tree (this includes the files to compile Plex), run the following: | Next, to download the ports tree (this includes the files to compile Plex), run the following: | ||
| - | portsnap fetch extract | + | portsnap fetch |
| + | portsnap | ||
| Now, to install Plex, run the following command: | Now, to install Plex, run the following command: | ||
| Line 74: | Line 106: | ||
| Alternatively, | Alternatively, | ||
| portupgrade -ai | portupgrade -ai | ||
| + | | ||
| + | or | ||
| + | |||
| + | In short, for upgrade just go to where you had installed plex (chroot, jail, jail in chroot...) and upgrade SW | ||
| + | pkg upgrade | ||
| Afterwards, your ports, including Plex, should be up to date. | Afterwards, your ports, including Plex, should be up to date. | ||
| + | |||
| + | ====Upgrade Plex==== | ||
| + | I run the commands as root, so su preceding the following or log into the jail as root. | ||
| + | |||
| + | mkdir /tmp/src | ||
| + | cd /tmp/src | ||
| + | wget http:// | ||
| + | tar xvf PlexMediaServer-0.9.9.12.504-3e7f93c-freebsd-amd64.tar.bz2 | ||
| + | service plexmediaserver stop | ||
| + | mv / | ||
| + | mkdir / | ||
| + | cp -r / | ||
| + | service plexmediaserver start | ||
| + | |||
| + | Of course after it starts and you verify it runs properly you can remove the old folders and the tar/ | ||
| + | |||
| + | This will only update the actual plex media server and leave all the media database and meta data alone since it is segmented into it's own folders. Once you start the server go into settings and server info, you may need to force it to refresh the page but will list 9.9.12 as the version. | ||
| + | |||
| + | ====Monitoring HP cards with PRTG==== | ||
| + | https:// | ||
| + | |||
| + | ====Installing owncloud==== | ||
| + | https:// | ||
| + | |||
| + | ====Prevent ZFS taking all your drive==== | ||
| + | http:// | ||
| + | |||
| + | ====Install vbox in Ubuntu LTS==== | ||
| + | http:// | ||
| + | |||
| + | http:// | ||
| + | |||
| + | http:// | ||
server/nas4free_build.1435017435.txt.gz · Last modified: (external edit)
