Archive for the 'Linux' Category

Change IP info using config file in Linux (Debian/Ubuntu)

Keep Reading ...

This is just an emple of a the interfaces file which holds the ifconfig information.
Location: /etc/network/interfaces
Static IP (example)
#######################
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 208.88.34.106
netmask 255.255.255.248
broadcast 208.88.34.111
[...]

Mount ISO as cdrom in Linux

Keep Reading ...

To mount an ISO:
mount -o loop /path_to_iso/filename.iso /mnt/cdrom
To unmount the ISO when done:
umount /mnt/cdrom
If your in IT you know coffee is almost as important as the air we breath. Show your support and add to the coffee fund. SHOW YOUR SUPPORT… Add to the coffee fundVN:F [1.6.9_936]please wait…Rating: 0.0/5 (0 votes cast)

w – Linux Command (like “who” but with more info)

Keep Reading ...

The w command shows who is logged in to the system and what they are doing.
A login, logging in or logging on is the entering of identifier information into a system by a user in order to access that system (e.g., a computer or a website). It generally requires the user to enter two pieces [...]

vi – Linux/unix editor

Keep Reading ...

This is one the most important tools to know and could either cause alot of headaches and save you from them. This is most common text editor in Linux and UNIX. People tend to love it or hate it. Either way, it’s nearly always there in any *nix implementation and just by memorising a few [...]

who – linux command

Keep Reading ...

This command allows use to view who is logged on either interactively at the console or via an SSH session. The who command without parameters gives us the basics.
[root@esx1host firewall]# who
root tty1 Jul 25 10:30
root tty2 [...]

su / sudo

Keep Reading ...

su

//

The command “su” stands for “switch user”. And it does just that, it switches users.
When it used without parameters, we are specifying to switch to the user root. However, we can use the su command to switch shell to any user account that we know the password of. In the first example, we are [...]

How to open nautilus browser as root

Keep Reading ...

Just hit “Alt+F2″ an type
gksudo nautilus

OR through terminal…
gksudo nautilus or sudo nautilus.
OR

install the package nautilus-gksu that enables an option when you right-click on a file (also directories and other…) in nautilus: “Open as root”.
After installed it restart GNOME and your Nautilus will have the new feature.

If your in IT you know coffee is almost as [...]

Stop a hung guest on ESX 3.x

Keep Reading ...

I’m guessing that most ESX administrators have experienced at least one time where a VM decides to hang leaving them unable to shut down or restart it.
You have half a dozen production VM’s running, you don’t have VMotion in place and this rogue VM that you need back up and running ASAP is sitting in [...]

Changing the IP address, default gateway and hostname of the Service Console in ESX Server 3.x

Keep Reading ...

These settings can be changed using the Virtual Infrastructure Client or from t he physical or a remote console connection (ILO, RSA, DRAC, etc)
 
See the following sections for details on each method.
 
From the Virtual Infrastructure Client

Highlight the ESX Server host and click on the Configuration tab

Click on DNS and Routing

Click on Properties…

To [...]

Linux Utilities

Keep Reading ...

If your in IT you know coffee is almost as important as the air we breath. Show your support and add to the coffee fund. SHOW YOUR SUPPORT… Add to the coffee fundVN:F [1.6.9_936]please wait…Rating: 0.0/5 (0 votes cast)