Main Page: Difference between revisions

From Stormsail
Jump to navigation Jump to search
Admin (talk | contribs)
No edit summary
Admin (talk | contribs)
Line 45: Line 45:


VirtualBox autostart -> http://daemon-notes.com/articles/other/virtualbox/scripts
VirtualBox autostart -> http://daemon-notes.com/articles/other/virtualbox/scripts
http://forums.freenas.org/index.php?threads/autostart-virtualbox-vm.22116/


  http://lists.freebsd.org/pipermail/freebsd-fs/2011-July/011982.html
  http://lists.freebsd.org/pipermail/freebsd-fs/2011-July/011982.html

Revision as of 15:38, 29 July 2014

https://agilebits.com/onepassword
https://bitnami.com/stacks
http://www.cv-library.co.uk/

Leak

http://stormsail.noip.me/water/
http://www.checkatrade.com/APGPlumbingAndHeatingUKLtd/
http://www.checkatrade.com/AJRodwellPlumbingAndDrainage/

Schools

http://locrating.com/

Freenas Stuff

Useful commands -> http://doc.freenas.org/index.php/Useful_Command_Line_Utilities

Howto setup an iscsi lun with Solaris

bash-3.2#  iscsiadm modify discovery --static enable
bash-3.2#  iscsiadm list discovery
Discovery:
       Static: enabled
       Send Targets: disabled
       iSNS: disabled
bash-3.2# iscsiadm add discovery-address 192.168.214.200:3260
bash-3.2# iscsiadm list discovery-address -v;
Discovery Address: 192.168.214.200:3260
       Target name: iqn.2011-03.example.org.istgt:freenas
               Target address: 192.168.214.200:3260, 1
bash-3.2# iscsiadm add static-config iqn.2011-03.example.org.istgt:freenas,192.168.214.200:3260
bash-3.2# format

