网卡文件路径 路径:/etc/sysconfig/network-scripts/ 配置文件解析 DEVICE=ens33 # 网卡的设备名称 NAME=ens33 # 网卡设备的别名 TYPE=Ethernet #网络类型:Ethernet以太网 BOOTPROTO=none #引导协议:stat ...
分类:
其他好文 时间:
2021-04-02 13:26:44
阅读次数:
0
题目描述 给定一个字符串数组,将字母异位词组合在一起。字母异位词指字母相同,但排列不同的字符串。 示例: 输入: ["eat", "tea", "tan", "ate", "nat", "bat"]输出:[ ["ate","eat","tea"], ["nat","tan"], ["bat"]] 思 ...
分类:
其他好文 时间:
2021-04-02 13:26:22
阅读次数:
0
Centos7 Centos7源镜像修改 # Insatll wget yum install -y wget # Backup repo; mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup m ...
分类:
系统相关 时间:
2021-04-02 13:06:44
阅读次数:
0
首先安装MySQL服务: wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm yum -y install mysql57-community-release-el7-10.noarch.rp ...
分类:
数据库 时间:
2021-04-02 12:58:53
阅读次数:
0
1.centos部署go环境 vim /etc/profile export PATH=$PATH:/usr/local/go/bin export GOROOT=/usr/local/go #go包的解压目录 export GOPATH=/opt/GOPATH #表示实际的工作目录 export ...
分类:
Web程序 时间:
2021-04-02 12:53:57
阅读次数:
0
一、简介 接着上篇 数据库事务简介,来聊聊 Spring 事务。 Spring 本身并不实现事务,Spring 事务的本质还是底层数据库对事务的支持,没有数据库事务的支持,Spring 事务就不会生效。 Spring 事务提供了一套抽象的事务管理,并且结合 Spring IOC 和 Spring A ...
分类:
编程语言 时间:
2021-04-01 13:10:42
阅读次数:
0
1. GLPK缺失 igraph::cluster_optimal社团检测算法依赖系统中的GLPK包。 MacOS 11.2 brew install glpk CentOS 7 wget http://download-ib01.fedoraproject.org/pub/epel/7/x86_6 ...
分类:
其他好文 时间:
2021-04-01 12:54:29
阅读次数:
0
下载python源码至服务器 http://npm.taobao.org/mirrors/python/3.7.5/Python-3.7.5.tgz (根据自己的需要去下载对应的版本) wget http://npm.taobao.org/mirrors/python/3.7.5/Python-3. ...
分类:
编程语言 时间:
2021-03-31 12:32:39
阅读次数:
0
背景 在CentOS的新版本中加入了nmcli来便于管理网络,但网上看到的更多的评论还都是摒弃这个,还继续使用传统的修改/etc/sysconfig/network-scripts/ifcfg-* 的方式来做网络配置。但这个太费时间了,还是用nmcli来管理网络吧。 nmcli简介 nmcli 是N ...
分类:
其他好文 时间:
2021-03-31 12:29:44
阅读次数:
0
网上很多帖子有在Linux上安装Redis的分享,这里我就不再多介绍。 redis在centos7中的开机自启在系统服务目录里创建redis.service文件 vi /etc/systemd/system/redis.service 写入以下内容:[Unit]Description=redis-s ...
分类:
系统相关 时间:
2021-03-31 12:13:38
阅读次数:
0