随笔分类 -  linux

摘要:xyh@ubuntu-64:~$ ssh -v git@danxinben.com OpenSSH_5.9p1 Debian-5ubuntu1.7, OpenSSL 1.0.1 14 Mar 2012 debug1: Reading configuration data /home/xyh/.ssh 阅读全文
posted @ 2015-10-12 12:42 夕相待 阅读(509) 评论(0) 推荐(0)
摘要:1、 首先下载所需的安装包http://gstreamer.freedesktop.org/src/gstreamer-1.0.7.tar.xzgst-plugins-base-1.0.7.tar.xzgst-plugins-good-1.0.7.tar.xzgst-plugins-ugly-1.0... 阅读全文
posted @ 2014-10-16 10:01 夕相待 阅读(838) 评论(0) 推荐(0)
摘要:环境 ubuntu12.04 因为桌面版的默认装了,而且调声音也很方便,这里说一下server版下的配置,毕竟做开发经常还是用server版的1.安装apt-get install alsa-base 它会把alsa-utils也一块装了,这是个工具包,如果没装的话 直接 apt-get insta... 阅读全文
posted @ 2014-10-15 14:19 夕相待 阅读(2031) 评论(0) 推荐(0)
摘要:vim /etc/sysconfig/network-scripts/ifcfg-eth0代开配置文件写入DEVICE=eth0 #描述网卡对应的设备别名,例如ifcfg-eth0的文件中它为eth0 BOOTPROTO=static #设置网卡获得ip地址的方式,可能的选项为static,dhcp... 阅读全文
posted @ 2014-09-11 21:22 夕相待 阅读(239) 评论(0) 推荐(0)
摘要:原因是不能在windows共享目录编译,将待编译的uboot源码copy到home目录 阅读全文
posted @ 2014-09-10 21:15 夕相待 阅读(573) 评论(0) 推荐(0)
摘要:1.解压交叉编译工具链包 tar jxvf EABI-4.3.3_EmbedSky_20100610.tar.bz2 (笔者将交叉编译工具链包放在”/home ”目录下)解压后会生成两个目录:[root@centOS5 home]# ls usr/local/sbin/(存放一些库工具) [root... 阅读全文
posted @ 2014-09-09 23:04 夕相待 阅读(456) 评论(0) 推荐(0)
摘要:插入优盘前: 1 [root@centOS5 mnt]# fdisk -l 2 3 Disk /dev/hdd: 21.4 GB, 21474836480 bytes 4 255 heads, 63 sectors/track, 2610 cylinders 5 Units = cylinders of 16065 * 512 = 8225280 bytes 6 7 Device Boot Start End Blocks Id System 8 /dev/hdd1 * 1 13 10439... 阅读全文
posted @ 2013-09-05 15:35 夕相待 阅读(589) 评论(0) 推荐(0)
摘要:getopt(分析命令行参数)表头文件 #include定义函数 int getopt(int argc,char * const argv[ ],const char * optstring);extern char *optarg;extern int optind, opterr, optopt;函数说明 getopt()用来分析命令行参数。参数argc和argv是由main()传递的参数个数和内容。参数 optstring为选项字符串, 告知 getopt()可以处理哪个选项以及哪个选项需要参数,如果选项字符串里的字母后接着冒号“:”,则表示还有相关的参数,全域变量optarg 即会指 阅读全文
posted @ 2013-08-14 15:37 夕相待 阅读(1286) 评论(0) 推荐(0)