Centos 7 下命令整理

前端之家收集整理的这篇文章主要介绍了Centos 7 下命令整理前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

1. 创建root账户

sudo passwd root

之后再输入几次密码就好了

2. 重启网络

可以避免ssh掉了

sudo ifdown XXX && ifup xxx

@H_403_22@@H_403_22@

遇到的问题:


1. Python.h: No such file or directory

yum search python | grep python-devel

sudo yum install python-devel.x86_64

2. ffi.h: No such file or directory

yum install libffi-devel.x86_64

3. openssl/aes.h: No such file or directory

yum install openssl-devel.x86_64

4. yaml.h: No such file or directory

yum install ncurses-devel.x86_64
原文链接:https://www.f2er.com/centos/381336.html

猜你在找的CentOS相关文章