Easter79 Easter79
4年前
ssh配置免密码登录
生成公钥命令sshkeygen可在机器上生成公钥和相关文件,等待输入的时候可以直接回车使用默认配置admin@iZ280626x93Z~$sshkeygenGeneratingpublic/privatersakeypair.Enterfileinwhichtosave
隔壁老王 隔壁老王
4年前
我的python总结
建议刚开始学习直接使用ANACONDAhttps://www.anaconda.com/download/配置python环境变量https://docs.python.org/3.6/using/cmdline.htmlenvvarPYTHONMALLOCPythonPEP8导包顺序1.Python标准
DevOpSec DevOpSec
4年前
内存问题定位与解决
内存问题定位基本流程:主要用到的性能计数器1.Pagelifeexpectancy (数据库计数器:主要显示不被使用的页,将在缓存中停留的秒数)2.
Wesley13 Wesley13
4年前
Ubuntu 14.04 搭建 ftp
一、安装ftp服务器vsftpd$sudoaptgetupdate$sudoaptgetinstallvsftpdftp服务器使用21端口,安装成功之后查看是否打开21端口$sudonetstatnpltu|grep21tcp       0     00.0.0.0:21             0.
Stella981 Stella981
4年前
Docker下redis的主从配置
1、拉取redis镜像dockerpullredis2、启动3个redis容器服务,分别使用到6379、6380、6381端口dockerrunnameredis6379p6379:6379dredisdockerrunnameredis6380p6380:6379dredis
Wesley13 Wesley13
4年前
Java日期时间API系列21
  通过工作之余,对Java8中java.time包源码的不断学习,使用和总结,开发了xktime,初步完成,欢迎试用和提出建议!xktimexktimeisadatetimeconvertercalculatorandformattertoolset,basedonjava8dateandtime
Stella981 Stella981
4年前
Gradle 生产与开发build.gradle配置不一样时打包(Springboot)
1.先说下缘由,项目没有使用配置中心,所以本地和开发有不同的build.gradle文件defenvSystem.getProperty("profile")?:"dev"if(env'prd'){applyfrom:"buildprd.gradle"}else{applyf
Stella981 Stella981
4年前
Linux iptables 设置
编辑/etc/sysconfig/iptables然后运行/sbin/serviceiptablesrestartnetstatanp|grep80|grepLISTEN防火墙规则只有在iptables服务运行的时候才能被激活。要手工启动服务,使用以下命令:/sbin/servic
芝士年糕 芝士年糕
3年前
Linux怎么知道服务是否启动?
这里以nginx为例1、看进程使用ps命令psef|grep服务名或psaux|grep服务名以下界面是服务起来了的效果!image(https://imghelloworld.osscnbeijing.ali
java小知识-纳秒
作者:京东物流崔冬冬一、System.nanoTime()java中,有这么一个方法System.nanoTime(),你用过吗?二、与System.currentTimeMillis()对比System.currentTimeMillis()我们经常使用