the first script on a fresh box to remove experts-exchange.com

I don’t know why I hate the experts-exchange.com I just cannot help it :(


cp /etc/hosts /etc/hosts-`date +"%y%m%d"`
echo "127.0.0.1 experts-exchange.com www.experts-exchange.com" >> /etc/hosts

add vmware-tools depository in Ubuntu

Get and install public key

$>sudo wget http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub
$>sudo apt-key add VMWARE-PACKAGING-GPG-RSA-KEY.pub

Add a line to file /etc/apt/sources.list like that:

deb http://packages.vmware.com/tools/esx/<esx-version>/ubuntu <dist> main restricted

in my case <esx-version>=4.1 and <dist>=maverick it will be:

deb http://packages.vmware.com/tools/esx/4.1/ubuntu maverick main restricted
$> sudo apt-get update

M$ windows style lock screen in Ubuntu 10.10 ( Maverick Meerkat )

Gnome 2.32.0
System | Preferences | Keyboard Shortcuts | Desktop | Lock screen : Mod4+L

Disable CTRL-ALT-DEL in Ubuntu 10.10 ( Maverick Meerkat )

I have commented “exec shutdown … ” in /etc/init/control-alt-delete.conf.

# control-alt-delete - emergency keypress handling
#
# This task is run whenever the Control-Alt-Delete key combination is
# pressed, and performs a safe reboot of the machine.

description     "emergency keypress handling"
author          "Scott James Remnant "

start on control-alt-delete

# 110624 prevent restart from command line
# task
# exec shutdown -r now "Control-Alt-Delete pressed"

list all emails in domain

users and non-users

dsquery * -limit 0 -filter "mail=*" -attr name mail > emails-in-domain.txt

disable virbr0 interface


sudo virsh net-destroy default
sudo virsh net-undefine default
sudo /etc/init.d networking restart

check

sudo virsh net-list

should be a blank table

vmware ESX 4.0 my standard virtual host v 1.0

vSphere Client
right click on Datacenter || Ctrl+N || File > New > Virtual Machine
Typical [Next]
Name: myVMhost [Next]
Choose a phisical host: esx1.mydomain.com [Next]
Choose a datastore: Vmfs1 [Next]
Choose an Operating System: Linux
Choose a version of OS: Ubuntu Linux (64-bit) [Next]
Choose a virtual disk size: 8 Gb [Next]
Check "Edit the virtual mashine settings before completion" [Continue]
Memory: 4Gb
CPUs: 8
Video card: Auto-detect video settings
VMCI device: check
New CD/DVD: Host Device /dev/scd0
  Connect at power on
New Floppy: [REMOVE]
New NIC: VM Vlan Default
New Hard Disk: [NO CHANGES]
[Finish]

Insert CD with OS into IBM CD/DVD ROM

[Power on the virtual machine]

VMware ESX 4.0 (Kandinsky) based on Red Hat Enterprise Linux Server 5.1 (Tikanda)
vSphere Client (4.0.0 Build 208111)

Vesus beach hotel

VENUS BEACH HOTEL

tel +357 26-94-92-00
fax +357 26-94-92-24

P.O. Box 62309,
CY – 8063 Pafos – Cyprus

group policy, proxy settings for specific department

On a domain controller under Domain/Enterprise Administrator rights
1)

Open Active Directory Users and Computers -> Information Infrastructure -> right click on Specific Department -> Properties -> Group Policy -> select Specific Policy -> Edit -> User Configuration -> Windows Settings -> Internet Explorer Maintenance -> Connection -> Proxy Settings : set IP, Port, Bypass -> [Ok]

2)

Start -> Run -> gpupdate.exe /Target:User /force

Weird Al White and Nerdy

They see me mowin’ my front lawn
I know they’re all thinkin’ I’m so
White and nerdy

Think I’m just too white and nerdy
Think I’m just too white and nerdy
Can’t you see I’m white and nerdy
Look at me I’m white and nerdy
Read the rest of this entry »

←Older