- 博客(12)
- 收藏
- 关注
转载 redis的安装(ubuntu版本)
1.使用apt-get命令进行安装 安装gcc依赖 root@yatces-virtual-machine:~# apt-get update root@yatces-virtual-machine:~# apt-get install gcc 安装redis-server root@yatces-virtual-machine:~# apt-get insta...
2019-08-22 12:33:00
232
转载 nginx配置虚拟主机、反向代理和负载均衡
为了实现这个功能,需要修改nginx的配置文件,将nginx.conf清理一下,使结构更清晰。 worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-str...
2019-08-21 18:23:00
221
转载 Ubuntu16.04安装及配置nginx
Ubuntu版本信息: root@yatces-virtual-machine:~# cat /etc/lsb-releaseDISTRIB_ID=UbuntuDISTRIB_RELEASE=16.04DISTRIB_CODENAME=xenialDISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS" 安装nginx版本...
2019-08-21 15:01:00
191
转载 SpringBoot 集成 Elasticsearch
前面在 ubuntu 完成安装 elasticsearch,现在我们SpringBoot将集成elasticsearch。 1、创建SpringBoot项目 我们这边直接引入NoSql中Spring Data Elasticsearch启动器。 创建项目完成后。 项目结构: pom文件:(新增 lombok 简化pojo) <?xml version=...
2019-08-02 15:23:00
285
转载 Ubuntu安装Elasticsearch6.3
本文使用的 Ubuntu 版本信息: Distributor ID: Ubuntu Description: Ubuntu 16.04.5 LTS Release: 16.04 Codename: xenial 1、新增es用户 elasticsearch 默认不允许以 root 账号运行 adduser es #新增 es 用户,...
2019-08-01 15:46:00
290
转载 Ubuntu搭建Redis 集群
1.源码编译 查看需要下载版本:http://download.redis.io/releases/ 本人保存路径:/usr/local/soft/ wget http://download.redis.io/releases/redis-4.0.12.tar.gz tar xzf redis-4.0.12.tar.gz cd redis-4.0.12 make ...
2019-07-23 15:27:00
238
转载 ubuntu允许root远程登录
之前说了,怎么设置root用户登录,但是使用Xshell等工具操作Ubuntu,用户登录不进去,原因很简单,没有开启root登录的权限。 1.检查ssh服务是否开启 使用以下命令,查看是否开启 ps -e|grep ssh 2.安装ssh服务 使用以下命令安装: apt-get install ssh 3.启动ssh 使用以下命令启动:以下两个都可以。 ...
2019-07-22 15:22:00
183
转载 Controller接收处理json、xml格式数据
1.RequestBody接收json格式的数据,并直接转为对象。 User.java使用lombok依赖包 @Data @AllArgsConstructor @NoArgsConstructor @ToString public class User{ private int id; private String name; }...
2019-06-25 14:38:00
2661
转载 Centos7安装postgresql
本文Centos版本为7.4,安装的Postgresql版本为9.4。 1.查找需要安装的版本: 可以下载9.3以下的版本:https://yum.postgresql.org/repopackages.php查看9.4以上的版本:https://download.postgresql.org/pub/repos/yum/ 2.使用root用户登录,安装yum源: y...
2019-06-25 13:28:00
136
转载 ubuntu安装Java环境
JDK安装方式 1.1 使用wget命令直接下载(下载保存路径为/usr/local/tmp) wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "...
2019-03-11 22:30:00
188
转载 ubuntu开放端口
1.安装iptables(一般情况,ubuntu安装好的时候,iptables会被安装上),使用以下命令: $apt-get update $apt-get install iptables 2.安装完后,开放2181端口,使用以下命令: $ iptables -I INPUT -p tcp --dport 2181 -j ACCEPT 3...
2019-03-11 22:11:00
1551
转载 VMware安装Ubuntu
1、下载Ubuntu镜像文件 地址:http://www.ubuntu.com打开上面的连接,我们来到如下页面,点击download: 下一步,到如下页面,点击Ubuntu Desktop: 然后选择Ubuntu 14.04.3 LTS release notes: 然后选择Ubuntu Desktop and Server: 选择桌面版64-bit P...
2019-03-07 23:02:00
308
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