原 各种游戏汇总
|-原 国内主机-aaPanel面板搭建魔兽世界服务器
把下面这一行写进 全局 bash 启动脚本 即可,无论谁登录、无论是不是交互式 shell 都会生效
sudo tee -a /etc/bash.bashrc >/dev/null <<< "alias ac='cd /opt/azerothcore-wotlk'"
source /etc/bash.bashrc
# 1. 拉镜像 cd /opt git clone https://github.com/azerothcore/azerothcore-wotlk.git cd /opt/azerothcore-wotlk # 2. 一键下载客户端数据(自动下官方 3.3.5a 客户端 + 提取地图) ./acore.sh docker client-data # 2.5文件权限设置 sudo chown -R 1000:1000 /opt/azerothcore-wotlk/env/dist # 2.6 授权 root 远程登录(容器来的连接会被当成“远程”) sudo mysql -u root -p -- 授权 root 从任意地址连接 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION; FLUSH PRIVILEGES; exit sudo ufw allow 3780 sudo ufw allow 8086 # 3. 编译 + 初始化数据库 ./acore.sh docker build ./acore.sh docker start:app # 4. 建个 GM 账号 docker exec -it ac-worldserver bash # 进容器后 account create test 123456 account set gmlevel test 3 -1 exit
20251008 0819
root@iv-ye6dm944cgbw80bfp6qc:/# cd /opt root@iv-ye6dm944cgbw80bfp6qc:/opt# ll total 16 drwxrwxrwx 4 root root 4096 Oct 8 02:53 ./ drwxr-xr-x 26 root root 4096 Oct 8 02:30 ../ drwxrwxrwx 4 root root 4096 Oct 8 02:53 containerd/ drwxrwxrwx 3 root root 4096 Mar 14 2025 proxima/ root@iv-ye6dm944cgbw80bfp6qc:/opt# git clone https://github.com/azerothcore/azerothcore-wotlk.git Cloning into 'azerothcore-wotlk'... remote: Enumerating objects: 186580, done. remote: Counting objects: 100% (254/254), done. remote: Compressing objects: 100% (135/135), done. error: RPC failed; curl 56 Recv failure: Connection reset by peer error: 3278 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output root@iv-ye6dm944cgbw80bfp6qc:/opt# ll total 16 drwxrwxrwx 4 root root 4096 Oct 8 08:42 ./ drwxr-xr-x 26 root root 4096 Oct 8 02:30 ../ drwxrwxrwx 4 root root 4096 Oct 8 02:53 containerd/ drwxrwxrwx 3 root root 4096 Mar 14 2025 proxima/ root@iv-ye6dm944cgbw80bfp6qc:/opt#
20251008 0848 ...
浏览更多内容请先登录。
立即注册
更新于:2025-10-08 11:06:00
相关内容
python and shell
为什么使用副 shell 脚本生成 Python 文件
python的selenium的用法整理
selenium3定位元素(包括父子,兄弟)及常见操作
使用Selenium自动验证滑块登录
drop、truncate和delete的区别
Elasticsearch安装使用问题整理
Elasticsearch异常问题 discovery.seed_hosts, discovery.seed_providers,...
yum 安装elasticsearch
Elasticsearch在Windows环境下安装
Shell脚本学习过程中遇到问题整理
如何检测这种格式知道这个是不合法的CLI参数
推荐内容