how to install Dig in Ubuntu
sudo apt-get install dnsutils
or
sudo -i
apt-get update
apt-get install dnsutils
sudo apt-get install dnsutils
or
sudo -i
apt-get update
apt-get install dnsutils
sudo -i
Sometimes I get tired to type before every command sudo and sudo -i helps me in that case. Sure I can make a normal root user by just only command passwd without any parameters but ubuntu/debian people constantly remand me that is not a good idea so I will not do that.
sudo apt-get install chromium-browser flashplugin-installer
I don’t really need the flash player but the message “missing plug-in” makes me anxious so I remove Chrome and install Chromium.
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
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
in Gnome main menu:
System | Preferences | Keyboard Shortcuts | Desktop | Lock screen : Mod4+L
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"
users and non-users
dsquery * -limit 0 -filter "mail=*" -attr name mail > emails-in-domain.txt
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
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)