2012年11月21日星期三

Fully Disabling SELinux

1. vi /etc/selinux/config
2. change the SELINUX line to SELINUX=disabled
3. when done editing click “ESC”
4. type “:” and you will get option to type command.
5. type “w” and press enter to save
6. type “:” to get option to type command and then type “q” and press enter to exit

2012年11月16日星期五

VMware Virtual Machine Hardware Versions

This table lists VMware products and their virtual hardware version:

Virtual Hardware VersionProducts
9ESXi 5.1
Fusion 5.x
Workstation 9.x
Player 5.x
8ESXi 5.x
Fusion 4.x
Workstation 8.x
Player 4.x
7ESXi/ESX 4.x
Fusion 3.x
Fusion 2.x
Workstation 7.x
Workstation 6.5.x
Player 3.x
Server 2.x
6Workstation 6.0.x
4ACE 2.x
ESX 3.x
Fusion 1.x
Player 2.x
3 and 4ACE 1.x
Lab Manager 2.x
Player 1.x
Server 1.x
Workstation 5.x
Workstation 4.x
3ESX 2.x
GSX Server 3.x


refer: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003746

2012年11月15日星期四

Separating First and Last Names Using Formulas





The example is shown, how to using RIGHT, LEFT, FIND, to separating First and Last Names.

Linux: Iptables Allow MYSQL server incoming request on port 3306

Open port 3306

In most cases following simple rule opens TCP port 3306:
iptables -A INPUT -i eth0 -p tcp -m tcp --dport 3306 -j ACCEPT

Reference: http://www.cyberciti.biz/tips/linux-iptables-18-allow-mysql-server-incoming-request.html

2012年10月31日星期三

VMware - Failed to Lock the File - Cannot Open The disk VMDLK or one of the snapshot disks it depends on

Resolution: To solve this issue I opened the folder that has my virtual machine files . I found couple of folders that are named as ***.lck. I select them all and deleted them. You can also try to rename them if not comfortable with deleting them.

ref: http://blog.laksha.net/2009/10/vmware-failed-to-lock-file-cannot-open.html