This document provides instructions for setting up a TrinityCore private server on Linux. It discusses downloading and compiling TrinityCore source code, configuring the required MySQL databases, and basic server configuration. Key steps include installing prerequisites like build tools and libraries, cloning the TrinityCore source repository, running cmake to configure the build, importing SQL files to set up the auth, characters, and world databases, and editing the realmlist table to point clients to the server.
Reactive Java Microservices with Spring Boot and JHipster - Spring I/O 2022Matt Raible
Microservice architectures are all the rage in JavaLand. They allow teams to develop services independently and deploy autonomously.
Why microservices?
IF
you are developing a large/complex application
AND
you need to deliver it rapidly, frequently, and reliably over a long period of time
THEN
the Microservice Architecture is often a good choice.
Reactive architectures are becoming increasingly popular for organizations that need to do more, with less hardware. Reactive programming allows you to build systems that are resilient to high load.
In this session, I'll show you how to use JHipster to create a reactive microservices architecture with Spring Boot, Spring Cloud, Keycloak, and run it all in Docker. You will leave with the know-how to create your own resilient apps!
Related blog post: https://developer.okta.com/blog/2021/01/20/reactive-java-microservices
YouTube demo: https://youtu.be/clkEUHWT9-M
GitHub repo: https://github.com/oktadev/java-microservices-examples/tree/main/reactive-jhipster
Since 5.7.2, MySQL implements parallel replication in the same schema, also known as LOGICAL_CLOCK (DATABASE based parallel replication is also implemented in 5.6 but this is not covered in this talk). In early 5.7 versions, parallel replication was based on group commit (like MariaDB) and 5.7.6 changed that to intervals.
Intervals are more complicated but they are also more powerful. In this talk, I will explain in detail how they work and why intervals are better than group commit. I will also cover how to optimize parallel replication in MySQL 5.7 and what improvements are coming in MySQL 8.0.
Running MariaDB in multiple data centersMariaDB plc
MariaDB is often deployed in multiple data centers for high availability and/or disaster recovery. Tim Tadeo, Senior Sales Engineer, walks through real-world use cases and the topologies customers have created to leverage multiple data centers. He also discusses important considerations and how to address them, as well as more advanced options such as dedicated binlog servers for cross–data center replication.
MySQL Parallel Replication: All the 5.7 and 8.0 Details (LOGICAL_CLOCK)Jean-François Gagné
To get better replication speed and less lag, MySQL implements parallel replication in the same schema, also known as LOGICAL_CLOCK. But fully benefiting from this feature is not as simple as just enabling it.
In this talk, I explain in detail how this feature works. I also cover how to optimize parallel replication and the improvements made in MySQL 8.0 and back-ported in 5.7 (Write Sets), greatly improving the potential for parallel execution on replicas (but needing RBR).
Come to this talk to get all the details about MySQL 5.7 and 8.0 Parallel Replication.
Reactive Java Microservices with Spring Boot and JHipster - Spring I/O 2022Matt Raible
Microservice architectures are all the rage in JavaLand. They allow teams to develop services independently and deploy autonomously.
Why microservices?
IF
you are developing a large/complex application
AND
you need to deliver it rapidly, frequently, and reliably over a long period of time
THEN
the Microservice Architecture is often a good choice.
Reactive architectures are becoming increasingly popular for organizations that need to do more, with less hardware. Reactive programming allows you to build systems that are resilient to high load.
In this session, I'll show you how to use JHipster to create a reactive microservices architecture with Spring Boot, Spring Cloud, Keycloak, and run it all in Docker. You will leave with the know-how to create your own resilient apps!
Related blog post: https://developer.okta.com/blog/2021/01/20/reactive-java-microservices
YouTube demo: https://youtu.be/clkEUHWT9-M
GitHub repo: https://github.com/oktadev/java-microservices-examples/tree/main/reactive-jhipster
Since 5.7.2, MySQL implements parallel replication in the same schema, also known as LOGICAL_CLOCK (DATABASE based parallel replication is also implemented in 5.6 but this is not covered in this talk). In early 5.7 versions, parallel replication was based on group commit (like MariaDB) and 5.7.6 changed that to intervals.
Intervals are more complicated but they are also more powerful. In this talk, I will explain in detail how they work and why intervals are better than group commit. I will also cover how to optimize parallel replication in MySQL 5.7 and what improvements are coming in MySQL 8.0.
Running MariaDB in multiple data centersMariaDB plc
MariaDB is often deployed in multiple data centers for high availability and/or disaster recovery. Tim Tadeo, Senior Sales Engineer, walks through real-world use cases and the topologies customers have created to leverage multiple data centers. He also discusses important considerations and how to address them, as well as more advanced options such as dedicated binlog servers for cross–data center replication.
MySQL Parallel Replication: All the 5.7 and 8.0 Details (LOGICAL_CLOCK)Jean-François Gagné
To get better replication speed and less lag, MySQL implements parallel replication in the same schema, also known as LOGICAL_CLOCK. But fully benefiting from this feature is not as simple as just enabling it.
In this talk, I explain in detail how this feature works. I also cover how to optimize parallel replication and the improvements made in MySQL 8.0 and back-ported in 5.7 (Write Sets), greatly improving the potential for parallel execution on replicas (but needing RBR).
Come to this talk to get all the details about MySQL 5.7 and 8.0 Parallel Replication.
Building a World in the Clouds: MMO Architecture on AWS (MBL304) | AWS re:Inv...Amazon Web Services
Can you really build the infrastructure required to bring a massively multiplayer online game (MMO) to life in the cloud? This session discusses the evolution of Red 5 Studios' FireFall—a free-to-play MMO. FireFall runs entirely on the AWS platform and allows players from around the world to play together in the cloud. The session covers some of the design decisions made over the last two years—the things that worked well and not so well. The session also presents some of the solutions Red 5 implemented to ease the transition from dedicated data center hardware to virtual servers in AWS.
MySQL Load Balancers - Maxscale, ProxySQL, HAProxy, MySQL Router & nginx - A ...Severalnines
This presentation by Krzysztof Książek at Percona Live 2017 in Santa Clara, California gives detailed descriptions and comparisons of the leading open source database load balancing technologies
Advanced SQL covers selecting columns, aggregate functions like MIN() and MAX(), the CASE WHEN statement, JOINs, the WHERE clause, GROUP BY, declaring variables, and subqueries
데브시스터즈의 Cookie Run: OvenBreak 에 적용된 Kubernetes 기반 다중 개발 서버 환경 구축 시스템에 대한 발표입니다.
Container orchestration 기반 개발 환경 구축 시스템의 필요성과, 왜 Kubernetes를 선택했는지, Kubernetes의 개념과 유용한 기능들을 다룹니다. 아울러 구축한 시스템에 대한 데모와, 작업했던 항목들에 대해 리뷰합니다.
*NDC17 발표에서는 데모 동영상을 사용했으나, 슬라이드 캡쳐로 대신합니다.
My talk for "MySQL, MariaDB and Friends" devroom at Fosdem on February 2, 2019
Born in 2010 in MySQL 5.5.3 as "a feature for monitoring server execution at a low level," grown in 5.6 times with performance fixes and DBA-faced features, in MySQL 5.7 Performance Schema is a mature tool, used by humans and more and more monitoring products. It becomes more popular over the years. In this talk I will give an overview of Performance Schema, focusing on its tuning, performance, and usability.
Performance Schema helps to troubleshoot query performance, complicated locking issues, memory leaks, resource usage, problematic behavior, caused by inappropriate settings and much more. It comes with hundreds of options which allow precisely tune what to instrument. More than 100 consumers store collected data.
Performance Schema is a potent tool. And very complicated at the same time. It does not affect performance in most cases and can slow down server dramatically if configured without care. It collects a lot of data, and sometimes this data is hard to read.
This talk will start from the introduction of how Performance Schema designed, and you will understand why it slowdowns server in some cases and does not affect your queries in others. Then we will discuss which information you can retrieve from Performance Schema and how to do it effectively.
I will cover its companion sys schema and graphical monitoring tools.
PUBG: Battlegrounds 라이브 서비스 EKS 전환 사례 공유 [크래프톤 - 레벨 300] - 발표자: 김정헌, PUBG Dev...Amazon Web Services Korea
PUBG: Battlegrounds를 위한 게임 관련 인프라를 EKS 기반 환경으로 모두 전환한 경험에 대해 공유해 드릴 예정입니다. PUBG의 글로벌 서비스를 위한 인프라 구성에 대해 간단히 소개하고, 라이브 서비스 중인 인프라를 EC2 기반에서 EKS 기반으로 점진적으로 전환하면서 겪었던 문제들과 소중한 경험들을 사례를 통해 전달해드립니다.
※다운로드하시면 더 선명한 자료를 보실 수 있습니다.
동접 200만 명이 접속할 수백 대의 게임 서버가 최소한의 MySQL 서버만으로 서비스할 수 있는 구조를 설명합니다.
고성능/고효율의 MySQL 스케일링 기법을 공유합니다. 대규모 게임 서비스에서 이미 검증된 것은 안 비밀~
목차
1. 기본적인 아기텍처
2. ProxySQL을 이용한 더 나은 아키텍처
3. 최종 아키텍처
대상
- 대규모 게임 서비스에 MySQL을 사용한 경험에 관심 있는 분
- ProxySQL에 관심이 있는 서버 개발자 혹은 DBA
- 게임 서버 개발 과정에서 DB 쪽을 유연하게 구성하고 싶은 분
■관련 동영상: https://youtu.be/8Eb_n7JA1yA
Building a World in the Clouds: MMO Architecture on AWS (MBL304) | AWS re:Inv...Amazon Web Services
Can you really build the infrastructure required to bring a massively multiplayer online game (MMO) to life in the cloud? This session discusses the evolution of Red 5 Studios' FireFall—a free-to-play MMO. FireFall runs entirely on the AWS platform and allows players from around the world to play together in the cloud. The session covers some of the design decisions made over the last two years—the things that worked well and not so well. The session also presents some of the solutions Red 5 implemented to ease the transition from dedicated data center hardware to virtual servers in AWS.
MySQL Load Balancers - Maxscale, ProxySQL, HAProxy, MySQL Router & nginx - A ...Severalnines
This presentation by Krzysztof Książek at Percona Live 2017 in Santa Clara, California gives detailed descriptions and comparisons of the leading open source database load balancing technologies
Advanced SQL covers selecting columns, aggregate functions like MIN() and MAX(), the CASE WHEN statement, JOINs, the WHERE clause, GROUP BY, declaring variables, and subqueries
데브시스터즈의 Cookie Run: OvenBreak 에 적용된 Kubernetes 기반 다중 개발 서버 환경 구축 시스템에 대한 발표입니다.
Container orchestration 기반 개발 환경 구축 시스템의 필요성과, 왜 Kubernetes를 선택했는지, Kubernetes의 개념과 유용한 기능들을 다룹니다. 아울러 구축한 시스템에 대한 데모와, 작업했던 항목들에 대해 리뷰합니다.
*NDC17 발표에서는 데모 동영상을 사용했으나, 슬라이드 캡쳐로 대신합니다.
My talk for "MySQL, MariaDB and Friends" devroom at Fosdem on February 2, 2019
Born in 2010 in MySQL 5.5.3 as "a feature for monitoring server execution at a low level," grown in 5.6 times with performance fixes and DBA-faced features, in MySQL 5.7 Performance Schema is a mature tool, used by humans and more and more monitoring products. It becomes more popular over the years. In this talk I will give an overview of Performance Schema, focusing on its tuning, performance, and usability.
Performance Schema helps to troubleshoot query performance, complicated locking issues, memory leaks, resource usage, problematic behavior, caused by inappropriate settings and much more. It comes with hundreds of options which allow precisely tune what to instrument. More than 100 consumers store collected data.
Performance Schema is a potent tool. And very complicated at the same time. It does not affect performance in most cases and can slow down server dramatically if configured without care. It collects a lot of data, and sometimes this data is hard to read.
This talk will start from the introduction of how Performance Schema designed, and you will understand why it slowdowns server in some cases and does not affect your queries in others. Then we will discuss which information you can retrieve from Performance Schema and how to do it effectively.
I will cover its companion sys schema and graphical monitoring tools.
PUBG: Battlegrounds 라이브 서비스 EKS 전환 사례 공유 [크래프톤 - 레벨 300] - 발표자: 김정헌, PUBG Dev...Amazon Web Services Korea
PUBG: Battlegrounds를 위한 게임 관련 인프라를 EKS 기반 환경으로 모두 전환한 경험에 대해 공유해 드릴 예정입니다. PUBG의 글로벌 서비스를 위한 인프라 구성에 대해 간단히 소개하고, 라이브 서비스 중인 인프라를 EC2 기반에서 EKS 기반으로 점진적으로 전환하면서 겪었던 문제들과 소중한 경험들을 사례를 통해 전달해드립니다.
※다운로드하시면 더 선명한 자료를 보실 수 있습니다.
동접 200만 명이 접속할 수백 대의 게임 서버가 최소한의 MySQL 서버만으로 서비스할 수 있는 구조를 설명합니다.
고성능/고효율의 MySQL 스케일링 기법을 공유합니다. 대규모 게임 서비스에서 이미 검증된 것은 안 비밀~
목차
1. 기본적인 아기텍처
2. ProxySQL을 이용한 더 나은 아키텍처
3. 최종 아키텍처
대상
- 대규모 게임 서비스에 MySQL을 사용한 경험에 관심 있는 분
- ProxySQL에 관심이 있는 서버 개발자 혹은 DBA
- 게임 서버 개발 과정에서 DB 쪽을 유연하게 구성하고 싶은 분
■관련 동영상: https://youtu.be/8Eb_n7JA1yA
Min åttonde berättelse. Alla mina berättelser handlar om transpersoner och deras liv, förhoppningar och möjligheter. Det är berättelser som är i fiktiv form, men platser och händelser kan ha verklighetsbakgrund, likaså med personerna i mina berättelser.
Publicerad i mars 2001
Qdoc is a platform where patients make reviews about their doctors and where they get to know new doctors and make a smart choise based on community information.
How to create a secured cloudera clusterTiago Simões
This presentation, it’s for everyone that is curious with Big Data and does have the know how to start learning...
With this, you will be able to create quickly a Kerberos secured Cloudera Cluster.
This webcast will show you how to properly configure and deploy Memcached and Solr on Windows, including all the required Drupal integration. The webcast includes also instructions on proper configuration of your Drupal cron tasks for Solr indexing in conjunction with Windows Task Scheduler.
Bare Metal to OpenStack with Razor and ChefMatt Ray
Slides from the OpenStack Spring 2013 Summit workshop presented by Egle Sigler (@eglute) and Matt Ray (@mattray) from Rackspace and Opscode respectively. Please refer to http://anystacker.com/ for additional content.
Talk given by David Peterson, Lead Systems Engineer at Salesforce, at StackiFest in March 2016
Enterprise bare metal provisioning using Stacki at Salesforce/Pardot and how we've configured it in our environment. It used to take the Ops teams hours to do end-to-end provisioning with chef integration to now it takes about 15 minutes with it all being automated. In this presentation, I will discuss:
- Why we chose Stacki
- Hardware and provisioning requirements
- Stacki configuration with chef integration
- ZFS and data safe re-provisioning
- Detecting issues and adhoc reporting
MySQL has a set of utilities written in Python that can do some amazing things for your MySQL instances from setting up replication with automatic fail over to copying database
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Acetabularia Information For Class 9 .docxvaibhavrinwa19
Acetabularia acetabulum is a single-celled green alga that in its vegetative state is morphologically differentiated into a basal rhizoid and an axially elongated stalk, which bears whorls of branching hairs. The single diploid nucleus resides in the rhizoid.
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...Levi Shapiro
Letter from the Congress of the United States regarding Anti-Semitism sent June 3rd to MIT President Sally Kornbluth, MIT Corp Chair, Mark Gorenberg
Dear Dr. Kornbluth and Mr. Gorenberg,
The US House of Representatives is deeply concerned by ongoing and pervasive acts of antisemitic
harassment and intimidation at the Massachusetts Institute of Technology (MIT). Failing to act decisively to ensure a safe learning environment for all students would be a grave dereliction of your responsibilities as President of MIT and Chair of the MIT Corporation.
This Congress will not stand idly by and allow an environment hostile to Jewish students to persist. The House believes that your institution is in violation of Title VI of the Civil Rights Act, and the inability or
unwillingness to rectify this violation through action requires accountability.
Postsecondary education is a unique opportunity for students to learn and have their ideas and beliefs challenged. However, universities receiving hundreds of millions of federal funds annually have denied
students that opportunity and have been hijacked to become venues for the promotion of terrorism, antisemitic harassment and intimidation, unlawful encampments, and in some cases, assaults and riots.
The House of Representatives will not countenance the use of federal funds to indoctrinate students into hateful, antisemitic, anti-American supporters of terrorism. Investigations into campus antisemitism by the Committee on Education and the Workforce and the Committee on Ways and Means have been expanded into a Congress-wide probe across all relevant jurisdictions to address this national crisis. The undersigned Committees will conduct oversight into the use of federal funds at MIT and its learning environment under authorities granted to each Committee.
• The Committee on Education and the Workforce has been investigating your institution since December 7, 2023. The Committee has broad jurisdiction over postsecondary education, including its compliance with Title VI of the Civil Rights Act, campus safety concerns over disruptions to the learning environment, and the awarding of federal student aid under the Higher Education Act.
• The Committee on Oversight and Accountability is investigating the sources of funding and other support flowing to groups espousing pro-Hamas propaganda and engaged in antisemitic harassment and intimidation of students. The Committee on Oversight and Accountability is the principal oversight committee of the US House of Representatives and has broad authority to investigate “any matter” at “any time” under House Rule X.
• The Committee on Ways and Means has been investigating several universities since November 15, 2023, when the Committee held a hearing entitled From Ivory Towers to Dark Corners: Investigating the Nexus Between Antisemitism, Tax-Exempt Universities, and Terror Financing. The Committee followed the hearing with letters to those institutions on January 10, 202
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Dr. Vinod Kumar Kanvaria
Exploiting Artificial Intelligence for Empowering Researchers and Faculty,
International FDP on Fundamentals of Research in Social Sciences
at Integral University, Lucknow, 06.06.2024
By Dr. Vinod Kumar Kanvaria
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Macroeconomics- Movie Location
This will be used as part of your Personal Professional Portfolio once graded.
Objective:
Prepare a presentation or a paper using research, basic comparative analysis, data organization and application of economic information. You will make an informed assessment of an economic climate outside of the United States to accomplish an entertainment industry objective.
6. Debian-based distributions
If you are using Ubuntu 12.04 LTS, Debian 7 or some 2013
linux distributions you will also need:
$ sudo apt-get install libncurses5-dev
9. Installing ACE (Adaptive
Communication Environment)
TrinityCore requires a specific communication-library for
inter-process communication, and as such needs special
attention on that matter. This is because most
distributions (even the most recent ones) do not supply
the version required by TrinityCore as part of their
basepackages.
10. Building the server itself
Getting the sourcecode
cd ~/
git clone git://github.com/TrinityCore/TrinityCore.git
A directory trinitycore will be created automatically and all the
source files will be stored in there.
11. Creating the build-directory
To avoid issues with updates and colliding sourcebuilds, we create a
specific build-directory, so we avoid any possible issues due to that (if
any might occur)
mkdir build
cd build
12. Configuring for compiling
To configure the core, we use space-separated parameters attached
to the configuration-tool (cmake) - do read the entire section before
even starting on the configuration-part.
<u>This is for your own good, and you HAVE been warned. A full
example will also be shown underneath the explanations.</u>
cmake ../TrinityCore/ -DPREFIX=/home/<username>/server DWITH_WARNINGS=1
13. Building the core
After configuring and checking that everything is in order (read
cmakes output), you can build Trinity (this will take some time unless
you are on a rather fast machine)
make
make install
14. Building the core
If you have multiple CPU cores, you can enable the use of those
during compile :
make -j <number of cores>
make install
15. Building the core
After compiling and installing, you will find your core binaries in
/home/<username>/server/bin, and the standard configuration files
in the /home/<username>/server/etc folder.
(As usual, replace <username> with the username you created
earlier). Now you can continue reading on and learn how to update
the sourcetree.
16. Keeping the code up to date
TrinityCore developers are always at work fixing and adding new
features to the core. You can always check them here. To update the
core files, do the following :
cd ~/TrinityCore/
git pull origin master
Now return to the compilation-section again, and repeat the
instructions there.
17. Installing libMPQ (MoPaQ)
MPQ-reader library
Installation of the libMPQ library is only required if you want to
extract the datafiles, and/or compile the tools.
Do note that the library has been hardlinked to the binary in later
revisions, and is not "enforced" unless the tools are required.
18. Configuring, compiling and installing
libMPQ
Change directory to ~/TrinityCore/dep/libmpq/ before doing this
Alternative 2 : Systemwide installation
sh ./autogen.sh
./configure
make
sudo make install
19. Optional software
Graphical database-viewing/editing
● HeidiSQL, http://www.heidisql.com/
● SQLyog, http://www.webyog.com/en/
Remote console connects to the server
● Putty, http://www.chiark.greenend.org.uk/~sgtatham/putty/
● Putty Tray, http://haanstra.eu/putty/
Filetransfer through SFTP or FTP
● WinSCP, http://winscp.net/eng/
20. Installing MySQL Server
When configuring MySQL make sure you remember the password you
set for the default root account and that you enabled both MyISAM
and InnoDB engines.
You can leave all the other settings as default. You might want to
enable remote access to your MySQL server if your are also testing a
website for your Trinity server or if you have friends testing with you
which need access from remote. Remember that this will decrease
the security level of your MySQL server!
21. Installing The Trinity Databases
Trinity needs three databases to run - Auth, Characters, and World:
auth - holds account data - usernames, passwords, GM access, realm
information, etc.
characters - holds character data - created characters, inventory,
bank items, auction house, tickets, etc.
world - holds game-experience content such as NPCs, quests, objects,
etc.
22. Setting up MySQL Server
1.Create the three databases by importing
/root/TrinityCore/sql/create/create_mysql.sql. You now
have three databases - auth, characters, and world. You
may need to refresh your program in order to see the new
databases.
2.Click on the "auth" database and import the auth
database structure by importing
/root/TrinityCore/sql/base/auth_database.sql.
23. Setting up MySQL Server
3.Click on the "characters" database and import the
characters database structure by importing
/root/TrinityCore/sql/base/character_database.sql.
4.Click on the "world" database and import the world
database structure by extracting and importing the
"TDB_full" .sql file you downloaded from the Downloading
the Database section.
* http://collab.kpsn.org/display/tc/Database_master
24. Keeping the DB up to date
Note: You can run the following query on the World
database to see your current DB and core revision:
SELECT * FROM `version`;
25. Setting up MySQL Server
1.Extract the TDB_FULL.sql file from the archive and
import it into your world database.
2.If they exist, also import the characters_ and auth_ .sql
files into their respective databases.
3.Once this is finished and you have already compiled your
source, you may run the worldserver.exe to load your
server. The revision update is complete.
28. Database Config
mysql> show databases;
+--------------------+
| Database
|
+--------------------+
| auth
|
| characters
|
| world
|
+--------------------+
7 rows in set (0.01 sec)
29. Database Config
root@vTrinity13:~/TrinityCore/sql# cat create/create_mysql.sql
GRANT USAGE ON * . * TO 'trinity'@'localhost' IDENTIFIED BY 'trinity' WITH MAX_QUERIES_PER_HOUR 0
MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 ;
CREATE DATABASE `world` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE DATABASE `characters` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE DATABASE `auth` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
GRANT ALL PRIVILEGES ON `world` . * TO 'trinity'@'localhost' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON `characters` . * TO 'trinity'@'localhost' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON `auth` . * TO 'trinity'@'localhost' WITH GRANT OPTION;
33. Realmlist table
You need to make sure that the authserver directs
incoming connections to your realm.
In the auth database there is a table called realmlist,
where you need to edit the field *address* according to
your needs :
34. Realmlist table
127.0.0.1
-- Leave default localhost if you are
connecting alone from the same machine TrinityCore runs
on.
<Your LOCAL NETWORK ip> -- Use the machine's LAN ip if
you want other computers from the same network as the
TrinityCore server to connect to your server.
<Your PUBLIC NETWORK ip> -- Use your PUBLIC ip if you
have friends and testers which need to connect your
server from the internet.
35. Realmlist table
An example of how it would look with a real address:
use auth;
update realmlist set address = '192.168.56.1' where id
= 1;
36. Realmlist table
mysql> describe realmlist;
+----------------------+----------------------+------+-----+---------------+----------------+
| Field
| Type
| Null | Key | Default
| Extra
|
+----------------------+----------------------+------+-----+---------------+----------------+
| id
| int(10) unsigned
| NO | PRI | NULL
| auto_increment |
| name
| varchar(32)
| NO | UNI |
|
|
| address
| varchar(255)
| NO |
| 127.0.0.1
|
|
| localAddress
| varchar(255)
| NO |
| 127.0.0.1
|
|
| localSubnetMask
| varchar(255)
| NO |
| 255.255.255.0 |
|
| port
| smallint(5) unsigned | NO |
| 8085
|
|
| icon
| tinyint(3) unsigned | NO |
|0
|
|
| flag
| tinyint(3) unsigned | NO |
|2
|
|
| timezone
| tinyint(3) unsigned | NO |
|0
|
|
| allowedSecurityLevel | tinyint(3) unsigned | NO |
|0
|
|
| population
| float unsigned
| NO |
|0
|
|
| gamebuild
| int(10) unsigned
| NO |
| 12340
|
|
+----------------------+----------------------+------+-----+---------------+----------------+
12 rows in set (0.00 sec)
37. Realmlist table
mysql> update realmlist set address = '192.168.56.1' where id = 1;
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0
mysql> select * from realmlist where id = 1;
+----+---------+-----------+--------------+-----------------+------+------+------+----------+---------------------+------------+-----------+
| id | name | address | localAddress | localSubnetMask | port | icon | flag | timezone |
allowedSecurityLevel | population | gamebuild |
+----+---------+-----------+--------------+-----------------+------+------+------+----------+---------------------+------------+-----------+
| 1 | Trinity | 192.168.56.1 | 127.0.0.1 | 255.255.255.0 | 8085 | 1 | 0 |
1|
0|
0|
12340 |
+----+---------+-----------+--------------+-----------------+------+------+------+----------+---------------------+------------+-----------+
1 row in set (0.00 sec)
41. Extracting dbc, maps and vmaps files
In order to run, TrinityCore needs dbc- and map-files.
In addition, if you want to enable vmaps (Making NPCs
unable to see through walls etc.) you will need to extract
them as well.
42. dbc and maps files
cd <your WoW client directory>
/home/<username>/server/bin/mapextractor
mkdir /home/<username>/server/data
cp -r dbc maps /home/<username>/server/data
44. Configuring the server
First of all you need to create 2 files : worldserver.conf
and authserver.conf in your
/home/<username>/server/etc/ folder.
You'll find 2 files named worldserver.conf.dist and
authserver.conf.dist. Copy these to their namesakes
without the .dist extension.
cp worldserver.conf.dist worldserver.conf
cp authserver.conf.dist authserver.conf
45. worldserver.conf
Edit MySQL account username and password (instead of
trinity;trinity).
LoginDatabaseInfo
= "127.0.0.1;3306;trinity;trinity;
auth"
WorldDatabaseInfo
= "127.0.0.1;3306;trinity;trinity;
world"
CharacterDatabaseInfo = "127.0.0.1;3306;trinity;trinity;
characters"
46. worldserver.conf
vmap.enableLOS = 1 -- set this to 0
vmap.enableHeight = 1 -- set this to 0
vmap.petLOS = 1 -- set this to 0
vmap.enableIndoorCheck = 1 -- set this to 0
55. Create account
You can type commands inside the worldserver program,
similar to a command prompt.
Type: account create <user> <pass>
Example: account create test test
Type: account set gmlevel <user> 3 -1
Example: account set gmlevel test 3 -1
DO !NEVER! create an account directly into your database
unless you are ABSOLUTELY SURE that you know what and how
to do!
The "3" is the GM account level (higher numbers = more
access), and the "-1" is the realm ID that stands for "all
realms".
62. Future configuration
Client
- Windows 8
● Wow Client
WoW
Client
Server
- Virtual box, Ubuntu 13.04
● Game Server
○ auth
○ world
● Database Server
○ auth, world, character
Auth Server
World Server
auth db
world db
character db
67. make compile error 1
[ 99%] Building CXX object
src/server/worldserver/CMakeFiles/worldserver.
dir/CommandLine/CliRunnable.cpp.o
[ 99%] Building CXX object
src/server/worldserver/CMakeFiles/worldserver.
dir/RemoteAccess/RASocket.cpp.o
[ 99%] Building CXX object
src/server/worldserver/CMakeFiles/worldserver.
dir/RemoteAccess/RARunnable.cpp.o
/root/TrinityCore/src/server/worldserver/RemoteAccess/RARunnable
.cpp: In member function Virtual void RARunnable::run()
68. make compile error 2
/root/TrinityCore/src/server/worldserver/RemoteAccess/RARunnable
.cpp:78:72: error: no matching function for call to ACE_Reactor::
run_reactor_event_loop(ACE_Time_Value)
compilation terminated due to -Wfatal-errors.
make[2]: *** [src/server/worldserver/CMakeFiles/worldserver.
dir/RemoteAccess/RARunnable.cpp.o] Error 1
make[1]: *** [src/server/worldserver/CMakeFiles/worldserver.dir/all]
Error 2
make: *** [all] Error 2
69. make compile error 3
collect2: error: ld terminated with signal 9 [Killed]
Not TC error, for sure shared or VPS, complile got killed because high
cpu ussage.
sudo dd if=/dev/zero of=/tmp/swap bs=1M count=512
sudo mkswap /tmp/swap
sudo swapon /tmp/swap
http://www.trinitycore.org/f/topic/3178-error-with-thecompiliation-make-install/