Posts

Showing posts from July, 2013

About -- Git :distributed version control

Git In software development , Git / ɡ ɪ t / is a distributed version control and source code management (SCM) system with an emphasis on speed. [ 3 ] Initially designed and developed by Linus Torvalds for Linux kernel development, Git has since been adopted by many other projects. Every Git working directory is a full-fledged repository with complete history and full version tracking capabilities, not dependent on network access or a central server. Git is free software distributed under the terms of the GNU General Public License version 2. Ref. : https://en.wikipedia.org/wiki/Git_%28software%29 I have few tried to create few test to rewind the skills-set for basic "git" knowledge:- Git: Install : Ubuntu : sudo apt-get install git RHEL/CentOS/Fedora: yum install git Git :User Configuration : #  your name git config --global user.name "Example Name" #  your email-address git config --global user.email "email@gmail.com" # enab...

Updated: RPM package managment - Part 2

[root@RHEL6 ~]# rpm -qa |sort |less            //List all installed packages abrt-2.0.8-15.el6.centos.x86_64 abrt-addon-ccpp-2.0.8-15.el6.centos.x86_64 abrt-addon-kerneloops-2.0.8-15.el6.centos.x86_64 abrt-addon-python-2.0.8-15.el6.centos.x86_64 abrt-cli-2.0.8-15.el6.centos.x86_64 abrt-desktop-2.0.8-15.el6.centos.x86_64 abrt-gui-2.0.8-15.el6.centos.x86_64 abrt-libs-2.0.8-15.el6.centos.x86_64 abrt-tui-2.0.8-15.el6.centos.x86_64 abyssinica-fonts-1.0-5.1.el6.noarch acl-2.2.49-6.el6.x86_64 acpid-1.0.10-2.1.el6.x86_64 aic94xx-firmware-30-2.el6.noarch alsa-lib-1.0.22-3.el6.x86_64 alsa-plugins-pulseaudio-1.0.21-3.el6.x86_64 alsa-utils-1.0.22-5.el6.x86_64 anaconda-13.21.195-1.el6.centos.1.x86_64 anaconda-yum-plugins-1.0-5.1.el6.noarch anthy-9100h-10.1.el6.x86_64 ============================================================= [root@RHEL6 ~]# rpm -qf /etc/host.conf      //Identify the package associated with file setup-2.8.14-20....

Adding new HDD(hard disk) in Linux, detect it without rebooting - Experimented using Vmware

Image
This is explained below :- Im having Vmware 9 with CentOS 6.4 Up-Running. Im adding the hard disk :-   Next> Create a new virtual disk SCSI maximum disk size (GB): 1GB // you can select as per your requirement Additional HDD added:-   select >>OK  Open clone session on SSH : select tail -f /var/log/messages   Keep scanning the host . And, get detected in fdisk as well in /dev/* directory:  echo "- - -" > /sys/class/scsi_host/host0/scan echo "- - -" > /sys/class/scsi_host/host1/scan echo "- - -" > /sys/class/scsi_host/host2/scan As in my case i had host0,host1,host2   When the HDD is detected, in host2:- Remove the Added partition, using the following command:- i.e., # echo 1 > /sys/block/devName/device/delete Example,in our case is "/dev/sdb # echo 1 > /sys/block/sdb/device/delete