Monday, November 4, 2013

EMC Celerra VSA

Instructions to download the latest appliance:
http://techhead.co/emc-vnx-simulator-vsahow-to-download-the-latest-version/

Fix the blue screen:
http://nickapedia.com/2010/10/18/vsa-time-fix-the-blue-screen/

To change the timezone:
/usr/bin/perl /nas/http/webui/bin/timezone.pl -s America/Denver
To regenerate ssl certs:
/nas/sbin/nas_config -ssl
OR
/nas/http/webui/bin/gen_ssl_cert.pl


Thursday, August 22, 2013

Re-scan SCSI bus in Linux

echo "- - -" > /sys/class/scsi_host/host0/scan
How to scan the SCSI bus with a 2.6 kernel

Friday, April 19, 2013

My experience with Microsoft Surface RT

I wanted to share some goods and bads about my experience using the Microsoft Surface RT tablet.

First the tablet's hardware is great, I like the touch cover, kickstand, USB port, micro HDMI port. To get all these on other tablets you need to pay a lot of money for accessories. They are all included with Surface. Great stuff.

The wireless performance is very good, I can watch HD movies over the network from my WD live media player and it is working great. This does not work on my son's IPAD 2, I cannot compare with the newer versions. The wireless router is Linksys E2000.

The only problem I see is the lack of applications and hopefully this will be solved in time. I also wish MS would allow other browsers like Chrome. IE 10 works fine but I cannot see my browsing history, bookmarks etc from my PC or android phone.



Sunday, August 5, 2012

VMware vMA commands

Connect to configure vMA
https://ip_address_of_vmwa:5480

Log in as vi-admin


vifp addserver vcenter_or_esx
vifp listservers
vifptarget -s vcenter_or_esx

vicfg-nics –l –vihost esxhost
Join vMA to the domain
sudo domainjoin-cli join domainname domain_join_user

Wednesday, August 26, 2009

VIM tutorial



Basic commads

i
go to insert mode (at cursor position)
I
start editing at the beginning of the line
o
go to insert mode on a new line bellow
O
go to insert mode on a new line above
A
insert at the end of the line
ESC
go to command mode
:wq
write and quite
:q
quite
:q!
quite discarding changes
:12
go to line 12
:$
go to the end of file
$
go to the end of line
^
go to the beginning of the line
0
same as above
yy
copy current line
3 yy
copy three lines
dd
cut current line
p
paste
J
join lines
/robert
search for the word "robert"
n
next occurrence
?robert
search for "robert" in reverse order
u
undo
.
repeat last modification operation
cw
change word
x
delete backwards
w
skip to next word
5w
skip five words
b
skip to the previous word
)
skip to next sentence
(
skip to previous sentence
dw
delete word at the right
db
delete word at left
das
delete current sentence


Monday, December 1, 2008

Mount iso in linux

Run this:
 mount myiso.iso /mnt/iso/ -t iso9660 -o ro,loop=/dev/loop0

Convert bin to iso in linux

In ubuntu:

sudo apt-get install bchunk

Create a file:

sudo gedit /usr/local/bin/bchunkcue

Paste this into the new file:


#!/bin/bash
echo “FILE “”$1.bin” ”BINARY” >> $1.cue
echo ” TRACK 01 MODE1/2352 >> $1.cue
echo ” INDEX 01 00:00:00 >> $1.cue
bchunk $1.bin $1.cue $1_
rm $1.cue


Make it executable:

chmod a+x /usr/local/bin/bchunkcue

Then just run:

bchunkcue filename without the bin extension.