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