Tuesday, May 8, 2012

PyroCMS Error : Your system folder path does not appear to be set correctly

0 comments
Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php
Biasanya error ini terjadi setelah instalasi PyroCMS, saat hendak membuka control panel. Buka file index.php

// index.php
/*
|---------------------------------------------------------------
| SYSTEM FOLDER NAME
|---------------------------------------------------------------
|
| This variable must contain the name of your "system" folder.
| Include the path if the folder is not in the same  directory
| as this file.
|
| NO TRAILING SLASH!
|
*/
// $system_path = 'system/codeigniter';  #Ubah line ini menjadi seperti line dibawah
 $system_path = './system/codeigniter';

Tuesday, May 1, 2012

How to : GIT

0 comments
  1. Menambahkan remote branch
  2.  
    # Apabila menggunakan https
    git remote add origin https://daholicofneki@github.com/purwandi/project.git 
    
    # Apabila menggunakan ssh
    git remote add origin git@github.com:daholicofneki/project.git
    
    
  3. Menghapus remote branch yang tidak diperlukan
  4.  
    git remote rm origin
    
    
    Sintak ini akan menghapus remote dari local git repository dan memperbolehkan user untuk membuat nama remote yang baru lagi
GIT rtfm > http://help.github.com/win-set-up-git/

Friday, April 27, 2012

Kumpulan Jquery Text Slider

0 comments



























Wednesday, February 22, 2012

Install Postgresql 9 di Centos 5.5

1 comments
Di centos 5.5, default bawaan sewaktu install Postgresql itu versi 8.4.7. Cara-cara untuk upgrade ke versi 9, bisa diliat disini ^^

Untuk cek versi sekarang (setelah `yum install postgresql` tentunya)

[root@localhost ~]# psql -V
psql (PostgreSQL) 8.4.7


tambahkan RPM

[root@localhost ~]# cd /etc/yum.repos.d/
[root@localhost ~]# wget http://yum.pgrpms.org/reporpms/9.0/pgdg-centos-9.0-2.noarch.rpm
[root@localhost ~]# rpm -i pgdg-centos-9.0-2.noarch.rpm


Edit file CentOS-Base.repo dan tambah 'exclude=postgresql*' di bagian [base] dan [updates]

[root@localhost /]# nano /etc/yum.repos.d/CentOS-Base.repo
# [base]
# name=CentOS-$releasever - Base
# mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
# #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
# gpgcheck=1
# gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
# exclude=postgresql*
#
# #released updates
# [updates]
# name=CentOS-$releasever - Updates
# mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
# #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
# gpgcheck=1
# gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
# exclude=postgresql*


Setelah itu, instal deh psql9 nya :D

[root@localhost /]# yum install postgresql90-server


Sumbber : http://www.davidghedini.com/pg/entry/install_postgresql_9_on_centos

Localhost

0 comments