Setup SSH RSA passwordless access and solve the Permission denied (publickey,gssapi-keyex,gssapi-with-mic) message

The image below gives a summary of what needs to be done.

Continue reading

Share Button

Windows 2008-R2 – Active Directory – Unable to delete an OU due to lack of privileges

Once you create an OU you can delete it by doing the following:

– Start -> Administrative Tools -> Active Directory Users and Computers

– Then select View -> Advanced Features

– Highlight your OU and go to Properties and uncheck “Protect from accidental Deletion”

Share Button

CentOS – Configure a basic NFS – Part 1

NFS allows users to access files over the network as if the files are stored locally on the client’s machine. This is a basic how to on how to setup NFS on CentOS.

Continue reading

Share Button

ESXi 5 – How to change the network hostname of your ESXi server

You can either change the name via the vSphere client or by editing the /etc/hosts file.

1st) Edit file via vSphere.

– Select your ESXi server on the tree of machines on the left side of vSphere.

– Go to configuration Tab and select DNS and Routing.

Select Properties.

On the DNS configuration check the “Use the following DNS server address”. Make sure it is pointing to your DNS server.

– Under “Name” enter the name of your choice and whatever domain you wish to enter.

 

2nd) Edit the /etc/hosts file.

Vi your /etc/hosts file

Here is how my config file looks like

10.0.0.40  VirtualMayhem2.localdomain  VirtualMayhem2

Share Button

CentOS: How to edit your NIC via the command line

There are several ways you can edit the settings of your NIC via the command line. All changes take effect right away. You can pass new configuration data directly by the command prompt or by editing the actual file responsible for the active NIC. The first method is temporary because in a case of a reboot the machine may get a new IP from the DHCP server. The second method ensure that the changes are permanent.

Continue reading

Share Button

ESXi 5 and how to start SSH – NTP – ESXi Shell – Active Directory Service and so on.

In previous versions users had to access directly the ESXi server in order to re-configure configuration files to enable services that VMware did not want to support. However in ESXi5 these services can be enabled/disabled by using the vSphere Client. It is very simple.

Continue reading

Share Button

Protecting your root account in CentOS6 Part 1 – sudo command

The “sudo” command allows to run programs under root privileges or under the privileges of another user. This is done in order to avoid logging in as root each time you want to execute a program that requires elevated privileges. With sudo for example you can assign user “george” to run a specific set of commands. User “george” will need to enter his own password to execute those commands. In other words user “george” is not logging in as root.  The “sudo” command is very useful because you can create groups of users and actual groups that run a specific set of commands and another set of users/groups that run another set of commands. In no point any of these users will access the root account when “sudo” is setup.

Continue reading

Share Button

Linux General fixer-uppers

General troubleshooting tips for Linux.
Share Button

Join a VMware ESXi server to an Active Directory

This tutorial will show how to add an ESXi Hypervisor 5.0 server to a Windows 2008-R2  Active Directory by using vSphere Client.

Continue reading

Share Button

Windows 2008-R2: Add a computer to a Domain

In this tutorial we will add a computer to our newly created domain. There are some configuration changes that need to be made on the machine that we will add on the domain.  This change basically is to point the DNS away from your router and point to your new DNS which is the actual server we are setting up. This will be the only way the machine will know where to look for the Domain…..and lets get started.

Continue reading

Share Button