Friday 25 December 2015

Best Purposes To Switch To Linux


 


1. It Doesn’t Crash

Linux has been time-proven to be a reliable working system. Despite the fact that the personal computer is not a brand new position for Linux, such a lot Linux-primarily based programs have been used as servers and embedded systems. High-visibility Web sites corresponding to Google use Linux-based totally techniques, however you can also to find Linux inside the TiVo set-best box in many livingrooms.
Linux has proved to be so dependable and secure that it is commonly found in devoted firewall and router systems utilized by high-profile companies to protected their networks. For more than ten years, it has no longer been uncommon for Linux systems to run for months or years with no need a single reboot.
2. Viruses Are Few and Some distance Among
Even though it’s conceivable to create a virulent disease to target Linux systems, the design of the system itself makes it very difficult to become infected. A single person may just cause local harm to his or her recordsdata by means of working a virus on his or her gadget; however, this may be an remoted instance somewhat than one thing could unfold out of control.
As well as, virtually all Linux companies be offering free on-line security updates. The overall philosophy of the Linux neighborhood has been to handle possible safety issues earlier than they develop into a problem moderately than hoping the susceptibility will move unnoticed.
3. Nearly Hardware-Unbiased
Linux was once designed and written to be easily moveable to other hardware. For the laptop person, because of this Linux has been and most probably at all times will be the first working system to take advantage of advances in hardware era comparable to AMD’s sixty four-bit processor chips.
4. Freedom of Selection
Linux provides freedom of choice as far as which producer you purchase the device from in addition to which application techniques you need to use. Being able to pick the manufacturer way you have a real choice as far as type of enhance you receive. Being open-supply software, new producers can input the marketplace to handle customer needs.

Number of software methods implies that you can choose the tools that perfect cope with your needs. For instance, three popular phrase processors are available. All three are loose and interoperate with Microsoft Phrase, but each and every offers unique advantages and disadvantages. The same is true of Web browsers.
5. Standards
Linux itself and lots of not unusual programs follow open standards. This means an replace on one system won’t make different programs obsolete.
6. Programs, Packages, Packages
Each Linux distribution comes with loads and possibly thousands of software systems included. This alone can prevent lots of dollars for each and every computer system you configure. Even though this can be a very small subset, imagine that the OpenOffice.org place of business suite is incorporated in addition to the GIMP, a software similar to (and many of us say more able than Adobe Photoshop); Scribus, a document structure software similar to Quark Xpress; Evolution, an e mail device similar to Microsoft’s Outlook Specific; and loads more.

For the more technically prone, development equipment, such as compilers for the C, C++, Ada, Fortran, Pascal and different languages, are integrated as well as Perl, PHP and Python interpreters. Editors and versioning gear are also included on this category.
Whether you might be looking for Instant Messaging clients, backup gear or Internet site construction applications, they most likely are all included within your base Linux distribution.
7. Interoperability
Increasingly computer systems are being hooked up to networks. No gadget could be complete if it didn’t come with equipment to allow it to interoperate with computer systems operating different working systems. Once once more, Linux could be very robust in this area.
Linux includes Samba, software that permits Linux to act as a client on a Microsoft Home windows-primarily based network. In fact, Samba includes server amenities such that that you must run a Linux system because the server for a gaggle of Linux and Home windows-based totally shopper systems.
In addition, Linux contains software to network with Apple networks and Novell’s Netware. NFS, the networking era developed on UNIX techniques also is included.
 

8. It is a Community Relationship, No longer a Consumer Relationship
Other working systems are the products of single vendors. Linux, then again, is brazenly advanced, and this technology is shared amongst vendors. This means you transform part of a community rather than a consumer of a single manufacturer. Additionally, the provider community easily can modify to the wishes of quite a lot of user communities reasonably than spouting a “one size suits all” philosophy.
This means you can select a Linux seller that appears to easiest deal with your wishes and really feel confident that it’s essential to transfer companies at a later time with out shedding your funding–both relating to prices and learning.
9. It’s No longer How Massive Your Processor Is…
As a result of a combination of the inner design of Linux and construction contributions from a various neighborhood, Linux tends to be more frugal in the usage of pc resources. This will likely take place itself in one personal computer system operating faster with Linux than with every other working gadget, however the advantages move a ways beyond that. It is imaginable, for instance, to configure a single Linux machine to act as a terminal server and then use outdated hardware as what are called thin clients.
This server/thin client configuration makes it imaginable for older, much less robust hardware to share the tools of an unmarried tough device thus extending the lifetime of older machines.

