Tag Archives: linux

How to automate virtual machine creation and runing on virtualbox by command line

Many times we need to create a linux virtual machine by command line. It is very useful for batch vm operation, automation, regression test, integration test… Here’s the steps to create a functional linux virtual machine (works on windows host … Continue reading

Posted in linux, virtualization | Tagged , , , , | 2 Comments

debian squeeze搭建最简xfce4开发环境(二 常用软件及问题解决)

1.how to install xfce4 and choose x window manager sudo apt-get install xfce4 sudo update-alternatives –display x-window-manager sudo update-alternatives –config x-window-manager 中文支持参考:Debian简明中文支持 2.run 32 bit applications: sudo apt-get install ia32-libs sudo apt-get install ia32-libs-gtk then qq, forti ssl vpn client … Continue reading

Posted in linux | Tagged , | Leave a comment

debian squeeze搭建最简xfce4开发环境(一 Debian简明中文支持)

1.1 for chinese locale support: dpkg-reconfigure locales select all locales like zh_CN.***, zh_TW.*** 1.2 how to install chinese fonts apt-get install ttf-bitstream-vera msttcorefonts  (seems no use) apt-get install xfonts-wqy ttf-wqy-zenhei for MS windows fonts, copy Chinese font to /usr/local/share/fonts sudo … Continue reading

Posted in linux | Tagged , | 2 Comments

debian 6.0(Squeeze)硬盘安装

在linode上搭起来了服务器,根据淘宝朋友的推荐,选了debian操作系统。考虑到软件的多样性,os对网络的依赖度,在笔记本上选择装上debian发行版,下载了debian的8张DVD,这样就不用基于网络安装软件了, 直接挂载iso。 原本debian的网络安装很方便,谁让我们在TG。 由于光驱不太好用,就试着从硬盘安装squeeze, squeeze比原先的woody,etch好装了不少, 从windows安装还是不如ubuntu,自动的iso挂载也只能挂载fat32分区的, 由于fat32分区存不了4G的dvd iso,只能放安装的CD ISO,debian里面的第1张CD里面没有gnome/kde,我安装时选了X window,装X Window是从网络安装的,花了1个多小时,还是宽带是5M的,不然不可想象要花多长时间。 如果能用光驱,建议用刻盘来安装。 总结一下安装步骤: 1. 准备好grub。由于我的操作系统是windows 7, grub用起来不如XP方便,就先装了Maxdos 8,然后把grub4dos解压后放到fat32分区。 如果是Windows NT/2000/XP直接修改C:\boot.ini,增加这样一行: C:\GRLDR=”Start GRUB” 把grub的引导菜单加入到启动项中很方便。 2. 准备一个fat32分区,把安装的iso cd拷贝到某个fat32分区的根目录。 iso cd可以从任一一个镜像下载,如: http://ftp.nl.debian.org/debian-cd/6.0.1a/amd64/iso-cd/ http://mirrors.sohu.com/debian-cd/6.0.1a/amd64/iso-cd/ (中国访问这个比较快) http://mirrors.163.com/debian-cd/6.0.1a/amd64/iso-cd/ (中国访问这个比较快) 由于硬盘上都是ntfs分区,我就拿usb的分区(fat32)来访iso cd。 同时下载 debian硬盘安装需要的3个引导文件(这步很重要)vmlinuz, initrd.gz, boot.img.gz,拷贝到c:\盘根目录 我用的是amd64,从这里取: … Continue reading

Posted in linux | Tagged , | Leave a comment