![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
luka2008
这个作者很懒,什么都没留下…
展开
-
Linux常用命令手记
查看类1.查询软件安装 rpm -qa ffmpeg2.查询软件安装dpkg -l 软件名 (ubuntu)编码转换1.convmv -r -f gbk -t utf8 --notest 文件|文件路径,常用于Window转Linux文件编码问题原创 2012-03-29 18:33:30 · 422 阅读 · 0 评论 -
CentOS下yum安装FFmpeg
一、yum安装FFmpeg1. 最偷懒的方式就是yum安装了,自动解决依赖。不过CentOS系统默认无FFmpeg源,企业版 Linux 附加软件包EPEL源也不包含,需要手动添加yum源配置/etc/yum.repos.d/dag.repo: [dag]name=Dag RPM Repository for Red Hat Enter转载 2015-12-09 11:31:04 · 2554 阅读 · 0 评论 -
linux下imagemagick批量处理图片命令
批量转图片,从一种格式到另一种格式for img in `find ./ -name "*.bmp"`; do convert $img ${img/bmp}jpg; done原创 2015-07-29 16:09:25 · 3496 阅读 · 0 评论 -
tail时报No space left on device
echo 16384 > /proc/sys/fs/inotify/max_user_watchesecho 'echo 16384 > /proc/sys/fs/inotify/max_user_watches' >> /etc/rc.local原创 2015-03-05 15:28:03 · 1260 阅读 · 0 评论 -
使用 wget 完成批量下载
使用 wget 完成批量下载如果想下载一个网站上目录中的所有文件, 我需要执行一长串wget命令, 但这样做会更好:wget -nd -r -l1 --no-parent http://www.foo.com/mp3/这条命令可以执行的很好, 但有时会下载像 index.@xx 这样一些我不想要的文件. 如果你知道想要文件的格式, 可以用下面的命令来避免下载那些多余的文件:转载 2015-01-05 10:47:29 · 33868 阅读 · 0 评论 -
linux iptables开放端口命令
#/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT#/sbin/iptables -I INPUT -p tcp --dport 22 -j ACCEPT#/sbin/iptables -I INPUT -p tcp --dport 3306 -j ACCEPT然后保存:#/etc/rc.d/init.d/iptables sa原创 2014-10-23 09:23:10 · 78101 阅读 · 2 评论 -
超级rtmp服务器和屌丝wowza
写在前面:最近公司有个相关的项目要用到80G的的万兆网络环境,正好公司的大牛搞个st的东东,写了一个压力测试工具,对比了一下各种流媒体服务,FMS没有包含在内,比较遗憾,不过已经比较全面了。原来听说intel的万兆网卡有问题,只能跑到不到的理论带宽,这点我测试过了,用intel最新的驱动,centos6,最次能跑到80%的理论带宽,最高能跑到95%以上,完全没有问题。没有做任何优化,这个以后我单发转载 2014-10-23 09:47:52 · 7655 阅读 · 4 评论 -
"error while loading shared libraries: xxx.so.x" 错误的原因和解决办法
一般我们在Linux下执行某些外部程序的时候可能会提示找不到共享库的错误, 比如:tmux: error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: No such file or directory原因一般有两个, 一个是操作系统里确实没有包含该共转载 2014-08-14 17:55:59 · 913 阅读 · 0 评论 -
CentOS 安装 openoffice 和swftools 编译安装
转载:第一步安装openoffice安装最新的openoffice 需要最新的系统,redhadserver5.5不行,因为里面GLIBC最高是2.5的,最新的openoffice需要GLIBC_2.11。所以openoffice安装到了线上的阿里云上面的CentOS 6.2上面。 1:下载最新的 openoffice地址:http://jais转载 2014-08-18 19:25:13 · 6323 阅读 · 0 评论 -
FFmpeg安装,AAC编码器安装
IntroThis guide is meant to walk system administrators through the process of setting up ffmpeg, x264, and the codecs & libraries required to run the CumulusClips on CentOS 5.5 (or higher) and Red转载 2014-03-14 17:30:24 · 3871 阅读 · 0 评论 -
常用查看Linux系统信息命令
系统# uname -a # 查看内核/操作系统/CPU信息# head -n 1 /etc/issue # 查看操作系统版本# cat /proc/cpuinfo # 查看CPU信息# hostname # 查看计算机名# lspci -tv # 列出所有PCI设备# lsusb -tv转载 2013-03-26 16:22:18 · 569 阅读 · 0 评论