就是本身无聊写的一个脚本,欢迎使用,star,fork顺便关注我一波python
https://github.com/bboysoulcn/centos
linux
这个是给最小化安装的centos使用的,在centos 7.5上测试过,固然其余的centos系统通常也没有什么问题,欢迎反馈,测试还有提交建议git
首先下载脚本github
wget https://raw.githubusercontent.com/bboysoulcn/centos/master/centos.sh
docker
以后修改执行权限centos
chmod +x centos.sh
bash
以后执行测试
[root@bboysoul-centos ~]# ./centos.sh ********************************** Powered by bboysoul Email: bboysoulcn@gmail.com Hostname: bboysoul-centos Virtualization is not supported Cpu model: Intel(R) Xeon(R)CPU E5620 Memory: 3790 M Swap: 3071 M Kernel version: CentOS Linux release 7.5.1804 (Core) ********************************** 1) install_software 5) set_hostname 9) install_ohmyzsh 2) install_python 6) close_selinux 10) add_user 3) set_static_ip 7) install_docker 11) exit 4) close_firewalld 8) change_swap 12) help: #?
目前有下面这些小功能code
欢迎关注Bboysoul的博客www.bboysoul.com
Have Fun