Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4473984
  • 博文数量: 356
  • 博客积分: 10458
  • 博客等级: 上将
  • 技术积分: 4734
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-24 14:59
文章分类

全部博文(356)

文章存档

2020年(17)

2019年(9)

2018年(26)

2017年(5)

2016年(11)

2015年(20)

2014年(2)

2013年(17)

2012年(15)

2011年(4)

2010年(7)

2009年(14)

2008年(209)

发布时间:2020-03-24 14:26:14

fcitx乱码问题,有两种,一种是中文乱码,需要安装中文字体并设置fcitx字体为此中文字体另一种是五笔大字集使用过程会有一部分文字为乱码,本文讨论的是这种解决方式,使用五笔大字集的目的是可五笔及拼音混编,在设置中文字体无效后,找到曲线解决方式,删除五笔大字集,安装fcitx-table-cn-wubi-pinyin这个字符表代.........【阅读全文】

阅读(956) | 评论(0) | 转发(0)

发布时间:2018-12-13 17:02:57

bashrc, profile   init.d的方式新的版本不好用了,弄半天没效果,最后用systemctl来实现开机启动程序创建新建文件 /lib/systemd/system/my.service内容如下:[Unit]Description=run_auto[Service]Type=forkingExecStart=/home/xx/run_auto[Install]WantedBy=multi-user.target创建一个链接sudo l.........【阅读全文】

阅读(2262) | 评论(0) | 转发(0)

发布时间:2018-05-07 21:33:59

编译tinacd tina2.5source build/envsetup.shlunch选择astar-parrot-tinamake -j4pack -d问题:make[3]: Leaving directory '/opt/tina2.5/package/firmware/linux-firmware'Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /opt/tina2.5/ou.........【阅读全文】

阅读(4880) | 评论(0) | 转发(0)

发布时间:2018-04-14 10:51:40

我的系统是opensuse修改/etc/samba/smb.conf添加[share]    comment = Shared Folder    path = /home/zengming/download/share    public = yes    writable = yes    create mask = 0700    directory mask = 0700.........【阅读全文】

阅读(2494) | 评论(0) | 转发(0)

发布时间:2017-09-27 15:57:13

环境ubuntu内核Linux ntt-misc 4.4.0-93-generic #116-Ubuntu SMP Fri Aug 11 21:17:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux部分ssl代码:ssl_method = SSLv3_server_method();ssl_ctx = SSL_CTX_new(ssl_method);if (ssl_ctx == NULL){    // 这里可能出错退出    ERR_print.........【阅读全文】

阅读(1907) | 评论(0) | 转发(0)

发布时间:2017-07-11 18:32:04

首先下载busybox源码解压比如我的是busybox-1.23.2, 交叉工具是arm-none-linux-gnueabi-gcc进入配置,跟配置内核差不多,用menuconfigmake ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig选择自己要的功能,退出后保存配置然后编译:make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- CFLAGS="-I.........【阅读全文】

阅读(9499) | 评论(0) | 转发(3)

发布时间:2016-08-23 16:15:14

交叉编译精简版mplayer出错:libmpcodecs/vd_lzo.o: In function `decode':vd_lzo.c:(.text+0x70): undefined reference to `av_lzo1x_decode'libmpdemux/demux_mkv.o: In function `demux_mkv_decode.clone.5':demux_mkv.c:(.text+0xe1c): undefined reference to `av_lzo1x_decode'sub/sub.o: In function `vo_updat.........【阅读全文】

阅读(2058) | 评论(0) | 转发(0)

发布时间:2016-07-30 17:05:28

实现目的:外网访问内网1) 从www.pubyun.com申请动态域名,2) 连客户端都不用安装,也不用配置文件,不用知道IP,使用lynx(一般的Linux,BSD都自带),就可以了! 使用方法:lynx -mime_header -auth=用户名:密码 "http://members.3322.net/dyndns/update?system=dyndns&hostname=域名"详细描述可参照官网 http://ww.........【阅读全文】

阅读(3922) | 评论(0) | 转发(0)

发布时间:2016-07-26 11:05:58

linux opensuse下virtualbox识别USBopensuse Tumbleweed滚动版,  virtualbox5.0.16问题:在设置-USB设备中--添加USB设备选项中显示没有可用设备1) 首先要安装 VirtualBox guest tools, 设置-USB设备--启用USB设备(选择USB2.0)2) 其实将当前用户加入到vboxusers组中sudo usermod -a -G vboxusers $USER3) 插上.........【阅读全文】

阅读(2041) | 评论(0) | 转发(0)

发布时间:2016-06-18 11:58:30

首先要安装有sox软件这是一个强大的转换软件,不局限于wavfor sound in `ls *.wav`; do sox $sound -b 16 -r 16000 16-$sound; done-r是指定rate,如果不需要可以去掉。......【阅读全文】

阅读(2864) | 评论(0) | 转发(0)

发布时间:2016-02-20 17:05:33

在程序自动升级的时候需要自己重新启动自己示例代码:点击(此处)折叠或打开#include <unistd.h>#include <stdio.h>#include <stdlib.h>int main(int argc, char **argv){    char buf[.........【阅读全文】

阅读(4929) | 评论(0) | 转发(0)

发布时间:2016-02-19 16:49:05

当前目录所有mp3转wav,需要安装mpg123for mp3file in `ls *.mp3`; do mpg123 -w $mp3file.wav $mp3file; done;如果要转成16KHZ的for mp3file in `ls *.mp3`; do mpg123 -r 16000 -w $mp3file.wav $mp3file; done;重命名rename .mp3.wav .wav *.mp3.wavwav批量转spx,需要安装speexencfor wavfile in `ls *.wav`; do.........【阅读全文】

阅读(2036) | 评论(0) | 转发(0)

发布时间:2015-11-02 18:13:00

make make -C /benew/hello/../linux-3.0 M=/benew/hello modules make[1]: Entering directory '/benew/linux-3.0'  CC [M]  /benew/hello/hello.o In file included from include/linux/compiler.h:48:0,                .........【阅读全文】

阅读(22768) | 评论(0) | 转发(0)

发布时间:2015-10-14 20:46:27

virtualbox 启动问题不能为虚拟电脑 xp 打开一个新任务.Failed to load VMMR0.r0 (VERR_SUPLIB_OWNER_NOT_ROOT).返回 代码:NS_ERROR_FAILURE (0x80004005)组件:Console界面:IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}查找问题在哪ls -l /drwxr-xr-x ?13 abc ?test ? 4096 6月 ? 7 2.........【阅读全文】

阅读(3023) | 评论(0) | 转发(0)

发布时间:2015-05-16 14:16:31

virtualbox 启动问题不能为虚拟电脑 xp 打开一个新任务.Failed to load VMMR0.r0 (VERR_SUPLIB_OWNER_NOT_ROOT).返回 代码:NS_ERROR_FAILURE (0x80004005)组件:Console界面:IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}查找问题在哪ls -l /drwxr-xr-x  13 abc  test   4096 6月   7 2.........【阅读全文】

阅读(11219) | 评论(0) | 转发(0)

发布时间:2015-05-15 20:38:02

桌面上运行virtualbox出错:The virtual machine 'xp' has terminated unexpectedly during startup with exit code 1 (0x1).Effective UID is not root(euid=1000 egid=482 uid=1000 gid=482)(rc=-10)Please try reinstalling VirtualBox.手动敲命令运行/usr/lib/virtual/VirtualBox的出错提示VirtualBox: Error -10 .........【阅读全文】

阅读(7672) | 评论(0) | 转发(0)

发布时间:2015-03-17 16:44:25

linux 的/etc/input/eventxx 设备可以用来方便地调试 鼠标、键盘、触摸板等输入设备有两个开源可用来读取input event事件的值,evtest与getevent(这个是从android中提取的)evtestEvtest.c点击(此处)折叠或打开/* * $Id: evtest.c,v 1.23 2005/02/06 13:51:42 vojtech .........【阅读全文】

阅读(8016) | 评论(1) | 转发(3)

发布时间:2015-02-11 19:14:42

解决ssh连接提示Connection closed by xx某一天ssh连接外网的一个服务器A,突然连不了了,会提示:Connection closed by A的ip,连局域网内的一台服务器B却没有问题,(机子均为linux)服务器B上ssh连接A没有问题,但是无法用scp传文件给A,传输会一直挂住。改了各种配置文件,没有解决。输出信息如下: ssh -v a@10..........【阅读全文】

阅读(54611) | 评论(0) | 转发(0)

发布时间:2015-01-10 10:56:27

编译libtar -xvf gmock-1.5.0.tar.bz2 cd gmock-1.5.0/./configuremakesudo make install编译自带的测试例子cd makemake./gmock_testRunning main() from gmock_main.cc[==========] Running 13 tests from 3 test cases.[----------] Global test environment set-up.[----------] 6 tests from InitG.........【阅读全文】

阅读(4679) | 评论(0) | 转发(0)

发布时间:2014-12-23 15:57:00

centos7不同于以往linux的操作,对于开机自启动的调整,命令有所不同。    chkconfig --list查看非系统内置服务的自启动状态[root@vd13crmtb01 ~]# chkconfig --listNote: This output shows SysV services only and does not include native      systemd services. SysV configuration.........【阅读全文】

阅读(15786) | 评论(0) | 转发(0)

发布时间:2014-03-18 15:11:58

csdn 论坛上的一个问题:<DC_Public>    < Codec_Space Codec_SpaceValue="0" />    < HeartBeatCfg HeartBeatRate="16" Mux_HB_DECount="2" Codec_HB_DECount="2" Prov_HB_DECount="2" />    < DC.........【阅读全文】

阅读(2674) | 评论(0) | 转发(0)

发布时间:2013-07-19 16:45:13

服务器用的是fedora 12  以前在helper2416开发板上挂载服务器上的nfs目录读写都没有问题服务器上的 /etc/exports/opt/target     *(rw,async,no_root_squash)今天虚拟机装了个ubuntu12.04 64bit版,不能mount,提示什么access denied ,在/etc/exports下  ()中加insecure可解决然后就.........【阅读全文】

阅读(12025) | 评论(0) | 转发(0)

发布时间:2013-04-26 13:55:02

作者:帅得不敢出门   c++哈哈堂31843264首先得开linux的3D桌面特效,方法可网上搜,大致是安装compiz组件konsole终端设置背景图片或者设置背景透明设置如下:打开终端--设置---管理配置方案---编辑配置方案----外观-----编辑------- 背景透明度/壁纸   分别设置设置完后.........【阅读全文】

阅读(18687) | 评论(0) | 转发(0)

发布时间:2013-01-16 10:08:03

作者:帅得不敢出门 c++哈哈堂31843264gnu本身是有提供一份c++的man文档的,其官方可下,文档叫libstdc++-man-xxxxxx.tar.bz2,不多说,现在介绍另外一个使用apt的(ubuntu)安装方法(不过不知道是不是最新的版本,旧版本可能会有BUG)sudo add-apt-repository ppa:aitjcize/manpages-cppsudo apt-get updates.........【阅读全文】

阅读(3696) | 评论(0) | 转发(0)

发布时间:2013-01-16 10:06:48

群友反应的问题, 贴上聊天记录甩得**2 11:44:43python --version | awk -F '.' '{print $1}'为啥是Pythone 2.7.3 这么个结果?这个命令 我期望获得字符串: Python 2但是无论怎么修改awk的-F 都始终是输出Python 2.7.3☆⌒_⌒☆ 11:47:41echo -n 'Python 2.7.3' | awk -F '[.]' '{ print $1; }'Python 2甩.........【阅读全文】

阅读(3965) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

chinaunix网友2011-02-15 16:05

看了你的博文,有这么多的体会,很佩服你的学习精神,总结出来写本书如何?我的联系方式:wuyi1352@gmail.com

回复 |  删除 |  举报

chinaunix网友2009-06-11 17:22

你好,问一下SendARP探测活动性的那是原原本本的程序吗,不缺什么吧?我运行之后SendARP的返回值总是31.不知道为什么,麻烦帮忙看看,谢谢了!

回复 |  删除 |  举报

chinaunix网友2009-05-14 17:00

文章都很好 收藏了

回复 |  删除 |  举报

wjksd2009-04-17 11:24

很厉害啊

回复  |  举报

chinaunix网友2008-11-09 16:44

师兄,我来像你学习来啦! 嘎嘎!

回复 |  删除 |  举报
留言热议
请登录后留言。

登录 注册