- 博客(9)
- 资源 (4)
- 收藏
- 关注
原创 ubuntu-server 安装在lenonvo RD45服务器上
1. 分区的时候 选择 安装到整个disk,不要选LVM那项 RD45使用了soft radio,选择LVM的话,grub安装失败 2. 网卡的名字不是eth0,是em1 用ifconfig -a 可以查看 3. IP设置完毕,需要up网卡 ifup em1 ifconfig em1 up /etc/init.d/networking res
2015-11-13 21:10:51 698
原创 Android Studio
1. res directory app\src\main\res 2. 3rd jar lib app\libs\xxxx.jar in Android Studio, right click xxxx.jar, choose“Add As Library” 3. JNI so lib app\src\main\jniLibs\arme
2015-09-28 14:59:47 289
原创 vmware disk space
In vmware virtual machine such as ubuntu, there is a 40G disk, which has 20G data and 20G empty space, so, vmware will use 20G real disk space. If you delete 10G data, vmware will also use
2015-09-20 20:08:56 399
原创 vim
stage 1 i [insert] x [delete] p [put] dd [delete line] k h l j :w [write] :q [quit] :x [:wq]
2015-09-19 17:27:10 293
原创 linux install kernel headers
#install kernel headers with right version apt-get install linux-headers-$(uname -r) #query headers weather install correctly dpkg-query -s linux-headers-$(uname-r) #list kernel version
2015-09-19 17:25:28 986
原创 debian repertory && source.list
debian repertory http://debian.cn99.com/debian/pool deb main non-free contrib http://debian.cn99.com/debian/dist/ version squeeze wheezy jessie /etc/apt/source.list
2015-09-19 11:23:25 364
原创 debian apt-get update GPG error for NO_PUBKEY
apt-get update #W: GPG error: http://debian.cn99.com squeeze Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA NO_PUB
2015-09-19 10:51:03 471
原创 Search and replace string
We can use sed to replace some string for example: sed -i s/new_string/old_string/g use grep to search files so: sed -i s/new_string/old_string/g `grep old_string -rl --include="*.html" ./`
2015-09-17 13:34:07 533
原创 Install Kaldi in Lubuntu 14.04
Kaldi is a speech recognition toolkit just like HTK. Login Lubuntu 14.04 as root user. make directories mkdir -p ~/work/dev/speech Make sure git has bean installed. apt-get install git download
2015-09-13 16:46:11 682
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人