(Parameters) Auto mount NTFS in Ubuntu

Identy the partition table using: sudo fdisk -l
Identy the partition UUID using: sudo blkid
Add the codes below in: /etc/fstab

# change the "UUID" to your partition UUID
UUID=12102C02102CEB83 /media/windows ntfs-3g auto,users,permissions 0 0 

Make a mount point (if needed)

sudo mkdir /media/windows 

Now mount the partition

mount /media/windows 

The options I gave you, auto, will automatically mount the partition when you boot and users allows users to mount and umount .
You can then use chown and chmod on the ntfs partition.
 
or:
sudo apt-get install ntfs-config
 

moves after install Ubuntu 12.04 LTS on X201 and the stuck problem

Moves:
1. install VirtualBox: sudo apt-get install virtualbox and configure it.
2. install gimp and inkscape inside application center.
3. transfer to the “universe source” by search the ffmpeg in application center and the using the source
4. try to play a rmvb video file and install the rm decoder according to the prompt.
The stuck problem:
Kill the dpkg process
and run: sudo dpkg –configure -a

Ubuntu搭建Django+Flup+Nginx环境

Ubuntu搭建Django+Flup+Nginx环境
[日期:2010-12-03] 来源:Linux社区  作者:Linux
首先我们必须明白这这3者在该环境下发挥的作用。
1.nginx:(“engine x”) 是一个高性能的 HTTP 和 反向代理 服务器,作用和apache的类似。它可以处理一些静态文件的请求,而对于动态的文件的请求,它可以通过fastcgi方式,来分发请求给不同的动态语言处理。
2.flup:本身是一个使用python写的web服务器软件,它可以接受nginx发来的请求,执行相应的python代码,将结果返回给nginx。
3.django:基于python的一个web框架,它可以我们做一些基础性的东西,比如cookie,session管理,模板机制,权限管理等等。
Continue reading Ubuntu搭建Django+Flup+Nginx环境

WordPress:Change the site URL and Move the whole site

From: http://codex.wordpress.org/Changing_The_Site_URL
On the Settings->General screen in a single site installation of WordPress, there are two fields named “WordPress address (URL)” and “Site address (URL)”. These are also known as the “Home” and “Site URL” settings. They are important settings, since they control where WordPress thinks your site is located. They control the display of the URL in the admin section of your page as well as the front end, and are used through out the WordPress code. The “Home” setting is the address you want people to type in their browser to reach your WordPress blog. The “Site URL” setting is the address where your WordPress core files reside. *Note: Both settings should include the http:// part and should not have a slash”/”at the end.
Continue reading WordPress:Change the site URL and Move the whole site