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