![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
文章平均质量分 83
slp_44777680
这个作者很懒,什么都没留下…
展开
-
linux zsh终端美化
有了这玩意zsh用起来直接就变成神器了。原创 2023-11-27 15:28:57 · 1414 阅读 · 0 评论 -
Ubuntu20.04通过rsync和inotify实现定时备份与实时备份
通过rsync和inotify实现定时备份与实时备份。转载 2023-07-08 14:36:01 · 589 阅读 · 0 评论 -
Linux 关于防火墙命令
一、下面是red hat/CentOs7关闭防火墙的命令!1:查看防火状态systemctl status firewalldservice iptables status2:暂时关闭防火墙systemctl stop firewalldservice iptables stop3:永久关闭防火墙systemctl disable firewalldchkconfig iptables off4:重启防火墙systemctl enable firewalldservice ipt转载 2021-01-02 17:38:57 · 279 阅读 · 0 评论 -
Linux Centos 使用yum安装MongoDB 4.0
1.配置MongoDB的yum源创建yum源文件:#cd /etc/yum.repos.d #vim mongodb-org-4.0.repo 添加以下内容:(我们这里使用阿里云的源)[mngodb-org]name=MongoDB Repositorybaseurl=http://mirrors.aliyun.com/mongodb/yum/redhat/7Server/mongodb-org/4.0/x86_64/gpgcheck=0enabled=1这里可以修改 gpgche转载 2021-01-02 17:25:58 · 196 阅读 · 0 评论 -
linux用户常规操作
linux常规操作一 、Linux添加、创建新用户添加用户组# groupadd groupname添加用户 # useradd username -m -s /bin/bash -d /home/username -g groupname参数说明:-s /sbin/nologin设置不能登陆-s /bin/false(老方法) 也行-d 设置用户主目录-g 用户组-m ...原创 2020-04-25 17:27:47 · 318 阅读 · 0 评论 -
SFTP操作命令
远程连接sftp -oPort=2822 hjsgydpre@172.16.6.10基本操作cd 路径 更改远程目录到“路径” lcd 路径 更改本地目录到“路径” chgrp group path 将文件“path”的组更改为“group” chmod mode p...转载 2019-12-31 12:39:54 · 646 阅读 · 0 评论