# apt-get install mdadm
# mdadm –create /dev/md0 –level=1 –raid-devices=2 /dev/sdb /dev/sdc
# mkfs.ext4 /dev/md0
# blkid
copy md0 UUID
# vi /etc/fstab
[UUID] /home ext4 noatime,rw 0 0
# apt-get install mdadm
# mdadm –create /dev/md0 –level=1 –raid-devices=2 /dev/sdb /dev/sdc
# mkfs.ext4 /dev/md0
# blkid
copy md0 UUID
# vi /etc/fstab
[UUID] /home ext4 noatime,rw 0 0
fix compiz:
# add-apt-repository ppa:lavie-alexis/compiz-precise+placepluginfixed
# apt-get update
# apt-get upgrade
and relogin
Download Chrome .deb from https://www.google.com/intl/en/chrome/browser/
https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
Install it:
# dpkg – i google-chrome-stable_current_amd64.deb
Fix dependencies:
# apt-get install -f
# apt-get install fail2ban
# cd /etc/fail2ban
# cp jail.conf jail.local
…config jail.local
# /etc/init.d/fail2ban restart
mount USB to /opt
Install ipkg-opt http://www.dd-wrt.com/wiki/index.php/Optware
# wget http://www.3iii.dk/linux/optware/optware-install-ddwrt.sh
# chmod 755 optware-install-ddwrt.sh
# ./optware-install-ddwrt.sh
ipkg-opt works now!!
Install library, xinetd and saned
# ipkg-opt install libtiff libjpeg libieee1284 xinetd sane-backends
# vi /opt/etc/xinetd.d/saned
service saned { type = UNLISTED port = 6566 socket_type = stream server = /opt/sbin/saned protocol = tcp user = root group = root wait = no disable = no }
fix xinetd startup issue
# vi /opt/etc/init.d/S10xinetd
unset library path before run:
unset LD_LIBRARY_PATH
fix saned startup issue
# mkdir /opt/mnt
# cp -a /etc /opt/mnt
# vi /opt/etc/init.d/S01sane-backends
mount rw etc before run:
mount /opt/mnt/etc /etc
fix libusb issue by replace libusb to /opt/lib
http://cargon.net/linux/ddwrt/libusb-0.1.so.4.4.4
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=37104&sid=a8f3e7b641abdf47b28d918ceb1f125a
http://www.right.com.cn/forum/thread-45255-1-1.html
In firefox config: about:config
Change gfx.color_management.mode to 0
Install:
# apt-get install lm-sensors
Load module
# modprobe coretemp
My laptop CPU temperature… lol
# sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +70.0°C (crit = +96.0°C)
temp2: +60.0°C (crit = +113.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +66.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +71.0°C (high = +100.0°C, crit = +100.0°C)
# apt-get install sshfs
mount script:
#!/bin/sh
sshfs user@remote:/home/user/folder /localfolder
Auto login ssh is recommended:
https://www.virtualbox.org/
Install:
# dpkg -i virtualbox-4.1_4.1.22-80657~Ubuntu~precise_amd64.deb
File > Preferences > Extension >
Add : Oracle_VM_VirtualBox_Extension_Pack-4.1.22-80657.vbox-extpack
Change group to enable usb support
# usermod -a -G vboxusers <username>