10. Linux Is Configurable
Linux is a real multi-consumer working system. Every person will have his or her own particular person configuration all on one computer. This includes the look of the desktop, what icons are displayed, what methods are began robotically whilst the person logs in and even what language the computer is in.
 
If anyone want to learn RHCE Training.Please visit on - LinuxWorld, Jaipur
 
 

Thursday 5 November 2015

LVM Thing Provision

The concept of LVM Thin Provision is to create a new size of POOL other than Volume Group (VG) from where you can create very much larger size of Logical volume partition.
Here are few simple steps are given
============================
We can assume that we have an already created Volume Group of   size 5G
============================
Note:   For Your reference i am giving you the steps for creating volume group   for example we have a partition name /dev/sda6
=============================================================
[root@desktop80 Desktop]# pvcreate /dev/sda6
Physical volume “/dev/sda6” successfully created
[root@desktop80 Desktop]#
[root@desktop80 Desktop]# vgcreate tvg /dev/sda6
Volume group “tvg” successfully created
[root@desktop80 Desktop]#
[root@desktop80 Desktop]# vgs
VG   #PV #LV #SN Attr   VSize VFree
tvg   1   0   0 wz–n- 5.00g   5.00g
tvg1   1   3   0 wz–n- 5.00g 256.00m
vol0   1   4   1 wz–n- 73.22g 13.91g
Step 1:   Now we need to create   a ThinPooL
[root@desktop80 ftp]# lvcreate –size 4500M   –thin tvg/pooL1
Logical volume “pooL1” created
Step 2: Now you can create Much larger size partition than 4500M from PooL named pooL1
[root@desktop80 ftp]# lvcreate -V10G   –name LVMthn1 –thin tvg/pooL1
Logical volume “LVMthn1” created
Step 3:   You can format the partition
[root@desktop80 ftp]# mkfs.ext4   /dev/mapper/tvg-LVMthn1
mke2fs 1.41.12 (17-May-2010)
Discarding device blocks: done
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=16 blocks
655360 inodes, 2621440 blocks
131072 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=2684354560
80 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 27 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
Step 4 : Now you can mount and Use LVM
[root@desktop80 ftp]# mkdir /media/LVM
[root@desktop80 ftp]# mount /dev/mapper/tvg-LVMthn1   /media/LVM
Important   : This is very much important to have real size in LVM pooL
————-
Note : We can also extend the size of LVM
==================================
############# LVM PooL extend ##############
[root@desktop80 ~]# lvextend –size +50M tvg/LVMthn1
Rounding size to boundary between physical extents: 52.00 MiB
Extending logical volume LVpooL to 4.74 GiB
Logical volume LVpooL successfully resized

Thursday 17 September 2015

Creating and Restore Backup Using LVM snapshot

Lvm Snapshot is ultimate way for creating a backup of that data which is already present into LVM(Logical Volume Management) devices (LV)-Logical volume.
Example: 1. We have a already created LV(logical volume) from any VG
============
of 5GiB/GB size and have copied lots of data for example 4GB
Important :
==========
When you copy or store data it stores in two maners.
i) Data blocks (original data)
ii) metadata pointers (links and location address)
@@@@@@@@@@@@@@@@@@@@ THe concept of LVM SnapShot @@@@@@@@@
————————————————————
LVM Snapshot make a link to Original LV(Logical volume)
just like soft link of a file or directory which doesn’t required much size.
So if we have 5GB of LV(logical VOlume) then we can have its metadata upto 10-15% (50MB) and We can create LVM snapshot of 50MB
—————–
Practical :24 hours
—————–
Step 1:
=======
Mount your LV (logical volume) which you have already created then fill some data.
[root@desktop69 rhel6]# mount /dev/vgcheck/lvm1 /mnt/new
step 2:
=======
copy some data here
[root@desktop69 rhel6]# touch /mnt/new/abd{1..67}
[root@desktop69 rhel6]#cp -rvf /usr/ /mnt/new
Step3 :
======
Now take a snapshot of LVM
[root@desktop69 rhel6]#lvcreate -s –size 20M –name lvmsnapshot1 /dev/vgcheck/lvm1
check by using lvs or lvdisplay command
Note: Now you can mount it to access the stored data

Thursday 20 August 2015

How to enable bash-completion in ubuntu 14.04

1. You need to reinstall bash-completion by using below command
learning@learning:~/Desktop$ sudo apt-get install –reinstall bash-completion
2. Now you need to write it in .bashrc file like below given at very last line
learning@learning:~/Desktop$ sudo vim /root/.bashrc
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
 
Article Source - http://www.rhce.co.in/how-to-enable-bash-completion-in-ubuntu-14-04/

Saturday 8 August 2015

RHCE Exam Objectives

