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

相关推荐
曲幽1 小时前
别再用网页翻译看源码了!你的私人翻译神器LibreTranslate,部署避坑指南来了
python·docker·web·pot·translate·libretranslate·arogstranslate
zzzzzz3101 天前
9K Star 炸裂开源!这个 C 语言写的代码知识图谱,把 Linux 内核索引压缩到了 3 分钟
linux·服务器·sql
XIAOHEZIcode1 天前
Linux系统鼠标偏移常见原因以及修复方案
linux·运维·游戏
武子康2 天前
调查研究-183 Apple container:Mac 上用轻量 VM 跑 Linux 容器,Swift 会改写本地容器体验吗?
docker·容器·apple
A小辣椒3 天前
TShark:Wireshark CLI 功能
linux
A小辣椒3 天前
TShark:基础知识
linux
AlfredZhao3 天前
OCI 明明分配了 200G 系统盘,为什么 df 只看到 30G?
linux·oci
AlfredZhao4 天前
vi 删除指定范围的行,不用再反复按 dd
linux·vi
用户9718356334664 天前
银河麒麟 KY10 申威(SW64) 安装 nginx-1.16.1-2.p01.ky10.sw_64.rpm 详细步骤
linux
猪脚踏浪4 天前
linux 拷贝文件或目录到指定的位置
linux