服务器2025年06月10日
查询大于500M文件 ls -lh $(find / -type f -size +500M) ...
服务器2025年06月10日
下载软件,使用命令wget xxx,参数:url 例如: wget http://download.redis.io/releases/redis-3.0.0.tar.gz 解压缩,使用命令tar,参数:zxvf z(gzip属性的)、x(解压)、v(显示过程)、f(使用档案名称),文件名 例如: tar zxvf redis-3.0.0.tar.gz 切...
服务器2025年06月10日
wget http://download.redis.io/releases/redis-4.0.8.tar.gztar -zxvf redis-4.0.8.tar.gzmake完成后就会放在了src目录里面了Examples: ./redis-server (run the server with default conf) ./redis-server...
服务器2025年06月10日
Step 1: Setup Yum Repository Firstly we need to configure yum repository in our system. Create a new repo file/etc/yum.repos.d/wandisco-svn.repo and add following content as per y...
服务器2025年06月07日
1.使用 jar 包部署 出现的问题 1.通过 feign 调用其他服务,出现超时的问题,该问题不是 ribbon、hystrix 没有配置导致的超时,经过测试,即使配置了也没有作用,该方法仅仅针对项目第一次启动,使用 feign 访问其他项目是配置有效 问题原因 1.项目是一个微服务分布式项目,通过服务编排工具 ranchar 去管理,而 xxl-job...
服务器2025年06月06日
CentOS 里切割大文件的命令如下: NAME split - split a file into pieces SYNOPSIS split [OPTION]... [INPUT [PREFIX]] DESCRIPTION Output fixed-size pieces of INPUT to PREFIXaa, PREFIXab, ...; def...
服务器2025年06月06日
添加epel阿里云1、 首先卸载以前装的epel 以免影响:rpm -e epel-release2、 下载阿里提供的epel 。wget -P /etc/yum.repos.d/ http://mirrors.aliyun.com/repo/epel-6.repo3、yum clean all4、yum makecache ...
服务器2025年06月05日
到目前为止,docker已经分化为两个主要分支 docker_ee: 企业版(docker enterprise edition) docer_ce: 社区版 (docker community edition) 本文主要介绍社区版的安装 配置更新yum源 设置yum源 # 安装yum工具包sudo yum install -y yum-utils # 添...
服务器2025年06月05日
转自:http://blog.csdn.net/inte_sleeper/article/details/6569985 参考资料: http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/ http://www.michael-nol...
服务器2025年06月04日
要求: 1.硬盘格式成物理卷pvpvcreate/dev/sdb/dev/sda 2.创建卷组vgcreatevg1000/dev/sdb1/dev/sdb2#创建卷组”vg1000” 3.增加卷组容量vgextendvg2000/dev/sdb2#将物理卷”/dev/sdb2”加入卷组”vg2000” 4.减少vgreducevg2000/dev/sdb...