How to install postgresql on LINUX

Download postgresql-9.2.4-1-linux-x64.run for CentOS-6 64 bit # chmod x postgresql–9.2.4–1–linux–x64.run # ./postgresql–9.2.4–1–linux–x64.run ———————————————————————— Welcome to the PostgreSQL Setup Wizard.   ———————————————————————— Please specify the directory where PostgreSQL will be installed.   Installation Directory [/opt/PostgreSQL/9.2]: You launch the installer . It asks you

Install Java 1.6 on Oracle Linux

Install Java 1.6 on Oracle Linux

Step : 1 Download : http://download.oracle.com/otn/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin Install Java , Self Extracting package (.bin) Set the path of the Java # chmod 777 jdk-6u45-linux-x64.bin #./jdk-6u45-linux-x64.bin Now , extracting Step : 2 #  alternatives –install /usr/bin/java java  /usr/java/jdk1.6.0_45/bin/java 120 #  alternatives  –config

Install Apache, PHP And MySQL On CentOS 7

  First ,need to install modules rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY*yum -y install epel-release Installing MySQL mysql_secure_installation root@server1 ~]# mysql_secure_installation/usr/bin/mysql_secure_installation: line 379: find_mysql_client: command not found Enter current password for root (enter for none): <–ENTEROK, successfully used password, moving on… Set root password?

Converting RHEL To OEL YUM

# cd /etc/yum.repos.d # wget  http://public-yum.oracle.com/public-yum-ol6.repo # yum repolist Might give an error Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle To resolve this use the following command # rpm –import http://oss.oracle.com/ol6/RPM-GPG-KEY-oracle # rpm -q gpg-pubkey-ec551f03-4c2d256a After the updates are complete system might start