上一页 1 2 3 4 5 6 7 ··· 32 下一页
摘要: Centos7中提供了设置主机名的工具 hostnamectl hostname有三种状态 static(永久) transient(瞬态) pretty (灵活) 查看主机名状态 [oracle@hadoop ~]$ hostnamectl status Static hostname: hado 阅读全文
posted @ 2019-02-22 12:51 七月逆流 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 1.centos 7.5 64 2.安装docker systemctl restart docker.service 注意:重启后才有 /etc/docker/文件夹 切换到这文件夹下再增加对应的daemon.json文件 sudo systemctl daemon-reload systemct 阅读全文
posted @ 2019-02-22 12:06 七月逆流 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 1)下载repo文件 wget http://mirrors.aliyun.com/repo/Centos-7.repo 2)备份并替换系统的repo文件 cp Centos-7.repo /etc/yum.repos.d/ cd /etc/yum.repos.d/ mv CentOS-Base.r 阅读全文
posted @ 2019-02-21 11:45 七月逆流 阅读(559) 评论(0) 推荐(0) 编辑
摘要: 最近在 Mac上操作另一台 Mac 和 Linux 服务器,每次输密码太麻烦。所以直接设置 ssh 免密码登录,省去输入密码的过程。先在本机执行 ls ~/.ssh 若不存在 id_rsa,id_rsa.pub 公钥文件,可执行如下命令即可生成。 将其中 id_rsa.pub需要传送到 Mac 或者 阅读全文
posted @ 2019-02-21 10:01 七月逆流 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 下载安装nginx,并记住安装目录 官网下载 下载winsw,下载地址 将winsw可执行程序复制到nginx安装目录下,并重命名为nginx-service 新建名为nginx-service.xml的文件(注:文件名必须与可执行文件名相同) 并编辑如下,其中name为 服务名,executabl 阅读全文
posted @ 2018-08-08 00:42 七月逆流 阅读(1474) 评论(0) 推荐(1) 编辑
摘要: Eclipse切换到Navigator视图,找到.gitignore文件(如果是maven项目,一般找作为modules的项目的.gitignore文件),添加内容: 阅读全文
posted @ 2018-08-08 00:17 七月逆流 阅读(4552) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/flying607/p/7827460.html 以下是springboot的一个局部依赖关系: 可以看到,java util logging(jul)、common-logging(jcl)、log4j,都被桥接到了slf4j-api上,slf4j- 阅读全文
posted @ 2018-08-06 02:26 七月逆流 阅读(290) 评论(0) 推荐(0) 编辑
摘要: Known issuesPossible future enhancements Version of nginx for Windows uses the native Win32 API (not the Cygwin emulation layer). Only the select() co 阅读全文
posted @ 2018-08-06 01:59 七月逆流 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 1. 如何导入已有Git项目 1.1 File——>import… 出现以下界面 1.2 找到Git,然后双击‘Project from Git。或者点击next 1.3 双击Clone URI 1.4 将已有git项目的路径复制到URI里后,填写完下面红色方框。填写完后点击next 1.5 这一步 阅读全文
posted @ 2018-08-03 13:36 七月逆流 阅读(932) 评论(0) 推荐(0) 编辑
摘要: 一、root权限编辑/etc/rc.d/rc.local 二、在这个文件加上你要执行的脚本,全部内容如下: 阅读全文
posted @ 2018-07-29 01:44 七月逆流 阅读(437) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 32 下一页