Vmvare 虚拟机安装 Linux CentOS 7 操作系统 安装 Docker 1Panel Redis Mysql
1、Vmvare 创建虚拟机
2、安装 CentOS 7
https://developer.aliyun.com/mirror/?spm=a2c6h.25603864.0.0.39273b95mrpC7v
https://mirrors.aliyun.com/centos/7.9.2009/isos/x86_64/?spm=a2c6h.25603864.0.0.4a1c18f8why5cb
3、设置静态 IP 地址
hostnamectl set-hostname server01--static4、更换系统软件源
https://gitee.com/SuperManito/LinuxMirrors#https://gitee.com/link?target=https://linuxmirrors.cn/use/
# GNU/Linux 更换系统软件源bash<(curl-sSLhttps://linuxmirrors.cn/main.sh)5、安装时间同步工具
yuminstallchrony#安装systemctl start chronyd#启动systemctlenablechronyd#开机自启动systemctl status chronyd#查看状态chronyc sources#查看时间源服务地址6、关闭防火墙和 SELinux
systemctl stop firewalld#关闭防火墙systemctl disable firewalld#禁止开机启动vim/etc/selinux/config#编辑这个文件# 修改 SELINUX=disabledreboot# 重启服务6、安装 Docker
https://gitee.com/SuperManito/LinuxMirrors#https://gitee.com/link?target=https://linuxmirrors.cn/use/
# Docker 安装与换源bash<(curl-sSLhttps://linuxmirrors.cn/docker.sh)7、安装 1Panel 管理面板
https://1panel.cn/docs/v2/installation/online_installation/#1
bash-c"$(curl-sSLhttps://resource.fit2cloud.com/1panel/package/v2/quick_start.sh)"外部地址: http://117.159.9.103:38347/f69ad87f6d 内部地址: http://192.168.19.200:38347/f69ad87f6d 面板用户: c3e72726cf 面板密码: **********1pctl user-info