sudo -i
apt-get update
apt-get upgrade
apt-get install curl
sudo apt-get install mdadm wget
sudo apt -y install build-essential
sudo apt-get install parted
sudo apt-get install gcc
sudo apt-get install wget
sudo apt install curl

wget https://github.com/FLANKERSPb/MyBookLive/raw/master/debrick/debricker.sh

chmod +x ./debrick.sh
mdadm -S /dev/md0

wget http://download.wdc.com/nas/ap2nc-024006-048-20121206.deb
dpkg -x ./ap2nc-024006-048-20121206.deb ~

wget http://download.wdc.com/nas/ap2nc-024309-038-20141208.deb
dpkg -x ./ap2nc-024309-038-20141208.deb ~

wget http://download.wdc.com/nas/ap2nc-024310-048-20150507.deb
dpkg -x ./ap2nc-024310-048-20150507.deb ~

sudo ./debricker.sh /dev/sda ~/CacheVolume/upgrade/rootfs.img destroy

shutdown -h now

WordPress Lessons