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