本案环境:[root@bright~]#uname-r
2.6.32-504.el6.x86_64
[root@bright~]#cat/etc/redhat-release
CentOSrelease6.6(Final)
[root@bright~]#df-h
FilesystemSizeUsedAvailUse%Mountedon
/dev/mapper/vg_bright-lv_root
18G2.7G14G17%/
tmpfs931M0931M0%/dev/shm
/dev/sda1477M..
分类:
其他好文 时间:
2015-03-13 01:47:03
阅读次数:
252
应用场景和已知存在的问题:适用于CentOS6或CentOS7(可能适用于CentOS4或5等早些版本)根文件系统(被扩展的文件系统)采用LVM进行管理,例如mount命令输出“/dev/mapper/vg_$hostname-lv_rooton/typeext4(rw)”中含有“mapper”关键词自动扩容根文件系统,如果想扩展其他文件..
分类:
系统相关 时间:
2015-03-12 15:18:36
阅读次数:
288
1、下载x86_64nethogs的rpm安装包wgetftp://ftp.muug.mb.ca/mirror/fedora/epel/6/x86_64/nethogs-0.8.0-1.el6.x86_64.rpm2、安装nethogsrpm-ivhnethogs-0.8.0-1.el6.x86_64.rpm3、使用nethogs查看进程流量ifconfignethofseth04、默认是监视eth0同时监视多个网卡nethogseth0eth..
分类:
Web程序 时间:
2015-03-12 01:07:13
阅读次数:
158
步骤Eclipse -> Help -> Install New Software...在出现的窗口点击Available Software Sites链接将所有URL中的"download.eclipse.org",都替换为"http://mirror.bit.edu.cn/eclipse/",点...
分类:
系统相关 时间:
2015-03-12 00:58:11
阅读次数:
9167
源代码基地 http://mirror.cogentco.com/
想要什么代码下载什么代码
ApacheCPANCentOSDebianDebian
CDEPELFedoraFreeBSD
GNUMySQLOpenSSHOpenSSLPHPRFC'sUbuntuUbuntu
Releases...
分类:
其他好文 时间:
2015-03-11 21:48:16
阅读次数:
124
题目:
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).
For example, this binary tree is symmetric:
1
/ 2 2
/ \ / 3 4 4 3
But the fo...
分类:
其他好文 时间:
2015-03-11 17:19:41
阅读次数:
143
Symmetric Tree问题:Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).思路: dfs我的代码:public class Solution { ...
分类:
其他好文 时间:
2015-03-07 19:58:45
阅读次数:
135
安装环境操作系统:ubuntu 14.04.1 server amd64安装jdk在安装maven之前,必须确保已经安装过jdk。安装jdk的方法请参考文章《在ubuntu中安装jdk》。下载mavenwget http://apache.fayea.com/apache-mirror/maven/...
分类:
系统相关 时间:
2015-03-06 20:34:03
阅读次数:
213
1. 简单的爬虫 1. xampp开启php的cURL -> xampp/php/php.ini 搜索curl去掉分号即可 2. cmd D: -> cd xampp -> cd php php -f ../htdocs/mirror/curl/curl.php > ../htdocs/m...
分类:
Web程序 时间:
2015-03-06 19:01:13
阅读次数:
157
环境 centos5.8 php5.2.17因为wdos 集成的php5.2.17为精简版,并未包含php52-bcmath扩展。所以先下载完整php5.2.17源码包wget -c http://us3.php.net/get/php-5.2.17.tar.gz/from/this/mirror=...
分类:
系统相关 时间:
2015-03-06 10:31:40
阅读次数:
237