May 27, 2008 - Old    Comments Off on Turn off Data Execution Prevention in MS Vista

Turn off Data Execution Prevention in MS Vista

Data Execution Prevention is a security feature that can be a bit of a pain at times. Often things will simply appear not to run at all; hopefully you will notice a bubble from the taskbar letting you know that DEP is the cause. If Vista (and actually this has been around since Windows Server 2003) sees that a process is being spawned that “could” be unwanted, DEP shuts it down. This is especially common in some application installations: if a Windows Installer setup (MSI) calls an executable in Vista, DEP could very well put a stop to it. If you are trying to run an installation or other executable being stopped by DEP, it could save you some trouble so turn it off while you attempt to give it another shot…

[list:1hrty2gk]
[*:1hrty2gk]Run a command prompt as administrator. [/*:m:1hrty2gk]
[*:1hrty2gk]From the start menu, select “All Programs”, then “Accessories” and right-click on the “Command Prompt” shortcut and choose “Run As Administrator”. [/*:m:1hrty2gk]
[*:1hrty2gk]From here, you can use the following command to disable Data Execution Prevention (DEP) with the following command:[/*:m:1hrty2gk][/list:u:1hrty2gk]

[code:1hrty2gk]bcdedit.exe /set {current} nx AlwaysOff[/code:1hrty2gk]

Keeping your command prompt open, run your setup or other process being stopped by DEP. Then, to turn it back on again, do the same and run the following:

[code:1hrty2gk]
bcdedit.exe /set {current} nx AlwaysOn[/code:1hrty2gk]

May 27, 2008 - Linux    Comments Off on Run Linux text editor as Root

Run Linux text editor as Root

If you want to use the basic text editor, then do the following at the command line:

sudo gedit
May 27, 2008 - Old    Comments Off on Understanding Windows Clusters and LUNs

Understanding Windows Clusters and LUNs

[b:3f3knktv][color=#c00000:3f3knktv]Q:[/color:3f3knktv][/b:3f3knktv]Why can’t multiple nodes access the same logical unit number (LUN) running NTFS in a Windows cluster, as they can with VMware ESX Server and VMFS?

[color=#00b050:3f3knktv][b:3f3knktv]A.[/b:3f3knktv] [/color:3f3knktv]Users of VMware ESX Server are used to formatting LUNs, which are areas of space on shared storage such as a storage area network (SAN), with the VMFS file system. VMFS lets multiple nodes access the same LUN simultaneously. Thus, multiple virtual machines (VMs) can be running on one LUN, and each VM could be running on different nodes because the file system is accessible to all nodes at the same time, as the following diagram shows.

[attachment=1:3f3knktv]ntfsvmfs1.jpg[/attachment:3f3knktv]

VMFS performs file locking on the disk by locking virtual hard disks that are in use, to ensure that multiple nodes can’t start the same VM.

With Windows, the clustering process prevents an NTFS file system from being accessed by multiple nodes at the same time, by restricting the disk resource to being online on a single node only. This is known as the shared-nothing model because any resource can be online on only one node at any given time. This single-access model avoids possible corruption to the file system.

Windows doesn’t have a separate cluster file system, which means it isn’t possible to have a LUN active on multiple nodes in a Windows cluster. A separate LUN that must be separately movable between nodes is needed for each unit of a file system, as the following diagram shows.

[attachment=0:3f3knktv]ntfsvmfs2.jpg[/attachment:3f3knktv]

With a separate LUN for each VM, the flexibility to move each VM individually is achieved by simply moving the LUN that houses the VM to another node.

May 27, 2008 - Old    Comments Off on Redirecting localgeek.us to Dynamic DNS name

Redirecting localgeek.us to Dynamic DNS name

I called GoDaddy about my domain name localgeek.us.

They told me that it is possible to “park” the domain name at GoDaddy and have CNAME records for both the root domain name and “www.localgeek.us”, as well as leaving the other DNS records (MX, etc) intact.

To do this, you need to select “Parked my domain here” (not Custom).

Then create an “A” record for localgeek.us which points to 64.202.189.170.

NOTE: It’s important to use this specific GoDaddy IP address when doing this.

Then create CNAME records as shown below for subdomains.

Then setup domain forwarding to http://localgeek.is-a-geek.com

Note: When I parked the domain, it showed an IP address of 68.178.232.100 rather than the one above.

DNS Zone file

ls -d localgeek.us
[ns1.mydomain.com]
localgeek.us. NS ns1.mydomain.com
localgeek.us. NS ns2.mydomain.com

MX records

@ MX 10 ASPMX.L.GOOGLE.COM
@ MX 20 ALT1.ASPMX.L.GOOGLE.COM
@ MX 20 ALT2.ASPMX.L.GOOGLE.COM
@ MX 30 ASPMX2.GOOGLEMAIL.COM
@ MX 30 ASPMX3.GOOGLEMAIL.COM
@ MX 30 ASPMX4.GOOGLEMAIL.COM
@ MX 30 ASPMX5.GOOGLEMAIL.COM
@ MX 60 SMTP.SECURESERVER.NET
@ MX 70 MAILSTORE1.SECURESERVER.NET

CNAME records

webmail CNAME ghs.google.com
start CNAME ghs.google.com
www CNAME localgeek.is-a-geek.com
ftp CNAME localgeek.is-a-geek.com
googleffffffff983143ba CNAME google.com
localgeek.us. CNAME localgeek.is-a-geek.com
sports CNAME localgeek.is-a-geek.com
May 27, 2008 - Linux    Comments Off on Ubuntu: Rename a login ID

Ubuntu: Rename a login ID

In a terminal window, run the following commands (substitute actual names for “old” and “new”)

sudo killall -u old
sudo id old
sudo usermod -l new old
sudo groupmod -n new old
sudo usermod -d /home/new -m new
sudo usermod -c “New Real Name” new
sudo id new

Logoff/restart to see the changes.

Pages:«1...45464748495051...61»