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

相关推荐
raindayinrain6 分钟前
深入理解Linux内核--缺页异常,写时复制
linux·写时复制·缺页异常
好评12440 分钟前
【Linux】网络基础概念
linux·网络
杨云龙UP1 小时前
Toad for Oracle 调整表空间 Datafile 大小:Usage、Used Pct of Max 与 RESIZE 实战
linux·运维·服务器·数据库·oracle·dba·数据库运维
raindayinrain1 小时前
深入理解linux内核--文件页高速缓存,页框回收,性能优化
linux·性能优化·高速缓存·页框
badboy1212 小时前
Xilinx Vitis Core Development Kit 2025.2.1_Win+Linux
linux·fpga开发·xilinx
那年窗外下的雪.2 小时前
Linux 学习笔记
linux·笔记·学习
小张同学a.2 小时前
MooseFS 分布式存储实战指南:部署、运维与 Pacemaker+SBD 高可用落地
linux·运维·分布式·pacemaker·moosefs·sbd
滨哥GPT2 小时前
Codex修改环境变量后项目还是报错怎么办?.env、配置加载与运行环境排查
docker·ai编程·环境变量·开发环境·codex·env
精进之道2 小时前
拆开一个 .rpm 文件,里面到底装了什么?
linux
wuminyu3 小时前
JDK21 FFM异步读取MSG_ZEROCOPY错误队列揭秘
java·linux·c语言·jvm·c++