RHCE exam candidates should be able to accomplish the following without assistance. These have been grouped into several categories.

System Configuration and Management

  • Route IP traffic and create static routes
  • Use iptables to implement packet filtering and configure network address translation (NAT)
  • Use /proc/sys and sysctl to modify and set kernel run-time parameters
  • Configure system to authenticate using Kerberos
  • Build a simple RPM that packages a single file
  • Configure a system as an iSCSI initiator that persistently mounts an iSCSI target
  • Produce and deliver reports on system utilization (processor, memory, disk, and network)
  • Use shell scripting to automate system maintenance tasks
  • Configure a system to log to a remote system
  • Configure a system to accept logging from a remote system

Network Services

Network services are an important subset of the exam objectives. RHCE candidates should be capable of meeting the following objectives for each of the network services listed below:
  • Install the packages needed to provide the service
  • Configure SELinux to support the service
  • Configure the service to start when the system is booted
  • Configure the service for basic operation
  • Configure host-based and user-based security for the service
RHCE candidates should also be capable of meeting the following objectives associated with specific services:

HTTP/HTTPS

  • Configure a virtual host
  • Configure private directories
  • Deploy a basic CGI application
  • Configure group-managed content

DNS

  • Configure a caching-only name server
  • Configure a caching-only name server to forward DNS queries
  • Note: Candidates are not expected to configure master or slave name servers

FTP

  • Configure anonymous-only download

NFS

  • Provide network shares to specific clients
  • Provide network shares suitable for group collaboration

SMB

  • Provide network shares to specific clients
  • Provide network shares suitable for group collaboration

SMTP

  • Configure a mail transfer agent (MTA) to accept inbound email from other systems
  • Configure an MTA to forward (relay) email through a smart host

 To know more about the RHCE Training in Jaipur. please visit on - LinuxWorld Informatics pvt. ltd

 

 

SSH

 

  • Configure key-based authentication
  • Configure additional options described in documentation                
Reference:

Thursday 6 August 2015

Managing Partition in Linux using Parted

Parted is another utility  for managing  hard in linux based os

Step 1:-  To check number of partition  in a hard disk
======

[root@desktop12 ~]# parted  /dev/sda print  
Model: ATA ST3160812AS (scsi)
Disk /dev/sda: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system     Flags
 1      1049kB  538MB   537MB   primary   ext4            boot
 2      538MB   79.2GB  78.6GB  primary                   lvm
 3      79.2GB  79.7GB  537MB   primary   linux-swap(v1)
 4      79.7GB  160GB   80.3GB  extended
 5      79.7GB  82.9GB  3221MB  logical
 6      82.9GB  137GB   53.7GB  logical
 7      137GB   137GB   105MB   logical   ext3
 8      137GB   137GB   524MB   logical   ext4
 9      137GB   138GB   524MB   logical   ext4
10      138GB   140GB   2147MB  logical   ext4
11      140GB   140GB   105MB   logical
12      140GB   140GB   41.9MB  logical
13      140GB   141GB   524MB   logical
14      141GB   143GB   2147MB  logical   ext4

OR
==

[root@desktop12 ~]# parted  /dev/sda 
GNU Parted 2.1
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print                                                            
Model: ATA ST3160812AS (scsi)
Disk /dev/sda: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system     Flags
 1      1049kB  538MB   537MB   primary   ext4            boot
 2      538MB   79.2GB  78.6GB  primary                   lvm
 3      79.2GB  79.7GB  537MB   primary   linux-swap(v1)
 4      79.7GB  160GB   80.3GB  extended
 5      79.7GB  82.9GB  3221MB  logical
 6      82.9GB  137GB   53.7GB  logical
 7      137GB   137GB   105MB   logical   ext3

Step 2: To show create  a new  logical partition 
===================================================

Inside your  hard disk create partition of  2GB

(parted) mkpart  logical  143GB   145GB

Note: quit to exit from partition table

fire partx command to 
[root@desktop12 ~]# partx  -a /dev/sda

step 3: create file system  of desired format 
=============================================

[root@desktop12 ~]# mkfs.vfat   /dev/sda15

step 4: Now mount your partition 
=================================
[root@desktop12 ~]# mkdir  /media/kkk
[root@desktop12 ~]# mount  /dev/sda15  /media/kkk

Now you can save your data and can also made entry in /etc/fstab to make this partition persistance
 
Article Source - http://www.rhce.co.in/managing-partition-in-linux-using-parted/ 

Monday 13 July 2015

Red Hat Certification Training and Red Hat Linux Certification


