Google Apps Status

Posted in Uncategorized on August 20th, 2010 by bearbear

Just realize that there is a link for Google Apps Status as below:

http://www.google.com/appsstatus#hl=en

PuttyGen, Pageant

Posted in Uncategorized on August 5th, 2010 by bearbear

PuTTYgen is a key generator.

It generates pairs of public and private keys to be used with PuTTY, PSCP, and Plink, as well as the PuTTY authentication agent, Pageant. PuTTYgen generates RSA and DSA keys.

When you run PuTTYgen you will see a window where you have two choices: ‘Generate’, to generate a new public/private key pair, or ‘Load’ to load in an existing private key.

PuttyGen

After clicking generate,you have to move your mouse over in the blank area , else it will hang there.

Actually there is note ” Please generate some randomness by moving the mouse over the blank area” in the PuTTyGen app. :p

2

If you are using cpanel account, you can copy the public key and save it as authorized_keys and place at /home/username/.ssh

Then save the Private key in name.ppk

Now you can you pageant and add the private key

3

When you access to your cpanel SSH account, you will just type in your username and it will get authorize and there is no need login with password :)

PuTTyGen download link: http://the.earth.li/~sgtatham/putty/latest/x86/puttygen.exe
Pageant download link: http://the.earth.li/~sgtatham/putty/latest/x86/pageant.exe

cpanel: /scripts/whoowns

Posted in cpanel on July 29th, 2010 by bearbear

Learn a new cpanel script!!

/scripts/whoowns

[root@iluvbear ~]# /scripts/whoowns mail.iluvbear.com
iluvbear

Which mean the domain: iluvbear.com belongs to iluvbear :)

Other thing:

Some time when edit the domains record at cpanel > Simple DNS editor . Will get error, whY?

This is because:

The “Simple DNS Zone Editor” intentionally does not allow removal/editing of records that correspond with domains configured on the server. Example:

mail.iluvbear.com

It can’t be edited at Simple DNS zone because it is added as a sub-domain name on this account: iluvbear

cpanel: How to install csf

Posted in cpanel on July 16th, 2010 by bearbear

1) Login to SSH as a root user.
2) Download the sources file, and run the below:
wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh
sh disable_apf_bfd.sh

You will be able to see ConfigServer Firewall listed under Plugins option of WHM. You can easily configure your firewall settings from there. You can also configure CSF and lfd directly from SSH in /etc/csf/*

After the installation, you will see the firewall in testing mode in WHM, you can switch it at firewall configuration setting

~Done

gmail: send mail from another address

Posted in Uncategorized on July 15th, 2010 by bearbear

To get rid of the “on behalf of” text in gmail, can use Gmail SMTP feature to send messages from your external server

But when try to configure the SMTP server from inside Gmail I get the following error:

Authentication failed. Please check your username/password.
[Server response: Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 500 Remote server does not support TLS (state 6). code(500) ]

Username/password are correct. What wrong?

gmail_error

Okay, the external server must provide authenticated SMTP support in order for you to use this option and also must have SSL installed . Once there is SSL installed at server , the above will resolve.

cpanel: mod rewrite

Posted in cpanel on July 14th, 2010 by bearbear

Install or not, cant check it from phpinfo

How to check it?

A simple way:

Create a .htaccess file with the below code in it

Options +FollowSymLinks
RewriteEngine On

Save the file to a subdirectory of your main site, example testing

Now, browse to the subdirectory (http://domain/testing).

Tail the apache log, you can get either the below one:

- No errors means mod_rewrite engine is now enabled.
- 500, Internal Server Error If you get this message then mod_rewrite was not installed/enabled on your computer.

Or can direct do it from cpanel > Redirection ( teach by my friend), thanks.

Cpanel:exec() error

Posted in cpanel on July 10th, 2010 by bearbear

Got the error message “exec() has been disabled for security reasons”

How to solve?

~easy, have a check on your php.ini, in the servers php.ini file there is this section:

; This directive allows you to disable certain functions for security reasons.
; It receives a comma-delimited list of function names. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
disable_functions = “show_source, system, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen”

If your server is using suPHP as the handler, there is two options to solve it:

You can remove the exec from disable_functions in the php.ini, save it, and restart your apache services.

Or you can give this user a custom php.ini file with the function enabled.

display limit on pureftp

Posted in Uncategorized on July 3rd, 2010 by bearbear

I learnt this before i  think but ….

By default, pure-ftp has a file display limit , the number is 2000 , you can check it out from /etc/pure-ftp.conf

- Open the file, /etc/pure-ftp.conf

- Look  for LimitRecursion 2000 8
: the first number is the display limit of files pure-ftp will show at anyone time
: the second number is the max subdirectory depth shown

-Once change it, issue the command “service ftpd restart

** If you are using cpanel, you can check the ftp application that you are using in your server at WHM > FTP Server Selection

七月二日

Posted in Uncategorized on July 2nd, 2010 by bearbear

骆慧珊 ,生日快乐!!心想事成!!

身体健康!!。。。。。。。。。。。。。。。。。。。。。

no tear today…I did it , bravo!! :)

silverlight

Posted in Uncategorized on July 1st, 2010 by bearbear

A simple post aboutsilverlight

How to check if the silverlight available, you can check at IE add on as below:

add0n

And also can simply browse to http://www.silverlightversion.com/ , it will show the silverlight version as per below:

You will see the below which include silverlight version:

silverlight_version

cheers ~~ :)