5Aug/091
Install the Latest PostgreSQL Yum Repository for CentOS
->
Keeping PostgreSQL updated via yum should be done via the pgdg yum repository supplied by pgsqlrpms.org.
The latest CentOS PostgreSQL repo can be viewed here.
You will need to download the repo and then install using rpm as shown below.
wget http://yum.pgsqlrpms.org/reporpms/8.4/pgdg-centos-8.4-1.noarch.rpm</span></div> <div style="width: 506px;">rpm<span> -Uhv</span><span> pgdg-centos-8.4-1.noarch.rpm
Another helpful postgresql install and management link is located here.
5Aug/090
How to Install the Latest git on CentOS 5 from Source
->
To install the latest git on CentOS 5 you will need to install from source since the yum repos are typically fairly far behind. Follow the instructions below and installing git will be a snap.
- Install Dependencies: First we need to install a couple packages via yum to cover the dependencies for building git from source.
[root@server ~]#cd /usr/local/src [root@server ~]# wget http://www.kernel.org/pub/software/scm/git/git-1.6.0.4.tar.gz
[root@server ~]#tar -zxvf git-1.6.0.4.tar.gz [root@server ~]#cd git-1.6.0.4 [root@server ~]#make prefix=/usr/local all
[root@server ~]#make prefix=/usr/local/ install
[root@server ~]#cd /usr/local/src [root@server ~]#wget http://www.kernel.org/pub/software/scm/git/git-manpages-1.6.0.4.tar.gz
[root@server ~]#cd /usr/local/share/man [root@server ~]#tar -zxvf /usr/local/src/git-manpages-1.6.0.4.tar.gz
[root@server ~]#git --version [root@server ~]#man git
After following the above steps you should be able to successfully use git.
[root@server ~]#yum install curl-devel
[root@server ~]#yum install expat-devel
[root@server ~]#yum install gettext-devel
[root@server ~]#yum install openssl-devel
[root@server ~]#yum install zlib-devel
[root@server ~]#yum install expat-devel
[root@server ~]#yum install gettext-devel
[root@server ~]#yum install openssl-devel
[root@server ~]#yum install zlib-devel