• Centos7最小化安装


    1、先使用minimal安装系统

    2、配置网络:dhcp或者静态ip,修改/etc/sysconfig/network-scripts/ifcfg-eth0文件;配置DNS,修改/etc/resolv.cf,增加nameserver

    3、安装基本网络组件:

    yum install net-tools
    yum install wget
    

    4、更改源,阿里源比较快:

    mkdir /etc/yum.repos.d/backup
    mv /etc/yum.repos.d/*.repo backup
    wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
    yum clean all
    yum makecache
    

    3、安装组件:

    yum install gcc
    yum install selinux-policy-devel
    yum install epel-release
    yum install dkms
    yum install nmap
    yum install java
    yum install yum-axelget
    yum install gcc-c++
    yum install make
    yum install gdb
    yum install cmake
    yum install git
    yum install unzip
    yum install libtool
    yum install libxml2
    yum install libcurl
    yum install openssl
    yum install zlib
    yum install python-pip

    4、禁用组件:

    systemctl stop firewalld       #停止防火墙
    systemctl disable firewalld    #禁止防火墙自启动
    
  • 相关阅读:
    API
    MVC判断是否登录
    MVC收藏店铺
    MVC显示界面
    MVC登录
    MVC登录跳转到显示
    MVC退单
    MVC判断登录
    Oracle 千位符转换,及格式转换
    【转】Java 服务端 和 C# 客户端 实现 Socket 通信
  • 原文地址:https://www.cnblogs.com/badwood316/p/8525877.html
Copyright © 2020-2023  润新知