码迷,mamicode.com
首页 >  
搜索关键字:conf    ( 25562个结果
git解决 fatal: not in a git directory
git解决 fatal: not in a git directory 问题描述:执行下面语句时报错:fatal: not in a git directorygit config --global user.name "yourName" //注意,--和global之间没有空格git confi ...
分类:其他好文   时间:2020-05-30 17:14:01    阅读次数:548
搬运 | pip更换国内镜像源
临时使用 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package 默认使用 # windows系统使用cmd快速设置 pip install pip -U # 升级pip到最新版本 pip config set glo ...
分类:其他好文   时间:2020-05-30 15:39:08    阅读次数:80
springboot 2.x centos 7.0 部署
1 pom <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <mainClass>com.xx.xxAppli ...
分类:编程语言   时间:2020-05-30 15:37:58    阅读次数:58
安装 局域网用的dns服务器,为多环境k8s的ip地址解耦合
安装dnsmasq yum -y install dnsmasq 配置 vim /etc/mnsmasq.conf 修改以下几个数据 # Change this line if you want dns to get its upstream servers from # somewhere oth ...
分类:其他好文   时间:2020-05-30 11:12:12    阅读次数:96
Linux安全策略设置
一、 Linux安全设置 1、口令长度限制 设定用户默认密码长度不小于10位(数字、字母、特殊字符) 说明:该限制只是警告提示,不是强制要求 检查项:设置用户密码最小长度 加固建议:在/etc/security/pwquality.conf中取消minlen注释符号#,同时设置最小密码长度建议10位 ...
分类:系统相关   时间:2020-05-30 11:10:28    阅读次数:222
搭建Nexus Repository包管理系统
搭建Nexus Repository包管理系统 下载安装程序 下载Nexus Repository最新版本 配置说明 将下载后的文件传输到服务器上 #修改配置文件 vi /etc/security/limits.conf #添加 * soft nofile 65536 #修改服务配置 vi /etc ...
分类:其他好文   时间:2020-05-30 10:45:22    阅读次数:83
Redhat防火墙
Redhat使用了SELinux来增强安全, 首先怎么查看防火墙的状态呢? a.可以通过如下命令查看iptables防火墙状态: chkconfig --list iptables b. selinux状态可以通过以下命令查看: sestatus或者/usr/sbin/sestatus [-v] s ...
分类:其他好文   时间:2020-05-30 10:38:24    阅读次数:64
configparser模块
configparser import configparser config = configparser.ConfigParser() config.read('test.ini') import configparser config = configparser.ConfigParser() ...
分类:其他好文   时间:2020-05-29 21:08:02    阅读次数:45
使用阿里云服务器无法正常解析域名怎么办
首先我们分析一下无法解析的原因有哪些:1.DNS设置问题2.防火墙策略问题3.NSCD服务问题 接下来逐一排查: 首先,检查系统是否正确设置了DNS服务器,输入命令: cat /etc/resolv.conf 输出结果如下 如果DNS没有配置,那么就需要我们添加设置,可以设置为阿里云公共DNS,如下 ...
分类:其他好文   时间:2020-05-29 20:55:02    阅读次数:176
xampp运行MySQL shutdown unexpectedly解决方法
xampp运行MySQL数据时出现 Error: MySQL shutdown unexpectedly.解决方案 故障描述: 12:15:46 [mysql] Attempting to start MySQL app... 12:15:47 [mysql] Status change detec ...
分类:数据库   时间:2020-05-29 19:39:22    阅读次数:130
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!