CentOS & Ubuntu 添加sudo用户 在 linux 中 root 用户的权限是非常大的,为了防止因权利过大而产生的误操作问题,一般都会新建一个用户,并将该用户添加到 sudo 组,以后就用这个新用户登录。 CentOS 创建用户时为用户指定home目录:useradd -d /home ...
                            
                            
                                分类:
系统相关   时间:
2021-02-18 13:41:00   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                在Linux环境下,无论是Centos、Ubuntu还是Mac OS 中安装一般都是两种类型安装:在线安装和.tgz压缩包安装两种。对于Mac OS来说brew安装要方便和简单很多。所以不多做解释了。这里讲的是用.tgz方式安装。 1、下载。先到MongoDB的官网找到合适的版本的文件,然后下载。h ...
                            
                            
                                分类:
数据库   时间:
2021-02-18 13:40:28   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    Pod数据持久化 k8s中的volume提供了在容器中挂载外部存储的能力,Pod需要设置卷来源(spec.volume)和挂载点(spec.containers.volumeMounts)这两个信息后 才可以使用相应的volume 官方对volume的介绍: Docker 也有 Volume 的概念 ...
                            
                            
                                分类:
其他好文   时间:
2021-02-18 13:30:42   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    1.防火墙开放端口 firewall-cmd --zone=public --add-port=8848/tcp --permanent firewall-cmd --list-ports 开放centOS 网关,远程连接 grant all privileges on *.* to 'root'@ ...
                            
                            
                         
                    
                        
                            
                            
                                
                    一.环境介绍 1..net开发环境:asp.net core 3.1 2.Linux环境:CentOS Linux release 7.9.2009 (Core) 3.Swagger: Swashbuckle.AspNetCore6.0 4.开发工具:VS2019,xShell7,xFtp7 二.搭 ...
                            
                            
                         
                    
                        
                            
                            
                                
                    在CentOS 7+ 上安装部署ZKEACMS ZKEACMS Core 是基于 .net core 开发的,可以在 windows, linux, mac 上跨平台运行,接下来我们来看看如何在 CentOS 上运行 ZKEACMS。 安装 Nginx yum install nginx -y 如果 ...
                            
                            
                                分类:
其他好文   时间:
2021-02-17 14:53:44   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    NMP = Nginx/MySQL/PHP Installation steps of the Nginx 我这里使用 v1.4.4 wget -c http://nginx.org/download/nginx-1.4.4.tar.gz install tar -zxvf nginx-1.7.4. ...
                            
                            
                                分类:
其他好文   时间:
2021-02-16 12:17:27   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    1、打开centos的yum文件夹 cd /etc/yum.repos.d/ 2、用wget下载repo文件 wget http://mirrors.aliyun.com/repo/Centos-7.repo 如果wget命令不生效,说明还没有安装wget工具, yum -y install wge ...
                            
                            
                                分类:
其他好文   时间:
2021-02-15 12:37:24   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                问题描述:CentOS 7.9版本 root用户密码输入正确,出现错误密码提示:“sorry,that didn't work.please try again” 解决方案 一,创建普通用户,以前通用户登录 打开终端:输入命令 sudo passwd root 然后输入旧密码,新密码,再确认新密码( ...
                            
                            
                                分类:
其他好文   时间:
2021-02-15 12:37:10   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    centos6 yum install git yum install http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm yum update git centos7 yum  ...
                            
                            
                                分类:
其他好文   时间:
2021-02-15 12:32:55   
                                阅读次数:
0