Time Machine -> NAS

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

nmap cheatsheet

http://pen-testing.sans.org/blog/2013/10/08/nmap-cheat-sheet-1-0

free memory – cpu’s / slot usage OmniOS / OpenSolaris

prtdiag

 

cPanel backups – force latest

/usr/local/cpanel/bin/backup

 

 

iser target login

iscsiadm -m discovery -t st -p 10.0.0.1 -I iser
iscsiadm -m node -T  iqn.2010-10.com.example:storage-1000 -l

MySQL ERROR 1372 (HY000): Password hash should be a 41-digit hexadecimal

mysql> create user test identified by password '12345';
ERROR 1372 (HY000): Password hash should be a 41-digit hexadecimal number

You can resolve this by following the steps listed below.

mysql> select password('12345');
+-------------------------+
| password('123456') |
+-------------------------+
| 2ff898e158cd0311        |
+-------------------------+
1 row in set (0.00 sec)

mysql> create user test identified by password ’2ff898e158cd0311′;
Query OK, 0 rows affected (0.00 sec)

Mysql Remote Access

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%.example.com' 
    IDENTIFIED BY PASSWORD 'some_characters' 
    WITH GRANT OPTION;
FLUSH PRIVILEGES;

The VDI is unavailable.

List all VDIs

xe vdi-list

Forget all VDIs of the VM that cannot start.

xe vdi-forget uuid=

Rescan SR, and the true VDIs will be displayed. Reattach these to the VM and then restart.

ndd list tcp variables

ndd /dev/tcp ?

TCP Tuning IPoIB OmniOS

ndd -set /dev/tcp tcp_recv_hiwat 262144
ndd -set /dev/tcp tcp_xmit_hiwat 262144
ndd -set /dev/tcp tcp_max_buf 4194304