redhat7/ubuntu16安装完要做的事情

redhat7.3 配置手册:
    1.网络设置 修改/etc/sysconfig/network-scripts/ifcfg-en33 文件 ONBOOT="yes" #开启自动启用网络连接,并重启
        参考:https://www.cnblogs.com/ytb-wpq/p/6908345.html
    2.使用xshell登录
    3.yum源配置(163源/aliyun源)
        参考:https://blog.csdn.net/h330531987/article/details/80609573
        http://mirrors.aliyun.com/repo/Centos-7.repo  (修改releasever为7)
    4.yum clean all  --yum会把下载的软件包和header存储在cache中,而不自动删除。如果觉得占用磁盘空间,可以使用yum clean指令进行清除
        yum makecache
        yum update        
    5.安装pip
        yum install epel-release

        EPEL的全称叫 Extra Packages for Enterprise Linux 。EPEL是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS、
        Scientific Linux 等提供高质量软件包的项目。装上了 EPEL之后,就相当于添加了一个第三方源。


        yum install python-pip
    6.关闭防火墙
        systemctl disable firewalld
        setenforece 0
        
        
ubuntu16.04 配置手册:    
    1.更新源 https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
    2.apt-get update && apt-get upgrade
    3.apt-get install openssh-server  默认系统已经安装了openssh-client
        参考:https://www.cnblogs.com/hizf/p/7776322.html
    4.修改hostname    
        参考:https://blog.csdn.net/dengjin20104042056/article/details/80462511
        /etc/init.d/networking restart
    5.设置静态ip 
        参考:https://blog.csdn.net/lisuo1234/article/details/52216215


        
    
        
    
        

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值