Centos 7 下命令整理

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/violet_echo_0908/article/details/52093160

1. 创建root账户

sudo passwd root

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

2. 重启网络

可以避免ssh掉了

sudo ifdown XXX && ifup xxx



遇到的问题:


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
展开阅读全文

没有更多推荐了,返回首页