服务器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日
安装 首先是下载,地址奉上:http://www.google.cn/chrome/browser/desktop/index.html,选择64 bit .rpm (适用于 Fedora/openSUSE) ,当然如果你是32位系统那么你可以选择32 bit .rpm (适用于 Fedora/openSUSE),选择接受并安装,进入下载页,下载完成之后直...
服务器2025年06月06日
当我们在Centos7中配置好Apache时,发现apache默认解析目录是在 /var/www/html,也就是说当访问服务器 IP 或者本地 localhost 时,默认定位到这个目录里的 index.html 或 index.php 文件。 如果不想用这个默认目录,就要我们动手改了: 一、先创建我们想要的目录,我选择在 /home 下建一个 www目...
服务器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月06日
1、安装 yum install iptables-services #安装iptables 2、systemctl使用 systemctl unmask firewalld #执行命令,即可实现取消服务的锁定 systemctl mask firewalld # 下次需要锁定该服务时执行 systemctl start firewalld.service...
服务器2025年06月05日
2台主机 192.168.30.207 Master 192.168.30.251 Node1 三台主机检查 ~/.ssh 文件夹没有则新建 ssh-keygen -t rsa 一路狂按回车,最终生成(id_rsa,id_rsa.pub两个文件). 把authorized_keys 复制到node上去. cat id_rsa.pub >&am...
服务器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日
...
服务器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...