Logon to the ESXI Server where the VM is stored using a product like putty.
The following command lists the datastores:
ls/vmfs/volumes
Logon to the ESXI Server where the VM is stored using a product like putty.
The following command lists the datastores:
ls/vmfs/volumes
export http_proxy=http://proxyserver:portnumber
export https_proxy=http://proxyserver:portnumber
export ftp_proxy=http://proxyserver:portnumber
yum update -y
$ /sbin/route -n
Output:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
191.255.255.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 191.255.255.1 0.0.0.0 UG 0 0 0 eth0
Please note that a destination entry 0.0.0.0 (or default) is the default gateway.
In above example 191.255.255.1 is a default gateway.
Easy way to install virtualbox on Ubuntu
root:~# sudo dpkg-reconfigure virtualbox-dkms dpkg-query
dpkg-query: package ‘virtualbox-dkms’ is not installed and no information is available
Use dpkg –info (= dpkg-deb –info) to examine archive files,
and dpkg –contents (= dpkg-deb –contents) to list their contents.
/usr/sbin/dpkg-reconfigure: virtualbox-dkms is not installed
8 5 5
user group world
r+w+x r+x r+x
4+2+2 4+0+1 4+0+1 = 855
The permission mode is computed by adding up the following values for the user, the file group, and for everyone else. The diagram shows how.
▪ Read 4 – Allowed to read files
▪ Write 2 – Allowed to write/modify files
▪ Execute 1 – Read/write/delete/modify/directory
7 4 4
user group world
r+w+x r r
4+2+1 4+0+0 4+0+0 = 744
Admin Interface > Accounts
and then just click search button with empty text. When search result comes click download button.
Aşağıdaki komut ile sudo dosyası açılır
root#sudoedit /etc/sudoers
daha sonra dosyaya aşağıdaki satır eklenir
[kullanici adi] ALL=(ALL) NOPASSWD: ALL
Daha sonra sudo -s veya sudo su – ile şifresiz root olunur.
route add -net networkaddress netmask 255.255.255.0 gw gateway ip
or only one host
route add -host networkaddress netmask 255.255.255.255 gw gateway ip
color red: change your own ip address
Remote to local copy
#scp -P 22 remote_IP:/home/myfile.gz . (. meaning local current folder)
Local to remote copy
#scp -P 22 myfile.gz remote_IP:/home/
FOLDER COPY
#scp -r -P 22 /folder/name/* remote_IP:/home/
Kill process in Linux or terminate a process in UNIX or Linux systems
Kill command works under both Linux and UNIX/BSD like operating systems.
1. First, you need to find out process PID (process id)
Use ps command or pidof command to find out process ID (PID). Syntax:
ps aux | grep processname
pidof processname