zoukankan      html  css  js  c++  java
  • 系统基础优化

    1) 系统安全服务优化
    selinux: 在某些特定场景限制系统root用户权利
    selinux程序: 关闭
    临时关闭: setenforce 0
    永久关闭: vi /etc/selinux/config
    7 SELINUX=disabled

    firewalld服务: 关闭 web:80禁止
    防火墙服务: 可以隔离危险的数据流量信息
    临时关闭: systemctl stop firewalld
    永久关闭: systemctl disable firewalld

    2) 需要做好yum优化
    QQ 微信 游戏 office ----平台 360软件管家 --- windows
    nginx apache zabbix ----平台yum仓库 优化yum源信息
    ----平台yum仓库-aliyun
    ---- 清华
    Base update extra epel(扩展仓库中)

    curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
    curl -o /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo

    yum install -y tree vim telnet nc nmap lrzsz bash-completion sl cowsay
    lrzsz --- 可以实现windows和linux系统数据相互传输

  • 相关阅读:
    Python内置函数(22)——list
    Git在不同环境换行符设置
    Spring之AOP
    Spring之IOC
    Spring--框架简介
    git-远程协作
    git-SSH连接配置
    git-本地操作
    git简介
    浅谈Sql各种join的用法
  • 原文地址:https://www.cnblogs.com/sulongniao/p/13724616.html
Copyright © 2011-2022 走看看