Feb
25
Posted on 25-02-2011
Filed Under (General) by Pravin Ganore

1. Ability to use search engines (google in particular). Why?? Because 90% of cases accelerate solution for the problem within ten minutes. Incidentally, it is helpful for not only system administrators but for everyone.

2. Knowledge of English. Why?? Because virtually all of the useful documentation is in English. There are good articles, but still a lot of dross. In addition, the literature is not in the native language, or the quality of translation prevents proper understanding of the content. The developers of various software also typically communicate on their mailing lists in English, not in Hindi or any other languages.

3. Understanding the ISO / OSI and TCP / IP stack. Why?? It allows you to gain skills in diagnosing network problems by several orders of awareness of potential problems and opportunities of network protocols, as also to properly configure the routing and packet filters. You may not know / be able to solve these problems at random and only be able to install Windows and Office.

(0) Comments    Read More   
Feb
02
Posted on 02-02-2011
Filed Under (General) by Pravin Ganore

Python is a programming language of high level, interpreted, imperative, object oriented, dynamically typed and strong. It’s probably the programming language that is more easy and pleasant to deal with. It is a multi platform language, i.e. the same program can run Python in Windows, Unix, Linux , BSD and MacOsX.

Currently in version 3, but still install the Linux version 2 by default. The Python 3 is an evolution of version 2, introduced new practices to improve the character of the python and some old practices are no longer appropriate or necessary in Python 3.

This article has been tested on CentOS-5 Operating System

Installation

To deploy it you follow the step below:

Installing needed packages

Yum install gcc

To download the current version of Python, which can be found at

http://www.python.org/download/

(In this article we will use the Python version 3.1.1)

# Cd / usr / local / src
# Wget http://www.python.org/ftp/python/3.1.1/Python-3.1.1.tgz

Unzip the package:

# Tar zxvf Python-3.1.1.tgz

Go to the folder:

# Cd Python-3.1.1

By default it installs in / usr / local use the option-prefix = / usr so that it is installed in the same directory python2.

Now let’s compile and install:

#. / Configure-prefix = / usr
# Make
# Make install
.

Testing

Create a file teste.py with the following contents:

# Vi / root / teste.py

# / Usr/bin/python3

print (‘Hello’, ‘World’)

Give execution permission to the file:

# Chmod + x / root / teste.py

We can run it in two ways:

Python3 # / root / teste.py
Hello World!

or

# / Root / teste.py
Hello World!

(0) Comments    Read More   
Dec
16
Posted on 16-12-2010
Filed Under (Virtualization Techniques) by Pravin Ganore

As you know, the virtualization platform Microsoft Hyper-V Servers R2 SP1 allows you to redistribute the available memory between the guest OS virtual machine (each machine has a guaranteed minimum, and used memory can grow dynamically up to a certain limit).

But to make Dynamic Memory beautifully worked for large loads Parent Partition host (for example, Hyper-V you have installed on your laptop), it is necessary to guarantee the memory of the main host system. It is simple:


Create a branch of the registry HKLM: \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Virtualization key DWORD value named memory reserve  as the value indicates the number of megabytes to reserve memory for the parent partition.

It is clear that if you set too high – the memory is idle, is too small – the host OS will slow down due to distribution of free memory of the guest OS.

(0) Comments    Read More