Oracle VM Site Review - Oracle VM Health Check
view counter

Servers & Storage Feed

Sun Servers and Storage, Solaris, Oracle Linux, Red Hat Linux, Oracle VM for x86, Oracle VDI and Virtualization resources, news, and support articles.

Compling ANTLR 2.7.7 on CentOS 6

What is ANTLR?
ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing Java, C#, C++, or Python actions. ANTLR provides excellent support for tree construction, tree walking, and translation. There are
Step 1: Download ANTLR 2.7.7
Step 2: Untar ANTLR-2.7.7

SPARC the Base: Refresh & Save 6-in-1 Offer -- webcast replay and resources

On Thursday November 13th we ran the “SPARC the Base:
Refresh & Save 6-in-1 Offer” webcast for partner globally. 

The link to the webcast replay is:  “SPARC
the BASE: Refresh & Save 6-in-1 Offer
”.

PXE booting for Oracle Solaris using Windows DHCP server

A quick blog entry about getting Solaris PXE boot working with Microsoft Windows DHCP server. I was always told it was easy but I never managed to get it to working even though a lot of people I talked to had it working.

The problem was that our network was not correctly configured for PXEbooting. Problem was our network need PortFast enable (Good Ref: Spanning Tree Protocol (STP) and PortFast).

Ansible – disable gather facts

 
When we execute an ansible playbook by default it will gather facts of operating system first and then execute tasks listed in it.
Its always not required to gather facts & if we have too many hosts it will take more time to execute a playbook.
To mitigate this we need to disable gather facts with “gather_facts” attribute in ansible playbook.
By default gather_facts attributes value is True, to disable it we need to set it as False.
gather_facts: False
Here is my play book example with gather_facts: False

Free on-line Introduction to Linux course

In August 2014, more than 300,000 people registered for the first offering of the Introduction to Linux course. This popular Massive Open Online Course (MOCC) is taught by the Linux Foundation, and hosted on edx. The same course starts again on January 5, 2015. The course is designed for people who have limited or no previous exposure to Linux.

SSH Fingerprint and Hostkey with Paramiko in Python

Following on from SSH and SFTP with Paramiko & Python, I recently had the need to gain a remote SSH server’s fingerprint and hostkey for verification purposes. This is achievable through setting up a socket, and then applying paramiko.Transport over our established socket. First, we include the various bits and pieces we’ll need:

Ansible tags

 
To run specific part or exclude specific part in a playbook we an use tags attrubute.
Here is my example playbook with name tags_example.yml:

---
- hosts: all
tasks:
- name: Hello
shell: "echo hello"
tags:
- hello

- name: Bye
shell: "echo bye"
tags:
- bye

In above playbook we have two tasks Hello and Bye with tags hello and bye tags respectively.
To execute above playbook use following command:

Linux Namespaces

Starting from kernel 2.6.24, Linux supports 6 different types of namespaces. Namespaces are useful in isolating processes from the rest of the system, without needing to use full low level virtualization technology.

SSH and SFTP with Paramiko & Python

Paramiko is a Python implementation of SSH with a whole range of supported features. To start, let’s look at the most simple example – connecting to a remote SSH server and gathering the output of ls /tmp/

Simple IMAP Account Verification in Python

imaplib is a great library for handling IMAP communication. It supports both plaintext IMAP and IMAP over SSL (IMAPS) with ease. Connecting to an IMAP server is achieved as follows:

view counter