Thursday, August 27, 2009

Sekedar Catatan biar gak lupa.

Hukum Volume :
Harga turun volume kecil = Buy on weekness (BOW).
Harga turun Volume besar = SELL
Harga naik Volume kecil : Sell On Strenght (SOS)
Harga naik volume besar = BUY.

Wednesday, July 22, 2009

Upgrade mysql through Cpanel in Centos

You would first go to WHM >> Server Configuration >> Update Config and change it to Manual Updates Only (bleeding EDGE tree). Then you will want to run a /scripts/upcp --force and after that finishes a /scripts/mysqlup --force

Friday, January 30, 2009

Debugging in moodle config.php

To turn on debugging in moodle config.php, you need to add code

@error_reporting(1023);
@ini_set('display_errors', '1');
$CFG->debug = 38911;
$CFG->debugdisplay = true;

To show only to your user account
$CFG->debugusers = '2';   (replace 2 with your moodle userid)

$CFG->debug = X

Where X can be:
0 - none
5 - minimal
15 - normal
6143 - all
38911 - developer

And to show it

$CFG->debugdisplay (1, or 0)

controls whether debug messages are included in the HTML output. 0 means it goes to Apache's error log.

Monday, January 19, 2009

Rebuild apache to include mssql or ldap

Please look at the info below

http://www.cpanel.net/documentation/easyapache/ea3custom_flags.html

insert --with-ldap=shared,/usr on all_php5

and

http://c**.r*.net/index.php?action=DetailView&module=HelpDesk&record=2942

Before that, you have to install freetds for mssql
Just do yum install freetds-devel

or install openldap-devel for ldap
yum install openldap-devel

If for some reason, cpanel is trying to give error about looking for libtds.so,
go to /usr/lib
then type
ln -s /usr/lib64/libtds.so
ln -s /usr/lib64/libtds.so.5
ln -s /usr/lib64/libtds.so.5.0.0

Another site to look at
http://forums.cpanel.net/showthread.php?t=88561

That's all.

Wednesday, December 3, 2008

Clone Drupal Site

If you're trying to close drupal site to a subdomain or subfolder, please aware to copy .htaccess and change the rewritebase

Also other important note to bypass the login.

to login when there is the problem however you can do the following
http://***.net/stage?q=user/login
Then when you login you will have to type in the following url
http://***.net/stage?q=admin/settings/clean-urls

Friday, October 10, 2008

Park Domain Error in Cpanel

If you're trying to Park A Domain which name server you didn't control, you have to go

Under WHM | Tweak Settings | DNS I had to enable "** Allow Creation of Parked/Addon Domains that resolve to other servers (i.e. domain transfers)".

Tuesday, September 9, 2008

Rebuild PHP with Ldap in cpanel

After you did the software apache update, you have to create a file here /var/cpanel/easy/apache/rawopts/all_php5 and put --with-ldap in it to make it install the ldap php module

Then rebuild the apache again.