240 发简信
IP属地:广东
  • Centos7下Yum安装nginx 和php

    一、安装nginx 安装nginx 方法一 EPEL源 1 yum-y install epel-release 2 yum-y install...

  • linux ls统计文件个数

    统计某文件夹下文件的个数 ls -l |grep "^-"|wc -l 统计某文件夹下目录的个数 ls -l |grep "^d"|wc -l ...

  • User相关

    查看用户 cat /etc/passwd 查看所有用户的列表cat /etc/passwd |grep 0 简单查看root用户cat /etc...

  • sshd_config配置详解

    sshd_config配置详解 重启SSH服务 service sshd restart 名称 sshd_config- OpenSSH SSH...

  • CentOS7 的systemctl命令相关

    配置systemctl命令tab自动补全 系统版本[root@test ~]# uname -r3.10.0-229.el7.x86_64 [r...

  • CentOS更改yum源与更新系统

    [1] 首先备份/etc/yum.repos.d/CentOS-Base.repo mv /etc/yum.repos.d/CentOS-Bas...

  • centos 用户 相关

    用户列表文件:/etc/passwd用户组列表文件:/etc/group 查看系统中有哪些用户:cut -d : -f 1 /etc/passw...

  • Centos7 修改SSH 端口

    Centos7 修改SSH 端口 为了防止服务器被攻击,建议以下几点: 1. root密码要复杂一点,尽量字母数字特殊字符都有 2. ssh端口...

  • Centos 7 安装VNC

    VNC允许Linux系统可以类似实现像Windows中的远程桌面访问那样访问Linux桌面。 首先试试服务器装了VNC没 [root@wic~]...