As increasing numbers of companies migrate to Open Source to reduce IT cost, the need for qualified IT professionals is on the rise. Red Hat enables IT professionals to extend their skill set enabling maximum performance and opportunity.

Whether you need to train a team of IT professionals, or just yourself, Red Hat offers a variety of courses, delivery and customization options to allow for maximize ROI. In those Linux is one. The Red Hat Linux Certification is a week-long course, provides intensive system administration training enabling participants to develop the skills they need to effectively administer Red Hat Enterprise Linux. Participants learn to properly manage a Linux workstation or server, including installation and configuration of local components and services as well as connections to existing network services. This Linux Certification is the fastest-growing credential in all of Linux openings in the market. It's the best first step in establishing Linux credentials. Choose this path as an initial certification when transitioning from a non-UNIX/Linux environment. A Linux certification is earned by a Red Hat Certified System Administrator to person is one who has demonstrated the knowledge, skill, and ability required of a senior system administrator. Professionals holding this certification have continually helped their companies with successful deployments and migrations.

This offers two certifications for Linux involving system administration: the Red Hat Certified Technician (RHCT) and the Red Hat Certified Engineer (RCHE) certifications. RHCT is a performance-based test that measures actual competence on live systems. RHCT is the first step in establishing Linux credentials and is an ideal certification for those transitioning from non-UNIX/Linux environments. RHCE is a performance-based test that measures actual competency on live systems. Called the "crown jewel of Linux certifications," RHCE proves an individual's ability to configure networking services and security on servers running a Red Hat OS. RHCE was recently named the hottest certification in all of IT by CertCities.com.

For getting the red hat Linux certification, first of all you should have well knowledge in Linux course. For this you should select a well named training center for Linux training. In today scenario of IT field no. of institutes are established for offering Linux training. In those we have to choose the best one in the point of time, subject, and money. Through an integrated learning approach that ensures new knowledge to real life applications, the centers deliver a full range of technology and business skills training. Starting from basic application desktop productivity tools to complex IT systems it has all the solutions. Those institutes are positioned to offer the latest curriculum delivered by certified instructors to keep you on the cutting edge of technology & certifications. Whether you are searching for an answer for the complex training needs of a large multi-location business or an individual seeking the skills to excel in a new or expanding career path, many centers comes to your integrated learning solution.

he IT companies hiring professionals who has this Linux Certification in the increasing ratio when compares to other persons in the market. Also they have well reorganization in the market and they earn good scale. If you also wish to get a good career in Linux environment, first you will step into it by choosing a good Linux training center and then you clear your way in to certification exams. Those training and certifications are give you more weight to your career in this field. We wish that you would start your career in a better way in your dream field compared to others. Wish you all the best

Sunday 5 July 2015

Linux - Open Source Operating System

At the heart of all software is source code - the programs that perform basic functions. With open source software, this code is protected by a special license that ensures everyone has access to that code. That means no one company can fully own it. Freedom means choice. Choice means power.

That's why we believe open source is inevitable. It returns control to the customer. You can see the code, change it, and learn from it. Bugs are quickly found and quickly fixed. And when customers don't like how one vendor is serving them, they can choose another without overhauling their infrastructure. No more technology lock-in. No more monopolies.

We believe the open source model builds higher quality, more secure, more easily integrated software. And it does it at a vastly accelerated pace - often at a lower cost.

Open source spans platforms, middleware and applications. From data center to desktop. We help enterprises take full advantage of the capability and cost savings of open source-letting them do more with the technology they already have.

The subscription model allows Red Hat to have a mutually beneficial, cyclical relationship with customers:
Deliver new technology as soon as it's available.

Provide unlimited support at no additional cost.
And finally, the feedback we get from regularly working with you helps us deliver better technology tomorrow.

The benefits of choosing Red Hat
Red Hat is a leading contributor to the development of open source software. In fact, as noted by a couple of recent surveys, Red Hat is the leading corporate contributor to the most important open source project of all, the Linux kernel. Because Red Hat is the largest corporate contributor to the kernel, and able to influence features and strategy, this is an area where Red Hat is well-positioned.

A huge ecosystem of hardware and software partners offers both services and certified solutions, in collaboration with the industry leader. This powerful combination provides:

Thousands of certified applications from Independent Software Vendors (ISVs)
  Hundreds of certified hardware systems and peripherals from leading OEM vendors, spanning multiple processor architectures

Comprehensive service offerings with up to 24x7 support and a 1-hour response time, available from Red Hat and selected ISV/OEM partners

Excellent performance, security, scalability, and availability, with audited industry benchmarks
Open source technologies that are rigorously tested and matured through the Red Hat-sponsored Fedora project.

