Ubuntu关闭swap分区

2013年10月17日 11:07

 1.暂时关闭SWAP,重启后恢复
    swapoff   -a


2. 永久关闭SWAP
    vim /etc/fstab
   # swap was on /dev/sda11 during installation
   #UUID=0a55fdb5-a9d8-4215-80f7-f42f75644f69 none  swap    sw      0       0
  注释掉SWAP分区项,即可


3. 查看SWAP分区大小
    cat /proc/meminfo
      SwapTotal:             0 kB
      SwapFree:              0 kB
  如果上面二项目都为0,说明没有swap分区;如果不为0,则说明有此分区

1. 设备-->安装增强功能(Host + D)
2. 在Ubuntu命令行中,cd /media/VBOXADDITIONS_4.2.16_86992,然后sudo sh ./VBoxLinuxAdditions.run
3. 关闭Ubuntu,重启VirtualBox

鼠标可以在host和guest之间切换了,剪贴板可以共用了,guest Ubuntu全屏后(Host + F)支持双屏幕。

jQuery delay()

2013年10月10日 17:58

    If there's an object whose id = "svg1" && type = "image/svg+xml" in html, jQuery can be used like this to access its elements:

继续阅读

http://blog.csdn.net/chenyiming_1990/article/details/9476181