Vmvare 虚拟机安装 Linux CentOS 7 操作系统 一键安装 Docker 1Panel 一键安装 MySQL Redis OpenClaw

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 地址







shell 复制代码
hostnamectl set-hostname server01 --static

4、更换系统软件源

https://gitee.com/SuperManito/LinuxMirrors#https://gitee.com/link?target=https://linuxmirrors.cn/use/

shell 复制代码
# GNU/Linux 更换系统软件源
bash <(curl -sSL https://linuxmirrors.cn/main.sh)







5、安装时间同步工具

shell 复制代码
yum install chrony #安装
systemctl start chronyd #启动
systemctl enable chronyd #开机自启动
systemctl status chronyd #查看状态
chronyc sources #查看时间源服务地址



6、关闭防火墙和 SELinux

shell 复制代码
systemctl stop firewalld #关闭防火墙
systemctl disable firewalld #禁止开机启动
shell 复制代码
vim /etc/selinux/config #编辑这个文件
# 修改 SELINUX=disabled
reboot # 重启服务

6、安装 Docker

https://gitee.com/SuperManito/LinuxMirrors#https://gitee.com/link?target=https://linuxmirrors.cn/use/

shell 复制代码
# Docker 安装与换源
bash <(curl -sSL https://linuxmirrors.cn/docker.sh)









7、安装 1Panel 管理面板

https://1panel.cn/docs/v2/installation/online_installation/#1

shell 复制代码
bash -c "$(curl -sSL https://resource.fit2cloud.com/1panel/package/v2/quick_start.sh)"











复制代码
外部地址: http://117.159.9.103:38347/f69ad87f6d
内部地址: http://192.168.19.200:38347/f69ad87f6d
面板用户: c3e72726cf
面板密码: **********
shell 复制代码
1pctl user-info


8、一键安装 MySQL Redis OpenClaw

相关推荐
风哥2号几秒前
数据库教程FGMT02‑生产环境Linux+Oracle19c安装配置与项目实战
linux·数据库·ffmpeg
wuminyu3 小时前
Kafka中sendfile与mmap实现机制解析
java·linux·c语言·jvm·c++
新时代牛马4 小时前
嵌入式网络完整篇:从LwIP/以太网驱动到 Linux netdev 与排障
linux·网络·php
猿与禅4 小时前
Linux(Ubuntu)入门到实战:系统管理、常用命令与权限体系完整指南
linux·ubuntu·apt·进程管理·系统运维·用户权限·vi/vim
前端世界4 小时前
Linux服务器实战:NTP时间同步、SELinux权限与rsyslog日志管理,一次搞懂三大运维问题
linux·运维·服务器
Android系统攻城狮4 小时前
Linux Gstreamer深度解析之gst_audio_converter_new调用流程与实战(二十)
linux·运维·服务器·gstreamer音视频·音视频进阶
莫陌尛.4 小时前
Docker MySQL 删表卡死、执行超时(MDL锁阻塞)问题复盘与根治方案
mysql·docker·容器
星辰徐哥9 小时前
本地视频预览别只自己看:把Remotion动效项目发给客户远程验收
docker·ai·node.js·html·音视频·react·remotion
H_oRIZoN_9 小时前
Linux入门DAY41(51 单片机 串口与通信协议)
linux·运维·单片机
GeW11 小时前
RHCE备考别瞎学!按这个计划走,30天提高通过率,快速拿证
linux