摘要: 1. 生成源码树 1.1 安装必须的工具 1.2 下载源码包 http://vault.centos.org/6.5/os/Source/SPackages/kernel-2.6.32-431.el6.src.rpm 1.3 建立文件夹及设置安装路径,使用非root用户 1.4 生成源码,之后源码生 阅读全文
posted @ 2016-03-31 16:36 木木薯薯 阅读(2824) 评论(0) 推荐(1) 编辑
摘要: 1. 安装桌面,安装时选择了Desktop可以忽略# yum groupinstall Desktop# yum install gnome-core xfce4 firefox2. 安装VNC server# yum install tigervnc-server3. 配置服务# chkconfi... 阅读全文
posted @ 2015-12-09 15:32 木木薯薯 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 1. 安装# yum install nfs* -y2. 设置服务# service rpcbind start# chkconfig rpcbind on# service nfs start# chkconfig nfs on3. 修改配置文件# vi /etc/exports编辑文件,加入下面... 阅读全文
posted @ 2015-12-09 11:22 木木薯薯 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 1. 安装软件 2. 修改samba配置文件 修改 3. 添加samba用户 4. 修改共享目录的访问权限 5. 修改iptables开放samba端口 在“ACCEPT”下一行加入 重启服务 6. 重启samba服务 阅读全文
posted @ 2015-10-29 16:30 木木薯薯 阅读(1373) 评论(0) 推荐(0) 编辑
摘要: 编辑sudo gedit /etc/exports加入/home/lbl/targetfs *(rw,nohide,insecure,no_subtree_check,async,no_root_squash)重启服务sudo service portmap restart sudo service... 阅读全文
posted @ 2015-06-11 14:27 木木薯薯 阅读(340) 评论(0) 推荐(0) 编辑
摘要: sudo mkdir /usr/ccid./configure CC=/home/lbl/ti-dvsdk_omapl138-evm_04_03_00_06/linux-devkit/bin/arm-arago-linux-gnueabi-gcc --host=arm-arago-linux pre... 阅读全文
posted @ 2015-06-11 14:22 木木薯薯 阅读(1024) 评论(0) 推荐(0) 编辑
摘要: 1. 二分查找 1 int bSearch(int arr[], int begin, int end, int target) { 2 int mid, left = begin, right = end; 3 while(left target) 8 r... 阅读全文
posted @ 2015-06-11 14:09 木木薯薯 阅读(207) 评论(0) 推荐(0) 编辑