上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 27 下一页

2020年3月29日

Centos 7 查看使用YUM 安装的JDK路径并配置JAVA_HOME

摘要: 1、查找路径 [root@master01 jre]# which java /bin/java [root@master01 jre]# ls -l /bin/java lrwxrwxrwx. 1 root root 22 Mar 22 01:01 /bin/java -> /etc/altern 阅读全文

posted @ 2020-03-29 19:45 滚动的蛋 阅读(3139) 评论(0) 推荐(1)

【Centos7】hostnamectl 设置主机名

摘要: https://blog.csdn.net/dream361/article/details/56833248 阅读全文

posted @ 2020-03-29 17:03 滚动的蛋 阅读(258) 评论(0) 推荐(0)

centos7设置静态IP地址

摘要: https://blog.csdn.net/sjhuangx/article/details/79618865 阅读全文

posted @ 2020-03-29 16:52 滚动的蛋 阅读(118) 评论(0) 推荐(0)

SSH原理与运用

摘要: (一):远程登录 http://www.ruanyifeng.com/blog/2011/12/ssh_remote_login.html (二):远程操作与端口转发 http://www.ruanyifeng.com/blog/2011/12/ssh_port_forwarding.html 阅读全文

posted @ 2020-03-29 16:23 滚动的蛋 阅读(117) 评论(0) 推荐(0)

2020年3月28日

springboot 集成 spring-data-elasticsearch

摘要: 版本对照 各版本的文档说明:https://docs.spring.io/spring-data/elasticsearch/docs/ 1、在application.yml中添加配置 spring: data: elasticsearch: repositories: enabled: true 阅读全文

posted @ 2020-03-28 19:05 滚动的蛋 阅读(4335) 评论(0) 推荐(0)

2020年3月26日

Java 集合排序

摘要: 1、自己动手写集合排序工具类 2、使用java提供的,如下 List<Housing> hlist = new ArrayList<>(); Collections.sort(hlist, (b, a) -> b.getName().compareTo(a.getName()));//按照housi 阅读全文

posted @ 2020-03-26 15:15 滚动的蛋 阅读(101) 评论(0) 推荐(0)

2020年3月22日

Jave foreach 循环出来的变量能否通过赋值改变

摘要: 代码: public static void main(String[] args) { Integer[] mm = new Integer[] {14561,1264}; for (Integer item : mm) { item=45;//foreach 循环的变量是被transient 修 阅读全文

posted @ 2020-03-22 17:10 滚动的蛋 阅读(798) 评论(0) 推荐(0)

centos7 yum安装java环境

摘要: centos7中安装java环境,在安装前先查看有无安装过java环境。直接运行java命令,会提示命令未找到,则是没有安装过java环境。 java [root@zixuephp ~]# java -bash: java: command not found 也可以通过rpm命令查看: bash 阅读全文

posted @ 2020-03-22 13:02 滚动的蛋 阅读(2148) 评论(0) 推荐(0)

centos 7关闭防火墙

摘要: entOS 7.0默认使用的是firewall作为防火墙 关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 firewall-cmd 阅读全文

posted @ 2020-03-22 12:54 滚动的蛋 阅读(224) 评论(0) 推荐(0)

删除centos7中自带有python2.7

摘要: (1)强制删除已安装python及其关联 # rpm -qa|grep python|xargs rpm -ev --allmatches --nodeps (2)删除残余文件 # whereis python|xargs rm -frv 阅读全文

posted @ 2020-03-22 10:47 滚动的蛋 阅读(2096) 评论(0) 推荐(0)

上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 27 下一页

导航