nginx如何添加子域名对应的网站?
March 1st, 2010假设有一个www.blah.com了, 想把子域名网站xxx.blah.com指向另外一个完全不同的服务器目录.
其实很简单,完全跟添加一个新的域名差不多,只需要把server_name设为该子域名,其余完全类似.
假设有一个www.blah.com了, 想把子域名网站xxx.blah.com指向另外一个完全不同的服务器目录.
其实很简单,完全跟添加一个新的域名差不多,只需要把server_name设为该子域名,其余完全类似.
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;
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
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
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.
方法有两种,一是图形界面方式设置,一是命令行设置:
A. 图形界面方式:
GNOME桌面下:打开“系统主菜单“,选择”系统>系统管理>登录窗口”,在弹出的窗口中点“安全”选项页,选择“允许本地管理员登录“,点确定即可。完成。
刚安装了Debian 5,试一下编译Firefox. 有如下要点:(注意命令在root下执行). 基本上参看官方指南, https://developer.mozilla.org/en/Linux_Build_Prerequisites, 但也有些不同.
1. 安装编译工具
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 directory. Unix/Linux like operating systems often uses symbolic links.
The usage of ln is: ln -s source target
常玩虚拟机的人都知道安装一个虚拟机也是很费时间的事情. 网上也有一些热心人提供了安装好的VMWare磁盘映象可用下载.
1. Windows98, Me, Windows XP, Windows 2003的磁盘映像: