Chinaunix首页 | 论坛 | 博客
  • 博客访问: 821406
  • 博文数量: 203
  • 博客积分: 2433
  • 博客等级: 大尉
  • 技术积分: 2195
  • 用 户 组: 普通用户
  • 注册时间: 2011-04-05 13:32
文章分类

全部博文(203)

发布时间:2017-04-02 17:41:14

使用spyder校色仪,在某次linux升级后,加载icc profile出现:Argyll CMS:Diswin:Warning - new_dispwin:Expected VideoLUT depth 11 doesn't match actual 10EDID信息获取不了,经查,有些朋友说,没关系,icc profile已经加载了,这个错误可以忽略.可是本人感觉不对,经查,降级colord 到1.3.3-1,错误消息,再查看icc profile .........【阅读全文】

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

发布时间:2017-03-03 00:42:40

如果使用罗技外设,想检测电量:yaourt -S solaar......【阅读全文】

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

发布时间:2017-01-20 17:10:47

看到有些朋友,对于安装archlinux可是没网络,不知怎么做,其实这个问题很简单,对于有线连接的,直接:dhcpcd eth0<---获取ip对于无线连接wpa的,如下:使用archlinux安装盘,引导后:创建一个文件:network.conf:network={  ssid="无线连接的名字"  psk="无线连接的密码"}wpa_supplicant -B -c /root/.........【阅读全文】

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

发布时间:2017-01-18 22:52:30

如果conky出现:点击(此处)折叠或打开conky: Syntax error (/home/xxx/.conkyrc:1: syntax error near 'yes') while reading config file.conky: Assuming it's in old syntax and attempting conversion.这是因为conky使用了新的语法,可以使用:/usr/share/doc/conky.........【阅读全文】

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

发布时间:2017-01-16 18:19:49

使用的conky配置,备查:效果:.conkyrc:#set to yes if you want Conky to be forked in the backgroundbackground yescpu_avg_samples 2net_avg_samples 2out_to_console no # X font when Xft is disabled, you can pick one with program xfontsel#font 7x12#font 6x10#font 7x13#font 8x13#font.........【阅读全文】

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

发布时间:2016-12-22 00:05:53

背景: 无损音乐的分享,大部分通过cue文件去播放一个很大的音频文件。这个在windows要去分割音频文件是意见很轻松的事情,在linux下面就要折腾点了,要在命令行下面进行处理,ape、flac、wav任意转换。速度方面也不比windows差。[正文开始]文章类型:音频文件分割操作系统:Linux*解释下CUE为何物(摘至百度.........【阅读全文】

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

发布时间:2016-11-04 18:29:46

Linux下面有个特性叫OOM killer(Out Of Memory killer),这个东西会在系统内存耗尽的情况下跳出来,选择性的干掉一些进程以求释放一些内存。典型的情况是:某天机器突然登不上了,能ping通,但是ssh死活连不了。原因是sshd进程被OOM killer干掉了(泪流满面)。重启机器后查看系统日志会发现血淋淋的Out of Memory: Kille.........【阅读全文】

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

发布时间:2016-11-04 18:08:50

openvpn通过mysql数据库结合验证,先下载pam_mysql,编译安装./configure && make && make install<--------安装完成模块是在/usr/lib/security然后在/lib/security目录做一个软连接:ln -s /usr/lib/security/pam_mysql.so /lib/security64位系统在/lib64/security目录做软链接:ln -s /usr/lib/security/pam_mysql..........【阅读全文】

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

发布时间:2016-11-04 18:07:34

目的如题,直接上代码:#!/bin/bash#this is for count and block the hack ip for ssh loginip=`grep “Failed” /var/log/secure | awk ‘{print $(NF-3)}’ | sort | uniq -c | awk ‘{print $1″=”$2}’`count=”10″for i in $ipdonumber=`echo $i | awk -F “=” ‘{print $1}’`blockip=`echo $i | aw.........【阅读全文】

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

发布时间:2016-11-04 18:06:31

oz是一个方便制作qcow2镜像的工具,利用oz可以很方便的生成可以upload到openstack的镜像!ks.cfg===================================#platform=x86, AMD64, or Intel EM64T#version=DEVEL# Install OS instead of upgradeinstall# Keyboard layoutskeyboard ‘us’# Reboot after installationreboot# Root pa.........【阅读全文】

阅读(2381) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册