Quantum is proud to announce its partnership with Red Hat for much in demand RedHat certified Engineer (RHCE) and RedHat certified System Administrator (RHCSA) programs. These certifications provide demonstrated knowledge, skill and ability required to handle the Red Hat Enterprise Linux systems.

Tuesday 30 June 2015

Get Red Hat Training to become a highly sought after Linux professional

Red Hat training classes getting even hotter this season
In today's arena, Linux has the biggest user base, similar to how Microsoft dominates on our desktops. It goes without saying that over the years, Linux has increased its dominance aggressively. Presently, there is a growing demand for Linux skilled professionals, who really enjoy better services, like higher pay packs, career boosts and value in the organization etc.

IT is considered as the most important Linux distribution. Linux certification holders are equipped with the knowledge that involves troubleshooting, system administration and installation. To retain and develop their own professional standards, Linux certifications are challenging but with the correct preparation for the certification exams and proper Red Hat hands-on trainings, one may easily pass the exams.

Linux, undoubtedly has much advantage over some of the other leading operating systems, when it comes to IT security sphere, it becomes more prominent. Because of these sharp and well tuned security features, among the other prominent features, many Government and Military agencies has jumped on the Linux and Linux technologies quite early.

Linux training has been growing tremendously over the years; many organizations are providing on-site training classes for groups. There are other options where individuals may also join Linux training classes. There are many learning methodology, like Linux training bootcamps, Red Hat live instructor led virtual classes, Red Hat on-site corporate trainings etc.

Certain LInux certification courses in demand:
RHCSA certification - The recent survey and feedback analysis performed on IT professionals worldwide, shows that Red Hat Certified System Administrator certification is considered as a new addition to the Red Hat's list of performance based certifications. It equips IT professionals with best training and performance based assessments in the industry. RHCSA certification indicates and displays precise and thorough analysis of the knowledge and skills required for the contemporary system administrators.

RHCSA certification is the foundation level system administration certification. Developed lately, for professionals who wish to earn RHCE on RHEL 6 now, must attain RHCSA certification and write separate exam for RHCE. The current certification will still remain the pre-requisite; however RHCE is now upgraded as a higher level system administration certification from Red Hat.

RHCE certification - Being a globally recognized credential, Linux Certified Engineer, is well respected and valued across industry. The IT professionals having cleared this credential displays good level of knowledge in using and troubleshooting Red Hat Enterprise. Some of the topics included are advanced, like package management, kernel configuration, system services, network configuration, mail services and virtualization.

Friday 12 June 2015

How to configure ISCSI target in Redhat 7

@ Motive behind iscsi protocol is to send hard disk (block device) over the network
@ In redhat 7  we are going to setup a cli target
Step 1 :  To setup target you need to install software which is in version 7 (targetcli)
[root@redhat7 Desktop]# yum install targetcli
step 2 : There is no need to start the service or open configuration file so use targetcli command
====
[root@redhat7 Desktop]# targetcli
targetcli shell version 2.1.fb34
Copyright 2011-2013 by Datera, Inc and others.
For help on commands, type ‘help’.
/>                                                            # this is the prompt of targetcli
i)  To list the architecture of iscsi target
/> ls
o- / …………………………………………………………… […]
  o- backstores …………………………………………………. […]
  | o- block ………………………………………. [Storage Objects: 0]
  | o- fileio ……………………………………… [Storage Objects: 0]
  | o- pscsi ………………………………………. [Storage Objects: 0]
  | o- ramdisk …………………………………….. [Storage Objects: 0]
  o- iscsi ……………………………………………….. [Targets: 0]
  o- loopback …………………………………………….. [Targets: 0]
/>
ii) To create a iscsi target block
/> cd  /backstores/block
/backstores/block>
/backstores/block> create  newhd  /dev/sda7
Created block storage object newhd using /dev/sda7.
/backstores/block>
iii)  To  create an  IQN number use below stpes
/backstores/block> cd /iscsi
/iscsi>
/iscsi> create                                                               # create command will automatically IQN number
Created target iqn.2003-01.org.linux-iscsi.redhat7.x8664:sn.66955d1bd65c.
Created TPG 1.
/iscsi>
OR you can give your own IQN number in proper format
/iscsi> create  iqn.2014-10.com.example:iscsit
Created target iqn.2014-10.com.example:iscsit.
Created TPG 1.
/iscsi>
iV)  Now you need to configure the iscsi hard disk for client with given properities like acls , luns , portals
     ==========================================================================================================