Workaround for [[1][Bug #4987]]

add 149.255.37.14  cdn.freenas.org in /etc/hosts

mount -uw /
add to /base/conf/etc/hosts (otherwise it'll disappear on reboot

VirtualBox in FreeNAS (now included in 9.2.1.6)

http://forums.freenas.org/index.php?threads/virtualbox-in-a-jail-in-freenas.20185/

VirtualBox autostart -> http://daemon-notes.com/articles/other/virtualbox/scripts

http://forums.freenas.org/index.php?threads/autostart-virtualbox-vm.22116/

http://lists.freebsd.org/pipermail/freebsd-fs/2011-July/011982.html
http://lists.freebsd.org/pipermail/freebsd-current/2011-October/028232.html

If the gui dies then restart

service django start
http://blog.brianmoses.net/2014/01/diy-nas-2014-edition.html
http://doc.freenas.org/index.php/Apple_(AFP)_Shares#Using_Time_Machine

Adding a new disk requires partitioning before it can be attached to an existing mirror

  1. gpart create -s gpt /dev/ada0
  2. gpart add -a 4096 -i 1 -s 2g -t freebsd-swap /dev/ada0
  3. gpart add -a 4096 -i 2 -t freebsd-zfs /dev/ada0
  4. glabel status

Getting crashplan to work on freenas

Enabled TCP Forwarding in SSH settings in FreeNAS
Enabled Forwarding in the sshd_config file in the jail
Enabled Root Login in the jail
Created a crashplan user inside the jail and added them to "wheel"
Restarted SEVERAL TIMES, finally getting all java working and expected results in sockstat -4, and netstat.
Created SSH Tunnel from port 4200 to 10.10.1.87:4243 (the jail IP) using Putty, then connected Putty to 10.10.1.87 (jail IP, not the freenas box IP)
Modified ui.properties file inside Crashplan conf folder so that servicePort=4200 and was uncommented(no # in front of it).
killed all crashplan processes and services, restarted the service (on my PC with the UI) and then restarted the desktop app.

http://www.liquidstate.net/blog/technology/how-to-manage-your-crashplan-server-remotely/

enabling sshd in jail
/etc/rc.conf -> sshd_enable="YES"
service sshd start
enable root in /etc/ssh/sshd_config

getting squeezebox running in a jail.

http://forums.freenas.org/index.php?threads/logitech-media-server-for-freenas-9-2-1-1.19044/
Just browse to http://your_jail_ip:9000
You can manually stop/start LMS with :
service lms onestop/onestart
plugin jail autostart/VMIMAGE/vanilla

Need to clean out old settings

service lms stop
cd /usr/local/lms/
./cleanup.pl --all
service lms start

edit -> /usr/local/etc/rc.d/lms and add:
root@LogitechMediaServer:/ # grep -B6 -A5 locale /usr/local/etc/rc.d/lms      
lms_start_precmd()                                                            
{                                                                            
       if [ ! -d "/var/run/$name" ]; then                                    
               mkdir /var/run/$name                                          
       fi                                                                    
       export LANG=en_US.UTF-8                                              
       locale                                                                
       chown $user:$group /var/run/$name                                    
}                            


http://www.iceflatline.com/2011/11/how-to-install-apache-mysql-php-and-phpmyadmin-on-freebsd/

https://bugs.freenas.org/issues/5263

https://bugs.freenas.org/my/page

Add SMART testing

http://forums.freenas.org/index.php?threads/scrub-and-smart-testing-schedules.20108/
need to update ARECA 1201 firmware to address? -> https://bugs.freenas.org/issues/5010

HandBrakeCLI

http://forums.freenas.org/index.php?threads/how-to-install-handbrakecli-in-freenas-8-3.10662/
http://ftp.pcbsd.org/pub/pbioutgoing/amd64/9/multimedia/handbrake/

Zoneminder in a jail

http://forums.freenas.org/index.php?threads/zoneminder-on-freenas.14463/

Plex stuff

https://smyl.es/how-to-move-plex-metadata-and-index-data-to-new-driver-andor-directory-location/

Useful Links

http://forums.freenas.org/index.php?threads/virtualbox-in-a-jail-in-freenas.20185/ http://doc.freenas.org/index.php/Jails_Configuration https://www.zufallsheld.de/2013/11/22/freenas-transmission-couchpotato-sickbeard-dlna-server/

http://nalle.wordpress.com/using-gmail-as-a-spam-filter/

http://www.moneysupermarket.com/home-insurance/

http://sourceforge.net/projects/automysqlbackup/

http://www.dd-wrt.com/site/support/router-database

http://www.dd-wrt.com/wiki/index.php/Wireless_Access_Point

http://www.mythtv.org/

search MediaWiki:Sidebar

http://paulgu.com/wiki/How_do_I_allow_only_authorized_users_to_edit_pages

http://www.nettiesexpressions.com/2012/06/02/walk-a-little-slower-daddy-free-printable/

http://www.iflicksapp.com

Dataguard -> http://www.oracle-base.com/articles/11g/data-guard-setup-11gr2.php#standby_server_setup_man

http://confoundedtech.blogspot.co.uk/2012/06/logitech-squeezebox-touch-ubuntu-1204.html

http://www.seatweavingsupplies.co.uk/other%20seating%20cords%20price%20list.htm

http://www.imdb.com/media/rm3474831104/nm0648164

http://lachlanmiskin.com/blog/2012/06/25/zoneminder-foscam-fi8918w-war-corrupt-jpeg-data-extraneous-bytes-before-marker-0xd9/

 * shower stuff -> http://www.showerdoc.co.uk/forum/phpBB3/
 * extending wireless network -> http://www.unix.ms/netgear/
 * veggie box recipes -> http://www.vegbox-recipes.co.uk

Chilli oil recipe -> http://www.thechilliking.com/chilli-oil-recipe/

Living life to the full -> https://www.llttf.com/index.php?section=page&page_seq=12

Mencoder command line stuff -> https://wiki.archlinux.org/index.php/MEncoder

Samsung warrant checker -> http://www.samsunghddvalue.com/WebRMA/WarrantyCheck/endUserWarrantychecker.aspx

  * http://jake-tm.co.uk/?page_id=259 - DGTeam Mirror
  * [[2][Righthook IPS repository (OWAN)]]
  * [[3][Exporting iTunes playlists to a non-itunes world]]
  * [[4][One iTunes/Slimserver playlist won't work]]
  * [[5][Setting up a DNS server]]
  * [[6][Extending the netgear wireless network]]
  * [[7][Kata Practice - 2011-05-10 ]]
  * [[8][Transparent Web Proxying Ubuntu DG834G]]
  * [[9][Community Sky DG834GT Updates]]
  * [[10][Netgear DG834GT Router Tweak]]
  * [[11][Netgear DG834GT & DG834 v4- Override Target SNR]]
  * [[12][Netgear Router Firmware Downloads]]
  * [[13][Implementing vscan service with ClamAV on ZFS]]
  * [[14][OpenSolaris 2008.11 ZFS with ‘on access’ virus scan]]
  * [[15][Phoenix Park Terrace Property for Sale]]
  * [[16][Greenhouse we would like]]

Flashing DVD drives

http://xvi.rpc1.org http://forum.rpc1.org/viewtopic.php?f=2&t=46137 http://forum.rpc1.org/viewtopic.php?f=12&t=48624

Ubuntu Installation Instructions

/etc/network/interfaces
auto eth0
iface eth0 inet static
address 10.0.0.100
netmask 255.255.255.0
gateway 10.0.0.1
dns-nameservers 10.0.0.1

https://sites.google.com/site/easylinuxtipsproject/first#TOC-Install-gnome-session-flashback-and-consider-disabling-the-visual-effects

Setting up a VPN proxy server

Setting up Collectd Collection3 on Ubuntu Lucid 10.04

Setting up iscsi on MacOSX

Installing HandBrakeCLI on ubuntu 12.04

Setting up zoneminder on Ubuntu 12.04

Installing daapd on Ubuntu 12.04

Setting up PLEX on Ubuntu

Installating HandBrakeCLI on Ubuntu

Ubuntu 11.10 webserver - choose OpenSSH + LAMP and then install webalizer + awstats + phpmyadmin

http://www.howtoforge.com/perfect-server-ubuntu-11.10-ispconfig-3-p6

http://www.howtoforge.com/the-perfect-media-server-ubuntu-11.10-sabnzbd-sickbeard-couch-potato-headphones-serviio-p3

http://blog.sudobits.com/2011/10/30/best-applications-and-tweaks-for-ubuntu-11-10/

Creating audio from mkv:

First we need to create a WAV with mplayer.

mplayer -vc dummy -vo null -ao pcm:file=output.wav video.mkv

If you find that mplayer is taking its sweet time in outputting the WAV you may have to append the fast option like so:

mplayer -vc dummy -vo null -ao pcm:file=output.wav,fast video.mkv

Then we create an MP3 from the WAV.

lame -h -b128 output.wav output.mp3

https://help.ubuntu.com/community/AutofsLDAP

https://help.ubuntu.com/11.04/serverguide/openldap-server.html

http://forums.plexapp.com/index.php/forum/76-apple-tv-2nd-gen/

To install linux guest additions on Ubuntu, you need to add:

sudo apt-get install dkms

to manually build the vb module:

/etc/init.d/vboxadd setup
  • Joining multiple avis together
sudo apt-get install mencoder mplayer
cat b1.avi b2.avi b3.avi b4.avi b5.avi b6.avi b7.avi > bloodspell.avi
mencoder -forceidx -oac copy -ovc copy bloodspell.avi.avi -o bloodspell_final.avi

Mplayer doesn't like the default video out mode (I suspect due to my Nvidia card) but seems to work ok for -vo gl2. I've therefore added the following to my .mplayer/config:

hippy@monkey:~$ more .mplayer/config 
# Write your default config options here!
vo=gl2

imapsyncing

hippy@ubuntu:~$ imapsync --host1 mail-emea.sun.com --user1 andharr --authmech1 LOGIN --passfile1 sun_pass --ssl1 --host2 stbeehive.oracle.com --user2 [email protected] --authmech2  
LOGIN --passfile2 oracle_pass --ssl2 --folder ZFS --sep2 / --prefix2 "" --useheader 'Message-ID' --skipsize --regexflag 's/NonJunk//g'
  * Force upgrade to next release -> sudo do-release-upgrade -d
  * fstab entry for vbox mount -> zoneminder /var/cache/zoneminder vboxsf auto,exec,rw,uid=33,gid=33 0 0
  * fix zoneminder -> http://francisfisher.me.uk/problem/2012/zoneminder-bareword-zm_path_logs-not-allowed-while-strict-subs-in-use/
  * zoneminder stuff -> http://cybt.com/linux/325-shared-memory-settings-for-zoneminder.html

Solaris Installation Instructions

SunRay Setup Instructions

Compiling applications on Solaris

Solaris Tips

SMF autoscrub -> https://blogs.oracle.com/constantin/entry/new_opensolaris_zfs_auto_scrub

Creating rawdisk access to VBox guests

VBoxManage internalcommands createrawvmdk -filename /export/virtualbox/sol-11_2-40-vbox/c16t3d0.vmdk -rawdisk /dev/rdsk/c16t3d0s0


su - hippy -c "/usr/bin/screen -dmS newznab /usr/local/newznab/newznab_screen.sh"

To create and send snapshots via zfs use:

zfs snapshot -r rpool@today
zfs send -R rpool@today | zfs receive -F -d rpool2

Adding a zone

root@monkey:~# zonecfg -z dev
Use 'create' to begin configuring a new zone.
zonecfg:dev> create
create: Using system default template 'SYSdefault'
zonecfg:dev> set zonepath=/zones/dev
zonecfg:dev> set autoboot=true
zonecfg:dev> verify
zonecfg:dev> commit
root@monkey:~# zoneadm -z dev install

For fixing zones issues

chmod 666 /dev/ptmx

For Solaris zone webserver

pkg install amp
pkg install webalizer
/usr/mysql/5.1/bin/mysql_install_db
/usr/mysql/5.1/bin/mysqladmin -u root password 'new-password'
/usr/mysql/5.1/bin/mysqladmin -u root -h dev password 'new-password'

Adding a ZFS filesystem to a zone (no deligation)

# zonecfg -z zion
zonecfg:zion> add dataset
zonecfg:zion:dataset> set name=tank/volumes/vol1
zonecfg:zion:dataset> end

For deligation add

zonecfg:zion:dataset> set alias=tank

For hot plugging a drive

/usr/sbin/cfgadm -cunconfigure sata2/0
/usr/sbin/cfgadm -cconfigure sata2/0

Setting noexec on the fly

echo "noexec_user_stack/W 0x0" | mdb -kw

Correcting quarantined zfs files

hippy@monkey:~$ /usr/bin/ls -/ v  .bashrc
-rw-r--r--   1 hippy    staff       1064 May 10 09:25 .bashrc
               {archive,nohidden,noreadonly,nosystem,noappendonly,nonodump,noimmutable,av_modified,av_quarantined,nonounlink,nooffline,nosparse}
hippy@monkey:~$ pfexec /usr/bin/chmod S-a .bashrc
hippy@monkey:~$ /usr/bin/ls -/ v .bashrc
-rw-r--r--   1 hippy    staff       1064 May 10 09:25 .bashrc
               {noarchive,nohidden,noreadonly,nosystem,noappendonly,nonodump,noimmutable,noav_modified,noav_quarantined,nonounlink,nooffline,nosparse}

Autostarting Virtualbox Machines

sudo mkdir /etc/vbox
svccfg -s svc:/application/virtualbox/autostart:default setprop config/config=/etc/vbox/autostart.cfg
svcadm enable svc:/application/virtualbox/autostart:default
VBoxManage modifyvm <yourvirtualmachinename> --autostart-enabled on
#You can also set a delayed start for the vm using the command: VBoxManage modifyvm <yourvirtualmachinename> --autostart-delay <delayinseconds>
[--autostop-type disabled|savestate|poweroff|acpishutdown]
root@monkey:/etc/vbox# more autostart.cfg

default_policy = allow

vbox = {

       allow = true
       startup_delay = 10

}

* https://forums.virtualbox.org/viewtopic.php?f=11&t=33249

sphinx requires libinconv

pkg install libiconv

Photography

Sigma 50-500 review -> http://www.bobatkins.com/photography/reviews/sigma_50-500_os_hsm_review.html

http://www.dofmaster.com/dofjs.html
http://shutterexperiments.com/
http://www.martinbaileyphotography.com/podcasts/

House Stuff

Dishwasher E-Nr: SGS5362GB/01

http://www.ukwhitegoods.co.uk/
http://www.bricksandbrass.co.uk/diy_by_element/internal_wall/party_wall_act.php
http://idostuff.co.uk/blogs/
http://roomuptop.blogspot.co.uk/
http://www.showerdoc.co.uk/forum/phpBB3/
http://www.money.co.uk/article/1004444-why-buying-a-reposessed-property-can-mean-you-get-way-more-for-your-money.htm
http://www.mustbesold.com/index.php
http://www.money.co.uk/article/1009361-7-things-other-people-are-doing-to-get-money-for-a-house-deposit.htm

Kitchen

http://www.brackenwood.com/ - replacement seals and handles?
http://www.secondsandco.co.uk/ - cheaper selex insulation

Woodworking

http://www.woodworkingcentreshop.co.uk/acatalog/Triton_Spares_Workcentre_Series_2000.html

MaxOSX Tips

turning off macosx indexing

Example: to stop and prohibit indexing on a volume named Backup Drive you would issue one of the following commands:

sudo mdutil -i off /Volumes/Backup\ Drive
sudo mdutil -i off "/Volumes/Backup Drive"

http://www.apple.com/aperture/iphoto-to-aperture/how.html

NZB server

http://www.tiag.me/how-to-backfill-newznab-safely-without-bloating-your-database/

http://forums.redflagdeals.com/newznab-personal-usenet-indexer-help-thread-1274939/

http://mikepugh.blogspot.co.uk/2012/12/definitive-guide-to-setup-newznab-plus.html

https://github.com/kevinlekiller/Newznab-Blacklist

select name from releases where name regexp '^[a-zA-Z0-9]{20}$';
delete from releases where name regexp '^[a-zA-Z0-9]{20}$';

http://blog.cone.be/2012/12/16/newznab/

binary logs getting too big

PURGE BINARY LOGS TO 'mysql-bin.00003';

http://t4nkw4rt.blogspot.co.uk/

http://f.redflagdeals.com/showthread.php?t=1274939&mobile_type=basic

http://sudobash.net/usenet-newznab-backfilling/

mysqldump -u root -p newznab | bzip2 > backup_newznab.sql.bz2

remote

mysqldump -u root -h newznab -p newznab | bzip2 > backup_newznab.sql.bz2

http://endpoint.co/technology/enable-remote-access-mysql

Usenet

http://www.ngprovider.com/isp-newsservers.php#UK

http://usenetreviewz.com/best-usenet-providers/

tweaknews

Windoze Stuff

https://www.cygwin.com/install.html
http://joegardiner.co.uk/cloning-a-hard-drive-in-windows-7/

Mining

http://www.amazon.co.uk/gp/product/B00IJBV9UW/ref=s9_simh_gw_p147_d2_i5?pf_rd_m=A3P5ROKL5A1OLE&pf_rd_s=center-3&pf_rd_r=14B980MQEC1BT6QMEXT2&pf_rd_t=101&pf_rd_p=455333147&pf_rd_i=468294

http://litecoinexchangerate.org/c/GBP/678

http://www.litecoinminingcalculator.com/index.php?khs=32000&diff=21219.9751975&cdiff=21219.9751975&fee=0

http://www.techspot.com/article/777-litecoin-mining-project/page4.html

http://www.bitcoinx.com/profit/

http://www.coindesk.com/information/how-to-set-up-a-miner/

http://www.coindesk.com/information/how-to-mine-litecoin/

https://litecoin.org/