当前位置:网站首页>Trinitycore worldofwarcraft server - registration website
Trinitycore worldofwarcraft server - registration website
2022-07-24 22:31:00 【It's beginning to boil】
Preface
WoWSimpleRegistration yes azerothcore Items on the account registration page officially provided .
Same as TrinityCore similar ,azerothcore It is also an open source project simulating worldofwarcraft .
WoWSimpleRegistration It also supports TrinityCore Your account registration .
Reference documents :
- https://github.com/TrinityCore/WoWSimpleRegistration
- https://github.com/masterking32/WoWSimpleRegistration.git
- https://github.com/azerothcore/azerothcore-wotlk
The following is an introduction to the deployment of the website .
install php Related dependencies
WoWSimpleRegistration Is based on php Of .
1、 install php Related dependencies
sudo apt install php-fpm php-opcache php-cli php-gd php-curl php-mysql php-mbstring php-gmp
2、 You can choose to release the restriction FPM Script extensions that allow parsing
add to /etc/php/7.4/fpm/pool.d/www.conf Under the document security.limit_extensions Parameters
security.limit_extensions = .php .php3 .php4 .php5 .php7 .js .css .jpg .png .gif .html .htm
install nginx
Site use nginx Deploy , So install as follows nginx
sudo apt install nginx
Download the source code
# download
sudo wget https://github.com/TrinityCore/WoWSimpleRegistration/archive/refs/tags/2.0.2.tar.gz
# decompression
sudo tar -zxvf 2.0.2.tar.gz
# Unzip the source code , Move to /var/www/html Under the table of contents
sudo mv WoWSimpleRegistration-2.0.2 /var/www/html/
To configure
1、WoWSimpleRegistration To configure
cd /var/www/html/WoWSimpleRegistration-2.0.2/application/config
sudo cp config.php.sample config.php
sudo vi config.php
# Yes config.php To configure , Just follow the notes when you choose what to fill in
# Here are some important parameters
Core Type: # Supported Warcraft open source project types
0 = TrinityCore
1 = AzerothCore
2 = AshamaneCore
3 = Skyfire Project
4 = OregonCore
5 = CMangos
10 = etc
=====================================================================*/
$config['server_core'] = 0; #TC choose 0( The default is 0)
***************** GMP REQUIRED ********************
******Uncomment extension=gmp in your php.ini******
=====================================================================*/
#21 Year version of TC All choose true
$config['srp6_support'] = true; // READ COMMENTS, [Please ENABLE GMP]
/*===================================================================
You Auth/Realmd MySQL information.
db_auth_host
Auth Database Host
db_auth_port
Auth Database Port
db_auth_user
Auth Database Username
db_auth_pass
Auth Database Password
db_auth_dbname
Auth Database DBName
=====================================================================*/
$config['db_auth_host'] = '127.0.0.1'; # The address of the database
$config['db_auth_port'] = '3306'; # port
$config['db_auth_user'] = 'root'; # user name
$config['db_auth_pass'] = 'root'; # password
$config['db_auth_dbname'] = 'auth'; #db name (TC by auth)
/*===================================================================
Your character's databases. If your server has a lot of realms you can check the example at the bottom of the file. =====================================================================*/ $config['realmlists'] = array( "1" => array( 'realmid' => 1, // Realm ID 'realmname' => "WOW It's boiling ", // Realm Name Server name 'db_host' => "127.0.0.1", // MySQL Host IP 'db_port' => "3306", // MySQL Host Port 'db_user' => "root", // MySQL username 'db_pass' => 'root', // MySQL password 'db_name' => "characters" // Characters database name
)
);
2、nginx To configure
Specifically nginx How to use it is not introduced here . The following is my configuration in this project .
cd /etc/nginx/conf.d/
vi wow.conf
# The contents are as follows
server {
listen 80; # Listening port
server_name 127.0.0.1; # own PC Of ip Or the domain name of the server , For local access 127.0.0.1
root /var/www/html/WoWSimpleRegistration-2.0.2; # Webpage 、 File path
index index.html index.htm index.php index.nginx-debian.html;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
}
}
Configuration complete
restart php7.4-fpm and nginx, The whole project is completed .
You can order it here Boiling WOW Look at my effect
边栏推荐
- CAD text styles
- 《ArchSummit:珍爱微服务底层框架演进》
- PCL点云处理之CSF布料模拟滤波(五十九)
- PCL point cloud processing: creating a two-dimensional grid to organize point cloud data (64)
- GB、MB、KB分别是什么意思。大小分别是多少
- Dialogue with celebrities: where are the opportunities and challenges in the second half when brands gather at the shuzang track?
- QT learning vs creating QT items shows instances where object references are not set to objects
- 聊聊 Redis 是如何进行请求处理
- IndexTree2D
- Use kettle to read the data in Excel file and store it in MySQL
猜你喜欢

【数据库学习】Redis 解析器&&单线程&&模型

Implement redis sentinel to simulate master failure scenarios

通讯异常判断之通讯心跳信号应用编程
![[icml2022] climate change and machine learning: opportunities, challenges and considerations, 121 ppt](/img/be/6a3f53070c2ffc9610a77d4e910f91.png)
[icml2022] climate change and machine learning: opportunities, challenges and considerations, 121 ppt

聊聊 Redis 是如何进行请求处理
![Luogu p2024 [noi2001] food chain](/img/7f/6ccbc19942f0d4a153025346496834.png)
Luogu p2024 [noi2001] food chain

AVL tree of ordered table

Get the solution to the slow running speed of Mengxin Xiaobai computer! ٩ ( ‘ ω‘ )و get! ٩ ( ‘ ω‘ )و

Apipost signs up with Chinatelecom! Work together to accelerate the digital transformation of enterprises

CA证书制作实战
随机推荐
ODBC executes stored procedure to get return value
Pyqt5 uses qfile and qdatastream to read and write binary files
About the word 'don't remember'
H5 online CAD background reading and writing CAD files
Projection regularization of line point set in PCL point cloud processing (56)
通过企业微信自建应用向微信推送信息
Is it safe to log in the securities account on the flush
Cell专刊|AI在蛋白结构、精准医疗、抗体疗法[综述]等的应用与未来预测
单调栈结构练习——子数组最小值的累加和
Enterprise operation we media can't "self Hi": the content should be grounded, not advertising
"Yuan universe 2086" outsold "San ti" in one-day sales and won the champion of JD books' one-day science fiction list
CSF cloth simulation filtering for PCL point cloud processing (59)
VScode默认输出到调试控制台如何调整到终端以及两者中的乱码问题
About constant modifier const
Implementation of graph structure, from point to edge and then to graph
暴力递归——N皇后详解 && 如何用位运算进行优化
PCL点云处理之均匀采样抽稀(六十一)
Push information to wechat through enterprise wechat self built application
Violent recursion - detailed explanation of Queen n & how to optimize with bit operation
Visual studio input! No prompt