Elvis Woo

New challenge is waiting for me.

Skip to: Content | Sidebar | Footer






Test

16 May, 2009 (09:05) | Uncategorize | By: admin

Windows Live published a new module that can associate the Windows Live, Flickr, Wordpress, Facebook and so on.

Kill User Connections

30 March, 2009 (11:52) | Linux | By: admin

pkill -kill -t (user’s pts)

Hushlogin

1 March, 2009 (12:33) | Linux | By: admin

touch .hushlogin

Clear History “Last” Command (CentOS 5)

1 March, 2009 (12:15) | Linux | By: admin

# echo >.bash_history

# vim /etc/profile
    ……
    HOSTNAME=`/bin/hostname`
    HISTSIZE=0

    if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
        INPUTRC=/etc/inputrc
   ……
  :wq
# exit

If you want to keep the history when before you logout. You can keep the HISTSIZE=1000 and add "history -c" in the file .bash_logout.

“A word or phrase in the file” in WindowsXP

16 August, 2008 (21:12) | Windows | By: admin

Using the "A word or phrase in the file" search criterion may not work

http://support.microsoft.com/kb/309173

Method 2 is more useful

ASP Website on IIS6.0

10 August, 2008 (08:51) | Application System, Windows | By: admin

Step 1:
Open "Internet Information Services (IIS) Manager" 
Select  "Web Service Extensions". Then select "Active Server Pages" in the right column. 
Click "Allow" button.
Now, this Windows 2003 Server is support ASP.

Step 2:
Now, we should enable parent paths.
Right click the website what we want to config.
Click "properties", Select "Home Directory", Click "Configuration" . At the "Application Configuration" we select "Option" and enable parent paths.


Step3:
Enable anonymous access
Make the website directory writable

Finish:

Pinging Broadcast Address

4 March, 2008 (20:03) | Linux, Network | By: admin

For example: 
[user@linuxos ~]# ping 172.30.30.0 -b
WARNING: pinging broadcast address
PING 172.30.30.0 (172.30.30.0) 56(84) bytes of data.
64 bytes from 172.30.30.123: icmp_seq=1 ttl=255 time=0.805 ms
64 bytes from 172.30.30.2: icmp_seq=1 ttl=255 time=1.30 ms (DUP!)
64 bytes from 172.30.30.15: icmp_seq=1 ttl=64 time=33.0 ms (DUP!)
64 bytes from 172.30.30.11: icmp_seq=1 ttl=64 time=35.0 ms (DUP!)
64 bytes from 172.30.30.14: icmp_seq=1 ttl=64 time=37.2 ms (DUP!)
64 bytes from 172.30.30.3: icmp_seq=1 ttl=64 time=38.0 ms (DUP!)
64 bytes from 172.30.30.9: icmp_seq=1 ttl=64 time=38.7 ms (DUP!)
64 bytes from 172.30.30.12: icmp_seq=1 ttl=64 time=39.0 ms (DUP!)
64 bytes from 172.30.30.13: icmp_seq=1 ttl=64 time=39.0 ms (DUP!)
……………

To Replace <p> with <br> in FCKedit

2 March, 2008 (11:37) | Application System | By: admin

Edit fckconfig.js

FCKConfig.EnterMode = ‘p’ ;                    // p | div | br
FCKConfig.ShiftEnterMode = ‘br’ ;        // p | div | br

Change the value.

*********************************************************

Fix Incorrect GMT time in Proftpd

2 March, 2008 (11:09) | Application System, Linux | By: admin

Edit proftpd.conf
Add TimesGMT off 

Then save & quit and create a softlink
ln -s /usr/share/zoneinfo/Asia/Shanghai /usr/share/zoneinfo/CST

restart proftpd

************************************************

Remove “Apache 2 Test Page”

28 February, 2008 (16:53) | Application System, Linux | By: admin

Edit or Replace /var/www/error/noindex.html

*****************************************