Pasting the copied text into vim

Published on

Set pastetoggle in .vimrc file to paste the text/code properly which is copied from web page or windows text file. The Problem When you copy paste the text/code from web page to vim, it will be something like below. howwhywhat       howwhywhat                howwhywhat                        howwhywhat Solution If you already have .vimrc file in your … Continue reading Pasting the copied text into vim

Redhat linux in VMware

Published on

Redhat linux in VMware https://my.vmware.com/web/vmware/details/wkst_800_win/dCVkYnQqdGhiZEBAdA== Download it from there Redhat ISO can be download it from torrents 1. VMworkstation should be install on ur windows machine 2. Download the redhat ISO 3. Open the VM workstation and create new virtual machine 4. It will ask the capacity of hardware like cpu, ram,harddisk size 5. The … Continue reading Redhat linux in VMware

What is inode in linux

Published on

Inode: Inode contains info about the file-size, location, time of last access, time of last modification, permission and so on. Directories are also represented as files and have an associated inode. In addition to descriptions about the file, the inode contains pointers to the data blocks of the file. If the file is large, inode … Continue reading What is inode in linux

How to configure nic bonding

Published on

Linux allows binding of multiple network interfaces into a single channel/NIC using special kernel module called bonding. The Linux bonding driver provides a method for aggregating multiple network interfaces into a single logical “bonded” interface. The behavior of the bonded interfaces depends upon the mode; generally speaking, modes provide either hot standby or load balancing … Continue reading How to configure nic bonding

How to configure Php with Http

Published on

PHP with HTTP2 on Linux. # yum install bzip* # yum install libjpeg-devel # yum install libpng* # yum install gmp-devel* # yum install ncurses-devel* # yum install pspell-devel # yum install curl* # yum install gcc* # yum install libxml2* # yum install gdbm* Download this package or latest. # wget http://apache.mirrors.tds.net/httpd/httpd-2.2.10.tar.gz # wget … Continue reading How to configure Php with Http

How to configure PHP 5 on Centos

Published on

1. Edit CentOS-Base.repo 2. Enable CentOSPlus by changing: #additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever – Plus mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 to: #additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever – Plus mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 3. Run yum yum install php – to freshly install PHP5 Or … Continue reading How to configure PHP 5 on Centos

Linux oracle basics

Published on

Basics linux commands for oracle How to check the oracle instances running on linux server [root@rh5x64-test ~]# ps -ef|grep smon root     12521 12237  0 08:38 pts/1    00:00:00 grep smon oracle   15036     1  0 Jun01 ?        00:00:08 ora_smon_ENG11R1 Oracle main configuration file /etc/oratab contains three data items separated by colons: Eg: ASG920xr:/usr/oracle/9.2.0:Y ASG817xr:/usr/oracle/8.1.7:Y TEST920xr:/usr/oracle/9.2.0:N PROD920xr:/usr/oracle/9.2.0:N . … Continue reading Linux oracle basics