- 博客(18)
- 收藏
- 关注
转载 C++11 on Centos
To make use of yum to easily install this package and any dependencies we need to add a new repository. These live under /etc/yum.repos.d/ so, as r...
2016-07-01 15:18:00
173
转载 fedora
1. su -c "sed -i 's|^#baseurl|baseurl| ; s|^mirrorlist|#mirrorlist|' /etc/yum.repos.d/*"2. http://archives.fedoraproject.org/pub/archive/fedora/li...
2016-04-29 13:21:00
139
转载 在CentOS/RHEL 6.4上安装Chromium
cd /etc/yum.repos.dwget http://people.centos.org/hughesjr/chromium/6/chromium-el6.repo yum install chromium如果需要查看Flash和PDF,可以继续下面两步来安装插件cd /...
2016-04-23 14:46:00
106
转载 centos 软件安装
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpmrpm -i rpmforge-release-0.5.2-2.el6.rf.*.rpmyum -y install ...
2015-11-06 15:35:00
82
转载 Spring源代码解析
Spring源代码解析(一):IOC容器:http://www.iteye.com/topic/86339Spring源代码解析(二):IoC容器在Web容器中的启动:http://www.iteye.com/topic/86594Spring源代码解析(三):Spring JDBC:ht...
2015-09-11 10:08:00
55
转载 yum error - package is a duplicate with
First look if you have any uncomplete transactions with: yum-complete-transactionIf this doesn't help then take a look at the package-cleanup tool...
2015-08-13 10:56:00
63
转载 RHEL5.6 多网卡bond 绑定
(1)编辑虚拟网络接口配置文件(bond0),并指定网卡IPvi /etc/sysconfig/network-scripts/ifcfg-bond0DEVICE=bond0ONBOOT=yesBOOTPROTO=staticIPADDR=192.168.0.254BROADC...
2015-06-03 10:37:00
144
转载 linux查看主板型号,cpu,内存,内存条数量,网卡等
查看主板型号dmidecode |grep -A 8 "System Information"查看cpu型号,主频cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c查看内存free -m内存总大小grep "MemTotal...
2015-04-23 17:34:00
139
转载 ubuntu12.04记录
apt-get install vim1、root用户登录sudo vim /etc/lightdm/lightdm.conf[SeatDefaults]greeter-session=unity-greeteruser-session=ubuntugreeter-show-man...
2015-04-17 21:17:00
58
转载 ubuntu清除多余内核
1.查看系统内存在的内核版本列表:sudo dpkg --get-selections |grep linuxlibselinux1 installlinux-firmware installlinux-generic installlinux-headers...
2015-04-17 10:04:00
59
转载 traceroute命令
通过traceroute我们可以知道信息从你的计算机到互联网另一端的主机是走的什么路径。当然每次数据包由某一同样的出发点(source)到达某一同样的目的地(destination)走的路径可能会不一样,但基本上来说大部分时候所走的路由是相同的。linux系统中,我们称之为traceroute...
2015-04-15 18:15:00
248
转载 Linux查看CPU信息、机器型号等硬件信息
做性能测试需要记录性能测试机器的硬件信息,现将需要的命令总结如下:查看CPU信息(型号)cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c 8 Intel(R) Xeon(R) CPU E5410 @ ...
2015-04-15 18:00:00
48
转载 快速清理Android中无用的资源信息,图片,字符串等等
基于python的脚本工具 android-resource-removergithub 地址:https://github.com/KeepSafe/android-resource-remover安装方法:pip install android-resource-remover使...
2015-04-10 12:13:00
171
转载 shell bash判断
#shell判断文件夹是否存在#如果文件夹不存在,创建文件夹if [ ! -d "/myfolder" ]; thenmkdir /myfolderfi#shell判断文件,目录是否存在或者具有权限folder="/var/www/"file="/var/www/log"-x ...
2015-04-09 15:49:00
130
转载 ATS的traffice_line状态命令
traffic_line -r proxy.node.num_processestraffic_line -r proxy.node.hostname_FQtraffic_line -r proxy.node.hostnametraffic_line -r proxy.node.rest...
2015-04-08 10:48:00
420
转载 snmp oid 基本信息
以下是Linux下一些常用的OIDCPULoad1 minute Load: .1.3.6.1.4.1.2021.10.1.3.15 minute Load: .1.3.6.1.4.1.2021.10.1.3.215 minute Load: .1.3.6.1.4.1.2021.10...
2015-04-07 18:48:00
117
转载 js 简单判断是否为手机浏览器
var u = navigator.userAgent; if(u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/) || (u.indexOf('Android') > -1 || u.indexOf('Linux') > -1)) { … ...
2012-10-26 13:47:00
86
转载 手机浏览器agent
iPhoneMozilla/5.0 (iPhone; CPU iPhone OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B176 Safari/7534.48.3Mozil...
2012-10-25 18:33:00
401
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人