Wesley13 Wesley13
3年前
java获取操作系统的MAC地址和硬盘序列号
1.判断操作系统是Windows还是Linux1privatestaticBooleanisLinux(){2StringosSystem.getProperty("os.name");3log.info("os.name:{}",os);4
Easter79 Easter79
3年前
springboot之docker化
1、Docker安装本人是centos7系统,安装也是按照官方文档进行安装。https://docs.docker.com/install/linux/dockerce/centos/,即1、sudoyuminstallyyumutils\devicemapperpersistentdata\
Stella981 Stella981
3年前
Git免登录,不需重复输入账号和密码
linux下在~/下, touch创建文件 .gitcredentials:touch .gitcredentials 用vim编辑此文件,vim .gitcredentials输入内容格式https://username:password@github.com2
Stella981 Stella981
3年前
Linux下nginx的yum安装、源码安装、OpenResty的源码安装
Linux下nginx的安装安装环境:cat/proc/versionLinuxversion3.10.0123.el7.x86_64(builder@kbuilder.dev.centos.org)(gccversion4.8.220140120(RedHat4.8.21
Wesley13 Wesley13
3年前
MySQL在Ubuntu远程配置
MySQL远程连接访问在普通Linux下配置:在这个配置文件/etc/mysql/my.cnf修改:bindaddress         127.0.0.1修改为bindaddress         127.0.0.1或者b
Easter79 Easter79
3年前
SVN迁移GitLab
SVN迁移GitLab一、环境准备1.准备一台linux服务器2.安装git和gitsvnyuminstallygityuminstallygitsvn二、导出SVN工程gitsvnclonehttp://xx
Wesley13 Wesley13
3年前
(gnome
如题,远程登录到linux服务器,执行gitclonehttps://git.oschina.net/chenjianlong/JRoll2.git//报错(gnomesshaskpass:609):GtkWARNING:cannotopendisplay:解决方案1:
Stella981 Stella981
3年前
SVN迁移GitLab
SVN迁移GitLab一、环境准备1.准备一台linux服务器2.安装git和gitsvnyuminstallygityuminstallygitsvn二、导出SVN工程gitsvnclonehttp://xx
Wesley13 Wesley13
3年前
64位Debian Sid下编译Linux 0.11内核
64位DebianSid下编译Linux0.11内核基本环境SMPDebian3.11.61(20131027)x86\_64GNU/Linuxgcc(Debian4.8.25)4.8.2GNUassembler(GNUBinuti
Stella981 Stella981
3年前
Centos 7下网卡bonding配置之mode4
一、bonding技术bonding(绑定)是一种linux系统下的网卡绑定技术,可以把服务器上n个物理网卡在系统内部抽象(绑定)成一个逻辑上的网卡,能够提升网络吞吐量、实现网络冗余、负载等功能,有很多优势。bonding技术是linux系统内核层面实现的,它是一个内核模块(驱动)。使用它需要系统有这个模块,我们可以modinfo命