脚本宝典收集整理的这篇文章主要介绍了centos以及ubuntu安装后常用设置,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
选择最小化安装
选择桥接模式
dhclient:分配ip,并记下ip。这一步之后就可以ssh连接了。
修改ip分配方式
关闭自动休眠
ubuntu :
关闭自动休眠
sudo -u gdm dbus-launch gsettings set org.GNOME.settings-daemon.plugins.power sleep-inactive-battery-tyPE 'nothing'
或者
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
关闭笔记本盒盖休眠:
vim /etc/systemd/LOGind.conf
修改:
HandleLidSwITch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchdocked=ignore
centos :
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
以上是脚本宝典为你收集整理的centos以及ubuntu安装后常用设置全部内容,希望文章能够帮你解决centos以及ubuntu安装后常用设置所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。