/iscsi> cd /iscsi/iqn.2014-10.com.example:iscsit/tpg1/
/iscsi/iqn.20…e:iscsit/tpg1>
/iscsi/iqn.20…e:iscsit/tpg1> ls
o- tpg1 ……………………………………….. [no-gen-acls, no-auth]
  o- acls …………………………………………………. [ACLs: 0]
  o- luns …………………………………………………. [LUNs: 0]
  o- portals ……………………………………………. [Portals: 0]
 A)  Create a portal so that client can connect and access hard disk
 /iscsi/iqn.20…e:iscsit/tpg1> portals  create
Using default IP port 3260
Binding to INADDR_ANY (0.0.0.0)
Created network portal 0.0.0.0:3260.
/iscsi/iqn.20…e:iscsit/tpg1>
Note : IT will automatically create  3260 port binded with all ip of ISCSI server
Important:  You can create you won port and also can bind with any server IP using below step
=========
/iscsi/iqn.20…e:iscsit/tpg1> portals  create   192.168.0.20  1234
Created network portal 192.168.0.20:1234.
/iscsi/iqn.20…e:iscsit/tpg1>
B)  You also need to create a Logical unit number or Luns  for client hard disk
/iscsi/iqn.20…e:iscsit/tpg1> luns/  create /backstores/block/newhd
Created LUN 0.
/iscsi/iqn.20…e:iscsit/tpg1>
C)  By default acls must be implemented in version 7 .To two disable acls use below given steps
i)
/iscsi/iqn.20…fb47f492/tpg1> set  attribute  authentication=0
Parameter authentication is now ‘0’.
/iscsi/iqn.20…fb47f492/tpg1>
ii)
/iscsi/iqn.20…fb47f492/tpg1> set  attribute  generate_node_acls=1
Parameter generate_node_acls is now ‘1’.
/iscsi/iqn.20…fb47f492/tpg1>
Now you can login via any client and use Targetcli from command line which same as Redhat version 6

Friday 29 May 2015

How to Setup GiThub account in ubuntu/Debian flavour

For beginner’s GITHUB is the treasure of centralized repository system which growing the speed of beyond the limitation of your thinking so lets start manager our source code using git hub created by linus torvalds
To setup on your local linux system
Step 1:- Install git software using below given command
=======
root@kali:sudo apt-get install git
Step 2: Create a directory where you want to keep your projects or code
======
root@kali: mkdir /myrepo
Step 3: change directory to recently created directory
=======
root@kali: cd   /myrepo
Step 4:- Do some basic setups and configuration like your username and email_id
=======
root@kali: git config –global user.name “redashu”
root@kali: git config –global user.email “myemail@gmail.com”

Step 5: Now its time to create your new repository
=======
root@kali: git init   redrepo
Note: here redrepo is simply your repository name which can be any name as per your convenience
it will also create a new directory of your repository name

Step 6: Go to that directory which is recently created that is redrepo
======
root@kali: cd /myrepo/redrepo
step 7: now you can write any code in any language for example i am writing in python language
======
root@kali:cat   >a.py
Print “this is what i want!! ”
Note: I have written my code using cat command you can write in your favourite editor
Step 8: Now add your code to repo
======
root@kali: git add a.py
Step 9: Now commit your code for persistence
root@kali: git commit -m “this is my first code in python at GIt hub “
Step 10: Now go to https://github.com/ and create an account of same name and address which you have created on your local system
Step 11: Now test your local system with real account using below method which is login to your account using Linux command
root@kali: git remote add origin https://github.com/redashu/redrepo.git
Note: Here redashu will your username which you have created before and redrepo will be your reponame
Step 12: Now you can push your local machine code into Real git world
root@kali: git push origin master
Note if in any case you received any error like push failed then use
root@kali: git push -f origin master
Now enjoy your Global and downloaded or pull the codes from anywhere!!

Tuesday 12 May 2015

How to install Pip in Redhat 6

