Perşembe, Haziran 19, 2014

Create a yum Repository from the RHEL 6 DVD

Create a dvd.repo text file in /etc/yum.repos.d/ with the following content:

[dvd]
#mediaid=xxxxxxxxxx.xxxxxx
name=DVD for RHEL6
baseurl=file:///media/dvd/Server
enabled=1
gpgcheck=0

Cuma, Haziran 13, 2014

How to install Redis stable on Centos 6.5


wget http://download.redis.io/redis-stable.tar.gz 
tar xvzf redis-stable.tar.gz
 cd redis-stable
make
make install
cd utils
sh install_server.sh

How To Install PostgreSQL 9.3 on CentOS 6.5

Update your system

[root@centos]# yum update
 
Install tools needed for DB 

[root@centos]# yum install git wget 
[root@centos]# yum groupinstall "Development tools" 
 
Then finish PostgreSQL installation

[root@centos]# rpm -Uvh http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm
[root@centos]# yum install postgresql93-server postgresql93-contrib postgresql93-devel 
[root@centos]# service postgresql-9.3 initdb 
[root@centos]# chkconfig postgresql-9.3 on
 

Çarşamba, Haziran 04, 2014

elementary os(ubuntu 12.04) üzerine postgresql 9.3 kurulumu

$ echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" > /etc/apt/sources.list.d/pgdg.list
$ wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install postgresql-9.3 postgresql-contrib-9.3


eğer bu tarz bi hata alırsanız

The following packages have ummet dependencies:
  postgresql-9.3 :  Depends: postgresql-client-9.3 but is not going to be installed
                    Depends: postgresql-common (>=1.4.2)...
  ...

postgresql-common u güncelleyip tekrar deneyin

$ sudo apt-get install postgresql-common=151.pgdg12.4+1
$ sudo apt-get install postgresql-9.3 postgresql-contrib-9.3

postgresql-common alternatifleri için

sudo apt-cache policy postgresql-common

elementary os(ubuntu 12.04) üzerine postgresql 9.3 kurulumu