11 2017 档案
摘要:克隆得到的虚拟机,与原先的系统是一模一样的包括MAC地址和IP地址。需要修改成信息。 克隆完事之后,首先在 点击生成一个新的MAC地址。然后启动,登陆。 vim /etc/udev/rules.d/70 persistent net.rules 把eth0的几行删掉。然后把最后的字符串eth1改成e
阅读全文
摘要:[root@localhost ~]# service firewalld restartRedirecting to /bin/systemctl restart firewalld.serviceJob for firewalld.service failed because the contr
阅读全文
摘要:centos安装nginx 原文地址:http://www.cnblogs.com/leechenxiang/p/5402960.html 一、什么是nginx 是一个C语言开发的HTTP反向代理服务器,性能非常高 一个俄罗斯的哥们开发的,官方提供的测试性能能够达到5W的并发,我的天呐~,实际测试差
阅读全文
摘要:1.probablePrime(6,Random) Random是scala.util._中的包 probablePrime是scala.math.BigInt._伴生对象中的方法: probablePrime(a,Random) 官方文档这么说的:Returns a positive BigInt
阅读全文