Note: PiP is a python module and library installer.
To install this command in RedHat Linux 6 first of turn on EPEL repo
STEP 1: Download the pip in Linux
======
root@kali: $ wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
Step 2: Install it by using rpm command
root@kali $: rpm -ivh epel-release-5-4.noarch.rpm
OR you use a single step on spite of step 2 and step 3
root@kali $: rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Step 3: Now install pip
root@kali: $ yum -y install python-pip
One example of installing python module using pip:
=================================================
root@kali $: pip install netifaces
Note: netifaces is a networking module in python use to check network and ip information
root@kali:python
Python 2.7.3 (default, Mar 13 2014, 11:03:55)
[GCC 4.7.2] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
>>> import netifaces as neti
>>> neti.ifaddresses(‘wlan0′)
{17: [{‘broadcast': ‘ff:ff:ff:ff:ff:ff’, ‘addr': ’70:f3:95:af:ac:81′}], 2: [{‘broadcast': ‘192.168.0.255’, ‘netmask': ‘255.255.255.0’, ‘addr': ‘192.168.0.102’}], 10: [{‘netmask': ‘ffff:ffff:ffff:ffff::’, ‘addr': ‘fe80::72f3:95ff:feaf:ac81%wlan0′}]}
>>> neti.ifaddresses(‘wlan0′)[2][0][‘addr’]
‘192.168.0.102’
>>>
SO to check ip address we can use netifaces in python

Article Source - http://www.rhce.co.in/how-to-install-pip-in-redhat-6/

Friday 1 May 2015

Get Red Hat Training to Become a Highly Sought After Linux Professional

Red Hat training classes getting even hotter this season
In today's arena, Linux has the biggest user base, similar to how Microsoft dominates on our desktops. It goes without saying that over the years, Linux has increased its dominance aggressively. Presently, there is a growing demand for Linux skilled professionals, who really enjoy better services, like higher pay packs, career boosts and value in the organization etc.
Linux, undoubtedly has much advantage over some of the other leading operating systems, when it comes to IT security sphere, it becomes more prominent. Because of these sharp and well tuned security features, among the other prominent features, many Government and Military agencies have jumped on the Linux and Red Hat technologies quite early.
Red Hat training has been growing tremendously over the years; many organizations are providing on-site training classes for groups. There are other options where individuals may also join these training classes. There are many learning methodologies.
Certain Red Hat certification courses in demand:
RHCSA certification - The recent survey and feedback analysis performed on IT professionals worldwide, shows that Red Hat Certified System Administrator is considered as a new addition to the Red Hat's list of performance based certifications. It equips IT professionals with best training and performance based assessments in the industry. This certification indicates and displays precise and thorough analysis of the knowledge and skills required for the contemporary system administrators.
RHCSA certification is the foundation level system administration certification. Developed lately, for professionals who wish to earn RHCE on RHEL 6 now, must attain this certification and write separate exam for RHCE. The current certification will still remain the pre-requisite; however RHCE is now upgraded as a higher level system administration certification from Red Hat.
RHCE certification - Being a globally recognized credential, RHCE, is well respected and valued across industry. The IT professionals having cleared this credential displays good level of knowledge in using and troubleshooting Red Hat Enterprise. Some of the topics included are advanced, like package management, kernel configuration, system services, network configuration, mail services and virtualization.
Who should attend
* System administrators who currently manage Linux servers, at the enterprise level
* Skilled Linux system administrators who want or require demonstrating their competencies
* Professionals who wanted to build their careers further, and planned to get RHCE being the prerequisite to the higher level certifications.
Linux here continues their practice of evaluating knowledge and skills through hands-on, lab- based exam. So, like other certification of Red Hat, this is also a performance based test where, students have to install, configure, implement and troubleshoot network and security networks on live systems.

Article Source: http://EzineArticles.com/6490130

Wednesday 4 March 2015

7 Top Information Technology and Technician Exams For Certifications

If you happen to be a professional working in the Information Technology (IT) industry, you would be aware of the intensely competitive nature of the industry and the constant need it imposes on an IT professional to upgrade skill sets as technology evolves. You may have felt the need to conquer a new technology or upgrade your existing skill set or just to see where you stand among your peers. If this is the case, it is time to explore the advantages that acquiring an IT certification can provide.
Many vendors and third party bodies offer IT certification. Choosing the right IT certification would depend on what your current line of work is. Whether you plan to build on your existing skills or strike out a radically different course professionally, you have to make a decision on the type of certifications. You may opt for a certification provided by vendors like Microsoft, Oracle or Cisco or go in for certification by professional bodies like CompTIA.
Here are seven most sought-after IT certifications in no particular order:
- CompTIA Security+ - This is a certification for IT professionals with at least two-years of industry experience. It is not vendor-specific and is a test of the professional's knowledge of the fundamentals of security.
-Cisco CCIE/CCNA - This is a certification provided by Cisco Systems for networking professionals. The CCIE is a comprehensive certification for experts, and the CCNA is meant to improve the skills of those with some experience.
-CompTIA A+ - This is tailored for validating the expertise in hardware and can be a valuable certification for computer-related maintenance and support professionals.
-Microsoft MCITP - MCITP stands for Microsoft Certified IT Professional and is a prestigious one meant for professionals in database, enterprise and server administration. This new certification offered by Microsoft assesses an individual's capability in meeting the demands of common job roles in the IT industry.
-Microsoft MCSE/MCSA - MCSE (Microsoft Certified Systems Engineer) and MCSA (Microsoft Certified Systems Administrator) are two of the earliest certifications offered by Microsoft that still command respect in the industry. Both certifications demand a certain level of experience and involve a number of grueling examinations.
-Microsoft MCA - MCA (Microsoft Certified Architect) is a certification open to professionals who have a minimum of three years of experience on advanced IT architecture. This is a peer-evaluated certification and is awarded to very few of the aspirants. Obtaining this is considered an achievement in itself and is rated highly in the industry.
-RHCE/RHCA - With the proliferation of Linux based systems, there is a great demand for certified Linux professionals and RHCE (Red Hat Certified Engineer) and RHCA (Red Hat Certified Administrator) are two certifications awarded by Red Hat Inc.; one of the prominent distributors of Linux Operating Systems.

Tuesday 24 February 2015

Evolution of Red Hat Courses and Exams with Red Hat Enterprise Linux 7

Red Hat Enterprise Linux 7 represents an exciting next step in the continued evolution of the product family and is perhaps the most comprehensive update in the 11 years I’ve been with the company. New tools such as systemd, firewalld, OpenLMI and others changes the paradigm for enterprise Linux administration by providing greater centralization and automation for the administrator. Other enhancements improve performance, security and scalability. Red Hat Training has substantially updated the RHCE level curriculum to integrate these improvements. The technical changes in the new release are such that even veteran, practicing Linux administrators should consider taking additional training.

In addition to incorporating new technical features from Red Hat Enterprise Linux 7, major releases provide an opportunity for Red Hat Training to make structural changes to improve our curriculum. Over the past two years we’ve surveyed our customers, partners and instructors and have been looking forward to the opportunity to make these changes. There are four enhancements I’d like to call out specifically.

1) Red Hat System Administration I (RH124) is the entry point to the Linux curriculum and is the first 5 days of the nine day curriculum leading to RHCSA certification. Based on customer feedback, we have substantially increased the command line administration approaches in the new course, diving right in on day one. In turn we will be retiring the Red Hat Command Line Administration (RH190) course.

2) Following feedback from our certified professionals community, the Red Hat System Administration III course (RH255) has been revised to include several chapters on shell scripting. The course continues to cover key network services such as Apache, DNS, iSCSI and also provides a tech preview of the new container features in Docker.

3) Perhaps the change I’m most excited about is the new Red Hat Certification Lab course (RH300) which replaces the flagship RHCE Rapid Track Course which first ran 15 years ago. The reality is that as Linux has become a true enterprise platform, the requirements to be a Red Hat Certified Engineer have grown commensurately. Red Hat’s courses are dense and its simply not possible to cover the thirteen days of content in Red Hat System Administration I, II and III in four days.

