rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
yum --disablerepo="*" --enablerepo="elrepo-kernel" list available
yum --enablerepo=elrepo-kernel install kernel-ml -y
sed -i 's@GRUB_DEFAULT=.*@GRUB_DEFAULT=0@g' /etc/default/grub
grub2-mkconfig -o /boot/grub2/grub.cfg
yum update -y ###@@@一下是自己使用的 谢谢 sed -i 's@SELINUX=.*@SELINUX=disabled@g' /etc/sysconfig/selinux
systemctl stop firewalld
systemctl disable firewalld
setenforce
yum install chrony -y
systemctl start chronyd
systemctl enable chronyd
echo -e '30 * * * * /usr/bin/systemctl restart chronyd' >> /etc/crontab
systemctl enable crond
systemctl start crond init useradd -d /home/cephd -m cephd
echo "cephd" | passwd --stdin cephd
echo "cephd ALL = (root) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/cephd
chmod /etc/sudoers.d/cephd

最新文章

  1. Java中接口和抽象类的区别
  2. svn提交时提示 Aborting commit: remains in conflict 解决办法
  3. 使用Group By注意事项
  4. 分享一段Java搞笑的代码注释
  5. BZOJ3105: [cqoi2013]新Nim游戏
  6. 面试常考的数据结构Java实现
  7. ValidateCode.cs验证码时设置缓存的使用
  8. 开发反模式 - SQL注入
  9. /var/cache/apt/archives/lock - open
  10. 如何改变Myeclipse编辑区背景色(转)
  11. [论文阅读] Deep Residual Learning for Image Recognition(ResNet)
  12. 静态资源压缩(GZIP) 专题
  13. 《PHP扩展及核心》
  14. ubuntu中如何安装python3.6
  15. Java常用API及Math类
  16. 时间序列预测——Tensorflow.Keras.LSTM
  17. HDU 1176 免费馅饼 (动态规划)
  18. iOS中UITableView的一些问题思考
  19. scrapy 关于特殊字符的处理
  20. 解决cocos2dx调用removeFromParent后报错问题

热门文章

  1. LeetCode 240 - 搜索二维矩阵 II
  2. Express全系列教程之(八):session的基本使用
  3. Java注解--笔记
  4. jmeter断言接口响应字段大小
  5. vue中动态样式不起作用? scoped了解一下
  6. unity开发多语言版本
  7. tensorflow(3)可视化,日志,调试
  8. Docker入门详解(转载)
  9. java支付宝接口开发
  10. 我的第三篇博客(激动激动真激动!!!)A-B Problem