Archive for February, 2010

Nginx + Django Setup

Sunday, February 28th, 2010

Follow the below articles, it should be able to work: http://wiki.nginx.org/NginxDjangoFastCGI http://code.djangoproject.com/wiki/InitdScriptForLinux http://stackoverflow.com/questions/605173/how-to-nginx-virtual-servers-fcgi-for-django Notice fast CGI config in nginx: fastcgi_pass_header Authorization; fastcgi_intercept_errors off;

皮皮书屋

Saturday, February 27th, 2010

http://www.ppurl.com/ 不错的电子书网站,很有特色,注册用户的Captcha是一段程序,问你输出是什么。 #include

How to remote logon to linux X Desktop

Saturday, February 27th, 2010

There are several options. 1. VNC http://markus.revti.com/2009/08/installing-vnc-remote-desktop-on-ubuntu-linux-vps/ 2. FreeNx https://help.ubuntu.com/community/FreeNX

How to tell your linux OS is 32 bit or 64 bit?

Friday, February 26th, 2010

uname is the command you need. It can also tell kernel version. If you used to compile VMWare tools, it needs to find the kernel headers that matches the kernel version. The sampe output of uname is below: Linux MachineName 2.6.22-14-generic #1 SMP Tue Feb 12 02:46:46 UTC 2008 x86_64 GNU/Linux

poor landing page quality?

Wednesday, February 24th, 2010

If google adwords complains that your landing page quality is poor, your google ads may not be shown. But then how to debug and fix this? Unfortunately, google doesn’t provide a tool to help validate the fix. They just provides some guidelines.

Howtos: 管理员如何登陆Debian Linux的GUI界面

Tuesday, February 23rd, 2010

方法有两种,一是图形界面方式设置,一是命令行设置: A. 图形界面方式: GNOME桌面下:打开“系统主菜单“,选择”系统>系统管理>登录窗口”,在弹出的窗口中点“安全”选项页,选择“允许本地管理员登录“,点确定即可。完成。

HowTos: 在Debian 5 (Lenny) 上编译firefox

Monday, February 22nd, 2010

刚安装了Debian 5,试一下编译Firefox. 有如下要点:(注意命令在root下执行). 基本上参看官方指南, https://developer.mozilla.org/en/Linux_Build_Prerequisites, 但也有些不同. 1. 安装编译工具

How to create symbolic link on linux

Sunday, February 21st, 2010

Q. How do I create a soft link (symbolic link) under UNIX or Linux operating system? A. To make links between files you need to use ln command. A symbolic link (also known as a soft link or symlink) consists of a special type of file that serves as a reference to another file or [...]

VMWare虚拟磁盘映像

Saturday, February 20th, 2010

常玩虚拟机的人都知道安装一个虚拟机也是很费时间的事情. 网上也有一些热心人提供了安装好的VMWare磁盘映象可用下载. 1. Windows98, Me, Windows XP, Windows 2003的磁盘映像:

How to install a new disk on Solaris

Friday, February 19th, 2010

Just a bookmark: http://blogs.sun.com/harcey/entry/solaris_x86_vmware_adding_a 1. Add a VMware Disk to a Solaris image * Shut down the VM * Edit the VMware configuration: Select Virtual Machines -> Settings * Add a new hard disk device * start the Solaris image