The new Red Hat Certification Lab course seeks to meet the very specific needs of students who have completed their training and desire practice before taking the RHCE exam. Students will spend 80-90% of their time “in labs”, complimented by a handful of lectures by an instructor on key new functionality like systemd, firewalld and the new boot process. Labs will be self-paced, with the instructor serving more as a teaching assistant as students require assistance. Students will have access to the full set of labs for both the RHCSA Rapid Track course (RH200) and the Red Hat System Administration III (RH255), providing comprehensive coverage for the competencies which are presented in the RHCSA and RHCE exams.

4) Over the past four years live virtual training (VT) and self-paced training have become primary delivery methods for our customers. To address those needs, the updated course materials and labs were redesigned to be completely inter-operable between different modalities, ensuring our customers get the same learning experience. Our self-paced training platform, Red Hat Online Learning (ROLE), is ready to deliver the System Administation I & II courses and the RHCSA Rapid Track globally via six Amazon EC2 data centers. The System Administration III course and the RHCE Certification Lab will be available in coming weeks as will translations of all five courses into eight other languages.

If anyone want to learn any Newest Technology like Bigdata hadoop, Cloud Computing, Openstack, Linux, Cisco and many more Technology  in Summer Internship than Visit - LinuxWorld Informatics Pvt. Ltd. Jaipur

Tuesday 6 January 2015

Some Amazing tips for networking with nmcli

When team interface is up you can check that how many interface is connected :
[root@localhost ~]# teamdctl  team0 state
setup:
runner: activebackup
ports:
ens6
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
ens7
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
runner:
active port: ens6
[root@localhost ~]#
Note: Here two different ports are connected ens6 , ens7
To disconnect any ports :
=======================
[root@localhost ~]# nmcli  device  disconnect ens6
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# teamdctl  team0 state
setup:
runner: activebackup
ports:
ens7
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
runner:
active port: ens7

Article Source - http://www.rhce.co.in/amazing-tips-networking-nmcli/