How to install Python 2.7.6 on CentOS 6.3

How to install Python 2.7.6 on CentOS 6.3

(6.2 and 6.4 okay too, probably others)

CentOS 6.2 ships with Python 2.6.6 and depends on that specific version. Be careful not to replace it or bad things will happen. If you need access to a newer version of Python you must compile it yourself and install it side-by-side with the system version.

Here are the steps necessary to install Python 2.7.6. Execute all the commands below as root. Either log in as root temporarily or use sudo.

[Read more…]

Configuring Cisco on Mac Os through the console port

You'll need to get a usb-serial adapter and then connect with a console cable. 

Connecting to the Console Port with Mac OS X. To connect a Mac OS X system USB port to the console using the built-in OS X Terminal utility, follow these steps:
Step 1. Use the Finder to go to Applications > Utilities > Terminal.

Step 2. Connect the OS X USB port to the router.

Step 3. Enter the following commands to find the OS X USB port number:

[Read more…]

Installing Chef on Centos 6

Today we will install chef server in our home lab based on proxmox 3.4.6. So we have installed server 2cpu, 2Gb memory, Centos 6.7

First of all I switched off selinux, and configured hostname of server in /etc/sysconfig/network and /etc/hosts

Let's go on:

#wget https://web-dl.packagecloud.io/chef/stable/packages/el/6/chef-server-core-12.1.2-1.el6.x86_64.rpm

# rpm -Uvh chef-server-core-12.1.2-1.el6.x86_64.rpm

# chef-server-ctl reconfigure

[Read more…]

Free SSL certificate for 3 years and up to 100 domains

 More and more people reconfigured their sites to ssl connection. So I decided to use ssl certificate and secure connection on my blogs too.

The Chinese CA WoSign offers free SSL certificates which are valid for 2 years and may contain up to 100 domains each (multi-domain/SAN/UCC) which is very useful to host various domains on one single IP address (Better option than SNI if you still have Windows XP clients). Before you stop reading because you don't trust a Chinese company for your website encryption please keep in mind that you don't have to trust them at all! You generate the SSL key on your server and only send them the CSR (certificate signing request) which doesn't contain any private information.

[Read more…]

VMware Tools for Nested ESXi

Wow. You can install VMware Tools for Nested ESXi now. The VIB package provides a VMware Tools service (vmtoolsd) for running inside a nested ESXi virtual machine. The following capabilities are exposed through VMware Tools:

  • Provides guest OS information of the nested ESXi Hypervisor (eg. IP address, configured hostname, etc.).
  • Allows the nested ESXi VM to be cleanly shut down or restarted when performing power operations with the vSphere Web/C# Client or vSphere APIs.
  • Executes scripts that help automate ESXi guest OS operations when the guest’s power state changes.
  • Supports the Guest Operations API (formally known as the VIX API).

[Read more…]