自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 Web Server

installed php (php5-cgi, and php5-common?) + lighttpd update lighttpd config:server.modules += ( "mod_cgi", ) cgi.assign += ( ".php"  => "/usr/bin/php-cgi", ) user dir setting in ligh

2008-01-11 13:10:00 275

原创 Ubuntu Server 安装 Desktop

apt-get install x-window-system-core xserver-xorg gnome-desktop-environment run "apt-get install update-manager" if you dont have it go to "System->Administration->Synaptic Package Ma

2007-11-21 19:22:00 612

原创 Database

Common problems in adding foreign key Column types are different Same Key_Name exists Grant access from other hosts Insert a record to user and

2007-10-25 19:34:00 267

原创 svn

svn blamesvn  log file:///svn/PATH | lesssvn up -r  ####Mergesvn merge -r####:HEAD --dry-run file:///svn/PATHsvn propedit svn:ignore . //ignore files

2007-08-01 21:41:00 258

原创 Miscellaneous

localeif youre having trouble with setlocale (if its returning false) on ubuntu or debian:nano /etc/locale.genmake sure that the locales taht you want are in the list, if not, add them. fo

2007-08-01 21:27:00 508

原创 vi

.vimrc=======================:set expandtab:syntax on:set nohlsearch:autocmd FileType c,cc,cpp,php,inc,java,cs set  / smarttab  / expandtab  / shiftwidth=4  / tabstop=4:autocmd FileType javascript set

2007-08-01 00:57:00 301

原创 Use Proxy

Putty.exe -D 1080 URL Login Go to Firefox Tools -> Options -> Advanced -> Network -> Setting -> Manual proxy configuration SOCKS Host = www.example.com ; Port = 1080 

2007-08-01 00:55:00 2742

原创 安装Windows后重新启动Ubuntu

insert Live/Install CD find a terminal run: sudo su find your ubuntu out (e.g. /dev/hda5 or /dev/sda7[my case]): fdisk -l mkdir /mnt/root mount -t ext3 /dev/sda7 /mnt/

2007-06-27 23:31:00 627

原创 bash

"source ./bash_profile" can be used to activate your changes in .bash_profile findstr SimpleDateFormat | awk {print $1} | cut -d: -f1 | sort | uniq | while read f; do cat $f | sed -e "s/dd//MM (EEE)

2007-06-22 18:43:00 325

原创 Regular Expression

not match "bar": (?!bar) in vi:  s/(.*)//1/g  (note: /1 not $1)   in vi, match (.tt or .pm): /./(tt/|pm/) in vi, match not digit  [^[:digit:]]

2007-06-22 15:52:00 252

原创 Ubuntu 忘记密码

1。开机2。在grub启动列表中按ESC3。按 e 来修改平时启动的那个选项4。在kernel***那一行再按 e5。在最后面加上 rw init=/bin/bash6。按确定7。按 b 来启动此时是你在使用root用户,所以要小心不要乱按其他命令,除非你知道你在干什么。8。用  passwd   来重设你的密码9。重启 shutdown -r now

2007-06-19 13:48:00 950

原创 Ubuntu Virtual PC 花屏

1. Ctrl + Alt + F12. go to edit  xorg.conf, update DefaultDepth from 24 to 163. restart 

2007-06-07 17:25:00 389

原创 Learning Perl

Why my file should ending with "1;"?In "http://perldoc.perl.org/functions/require.html", you will find: The file must return true as the last statement to indicate successful execution of any initiali

2007-06-06 18:31:00 355

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除