VHD Uzantılı FreeBSD 13.0 MySQL 8.0 Kurulum [VHD]

  • Konbuyu başlatan Konbuyu başlatan Admin
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 0
  • Görüntüleme Görüntüleme 179

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
IP: 192.168.1.200
Kullanıcı Adı : root

Şifre : rakonda

VHD DOSYAMIZ:


Kod:
cd C:\Program Files\Oracle\VirtualBox
1uaadg5.png




--resize 15000 ibaresi sanal diskin boyutunu temsil eder boyutunuzu isteğe göre ayarlayabilirsiniz
VHD Uzantılı FREEBSD 13.0 MYSQL 8.0[VHD]\bsd.vhd : dosya dizini
[/B]




Kod:
VBoxManage modifyhd "C:\Users\%username%\Desktop\VHD Uzantılı FREEBSD 13.0 MYSQL 8.0[VHD]\bsd.vhd" --resize 15000
5649nlp.png

Diskimizin Boyutunu Kontrol Edelim
9b3jgpt.png




Kod:
pkg install openssl python27 gcc9 gmake makedepend subversion mysql80-client mysql80-server gdb compat7x-i386 compat9x-i386 compat11x-i386 devil

Kod:
Imath-3.1.4                    C++/Python lib of 2D/3D vector, matrix, math ops for computer graphics aalib-1.4.r5_13                ASCII art library apr-1.7.0.1.6.1_1              Apache Portability Library binutils-2.37_2,1              GNU binary tools boost-libs-1.72.0_6            Free portable C++ libraries (without Boost.Python) ca_root_nss-3.71               Root certificate bundle from the Mozilla Project compat10x-i386-10.4.1004000.20181014 Convenience package to install the compat10x libraries compat11x-i386-11.2.1102000.20181014 Convenience package to install the compat11x libraries compat7x-i386-7.4.704000.201310.1 Convenience package to install the compat7x libraries compat9x-i386-9.3.903000.20170608 Convenience package to install the compat9x libraries curl-7.80.0                    Command line tool and library for transferring data with URLs cyrus-sasl-2.1.27_2            RFC 2222 SASL (Simple Authentication and Security Layer) db5-5.3.28_8                   Oracle Berkeley DB, revision 5.3 devil-1.7.8_29,1               Full featured cross-platform image library expat-2.4.3                    XML 1.0 parser written in C freeglut-3.2.1                 Open source implementation of GLUT library gcc9-9.4.0                     GNU Compiler Collection 9 gdb-11.1_2                     GNU Project Debugger gdbm-1.22                      GNU database manager gettext-runtime-0.21           GNU gettext runtime libraries and programs glib-2.70.2,2                  Some useful routines of C programming (current stable version) gmake-4.3_2                    GNU version of 'make' utility gmp-6.2.1                      Free library for arbitrary precision arithmetic gnupg-2.3.3_2                  Complete and free PGP implementation gnutls-3.6.16                  GNU Transport Layer Security library groff-1.22.4_4                 Software typesetting package icu-70.1_1,1                   International Components for Unicode (from IBM) indexinfo-0.3.1                Utility to regenerate the GNU info page index jasper-2.0.33                  Implementation of the codec specified in the JPEG-2000 standard jbigkit-2.1_1                  Lossless compression for bi-level images such as scanned pages, faxes jpeg-turbo-2.1.1_1             SIMD-accelerated JPEG codec which replaces libjpeg lcms-1.19_6,1                  Light Color Management System -- a color management library libGLU-9.0.2_1                 OpenGL utility library libICE-1.0.10,1                Inter Client Exchange library for X11 libSM-1.2.3,1                  Session Management library for X11 libX11-1.7.2,1                 X11 library libXau-1.0.9                   Authentication Protocol library for X11 libXdmcp-1.1.3                 X Display Manager Control Protocol library libXext-1.3.4,1                X11 Extension library libXfixes-6.0.0                X Fixes extension library libXi-1.8,1                    X Input extension library libXmu-1.1.3,1                 X Miscellaneous Utilities libraries libXrandr-1.5.2                X Resize and Rotate extension library libXrender-0.9.10_2            X Render extension library libXt-1.2.1,1                  X Toolkit library libXxf86vm-1.1.4_3             X Vidmode Extension libassuan-2.5.5                IPC library used by GnuPG and gpgme libedit-3.1.20210216,1         Command line editor library libevent-2.1.12                API for executing callback functions on events or timeouts libffi-3.3_1                   Foreign Function Interface libgcrypt-1.9.4                General purpose cryptographic library based on the code from GnuPG libglvnd-1.4.0                 GL Vendor-Neutral Dispatch library libgpg-error-1.43              Common error values for all GnuPG components libiconv-1.16                  Character set conversion library libidn2-2.3.2                  Implementation of IDNA2008 internationalized domain names libksba-1.6.0                  Library to make X.509 certificates liblz4-1.9.3,1                 LZ4 compression library, lossless and very fast libmng-1.0.10_3                Multiple-image Network Graphics (MNG) reference library libnghttp2-1.46.0              HTTP/2.0 C Library libpaper-1.1.28                Library providing routines for paper size management libpthread-stubs-0.4           Weak aliases for pthread functions libssh2-1.10.0,3               Library implementing the SSH2 protocol libtasn1-4.18.0                ASN.1 structure parser library libunistring-0.9.10_1          Unicode string library libunwind-20201110             Generic stack unwinding library libxcb-1.14_1                  The X protocol C-language Binding (XCB) library libxml2-2.9.12                 XML parser library for GNOME makedepend-1.0.6,1             Dependency generator for makefiles mpc-1.2.1                      Library of complex numbers with arbitrarily high precision mpdecimal-2.5.1                C/C++ arbitrary precision decimal floating point libraries mpfr-4.1.0_1                   Library for multiple-precision floating-point computations mysql80-client-8.0.27          Multithreaded SQL database (client) mysql80-server-8.0.27          Multithreaded SQL database (server) nettle-3.7.3                   Low-level cryptographic library npth-1.6                       New GNU Portable Threads nvidia-texture-tools-2.0.8.1_25 Texture Tools with support for DirectX 10 texture formats openexr-3.1.4                  High dynamic-range (HDR) image file format openldap24-client-2.4.59_4     Open source LDAP client implementation openssl-1.1.1m_1,1             TLSv1.3 capable SSL and crypto library p11-kit-0.24.0                 Library for loading and enumerating of PKCS#11 modules pcre-8.45                      Perl Compatible Regular Expressions library perl5-5.32.1_1                 Practical Extraction and Report Language pinentry-1.1.1                 Collection of simple PIN or passphrase entry dialogs pinentry-curses-1.1.1          Curses version of the GnuPG password dialog pkg-1.17.5                     Package manager png-1.6.37_1                   Library for manipulating PNG images protobuf-3.17.3,1              Data interchange format library psutils-1.17_5                 Utilities for manipulating PostScript documents python27-2.7.18_1              Interpreted object-oriented programming language python38-3.8.12_1              Interpreted object-oriented programming language readline-8.1.1                 Library for editing command lines as they are typed sdl-1.2.15_15,2                Cross-platform multimedia development API serf-1.3.9_6                   Serf HTTP client library source-highlight-3.1.9_1       C/C++ and Java sources to HTML converter sqlite3-3.35.5_4,1             SQL database engine in a C library subversion-1.14.1              Version control system tiff-4.3.0                     Tools and library routines for working with TIFF images tpm-emulator-0.7.4_2           Trusted Platform Module (TPM) emulator trousers-0.3.14_3              Open-source TCG Software Stack uchardet-0.0.7                 Universal charset detection library utf8proc-2.6.1_1               UTF-8 processing library xorgproto-2021.5               X Window System unified protocol definitions zstd-1.5.0                     Fast real-time compression algorithm


MySQL GİRİŞ :
navicat_ss-png.70012


navicat_ss22-png.70013

tarama-png.70011


VHD Uzantılı FreeBSD 13.0 MySQL 8.0 Kurulumu [VHD]

Metin2lobby.com olarak sunucu dünyasında özellikle Metin2 oyun sunucuları için FreeBSD tabanlı çözümlere odaklanıyoruz. Bu yazıda, FreeBSD 13.0 sistemi üzerinde MySQL 8.0 veritabanının VHD dosyası üzerinden nasıl kurulacağını adım adım anlatacağız. Bu rehber, hem Metin2 FreeBSD sistem yöneticileri hem de FreeBSD game server kurmak isteyen geliştiriciler için oldukça faydalı olacaktır.

FreeBSD 13.0 Nedir?
FreeBSD, açık kaynak kodlu, Unix benzeri bir işletim sistemidir. Güvenilirlik, performans ve güvenlik açısından sunucu ortamlarında tercih edilir. Özellikle Metin2 FreeBSD kurulum süreçleri, oyun sunucularının kararlı ve hızlı çalışması için idealdir. FreeBSD server yapılandırmalarında genellikle veritabanı, auth server, db server gibi bileşenler birlikte çalışır.

Neden VHD Dosyası Kullanılır?
VHD (Virtual Hard Disk), Microsoft sanallaştırma platformları tarafından kullanılan bir disk formatıdır. Ancak bazı durumlarda, FreeBSD game server yapılandırmasında sabit bir sistem imajına ihtiyaç duyulabilir. VHD dosyası sayesinde, önceden hazırlanmış bir FreeBSD 13.0 sistemi kolayca çalıştırılabilir ve test edilebilir. Bu yöntem, Metin2 FreeBSD sistem kurulumlarını hızlandırır ve tekrarlanabilirlik sağlar.

MySQL 8.0 Kurulumu Adımları
Öncelikle, VHD dosyasını açarak FreeBSD 13.0 sistemine erişmeniz gerekir. Sistem açıldıktan sonra SSH veya doğrudan terminal üzerinden giriş yapın.

1. Sistemi Güncelleştirin
Kod:
sudo freebsd-update fetch[BR][/BR]sudo freebsd-update install

2. Paket Yöneticisini Güncelleyin
Kod:
pkg update && pkg upgrade

3. MySQL 8.0 Paketini Yükleyin
Kod:
pkg install mysql80-server mysql80-client

4. MySQL Servisini Etkinleştirin
Kod:
sysrc mysql_enable=YES

5. MySQL Servisini Başlatın
Kod:
service mysql-server start

6. Güvenlik Ayarlarını Yapın
Kod:
mysql_secure_installation


MySQL Veritabanı Ayarları
Metin2 sunucuları genellikle özel veritabanı yapılandırmaları gerektirir. MySQL 8.0, FreeBSD db server olarak kullanılacaksa, kullanıcı oluşturma, yetkilendirme ve şifreleme gibi adımlar önemlidir.

Yeni bir kullanıcı oluşturmak için:
Kod:
CREATE USER 'metin2_user'@'localhost' IDENTIFIED BY 'sifreniz';[BR][/BR]GRANT ALL PRIVILEGES ON metin2_db.* TO 'metin2_user'@'localhost';


FreeBSD Sistem Güvenliği
FreeBSD sistem güvenliği için pf firewall kullanmanız önerilir. MySQL için gerekli portlar (örneğin 3306) dışındaki bağlantılar engellenmelidir. FreeBSD firewall kuralları aşağıdaki gibi ayarlanabilir:

Kod:
echo 'pf_enable="YES"' >> /etc/rc.conf[BR][/BR]echo 'pflog_enable="YES"' >> /etc/rc.conf[BR][/BR]service pf restart


Metin2 İçin Gerekli Yapılandırmalar
Metin2 sunucularında genellikle birden fazla servis aynı sistemde barındırılır. Bu durumda FreeBSD jail yapısı kullanmak sistemin daha güvenli ve düzenli çalışmasını sağlar. Jail içinde MySQL 8.0 çalıştırmak için gerekli kütüphaneler ve bağlantılar sağlanmalıdır.

Ayrıca Metin2 FreeBSD compile işlemlerinde GCC veya Clang derleyicileri kullanılabilir. Bu işlemler sırasında MySQL kütüphanelerinin doğru bağlanması önemlidir.

Sonuç
Bu rehber sayesinde, VHD dosyası üzerinde çalışan FreeBSD 13.0 sistemine MySQL 8.0 kurulumunu tamamladınız. Bu yapı, Metin2 FreeBSD projelerinizde temel bir altyapı olarak kullanabilirsiniz. Daha fazla FreeBSD game server ve Metin2 FreeBSD kaynağı için Metin2Lobby sitesini takip etmeyi unutmayın.


Installing MySQL 8.0 on FreeBSD 13.0 with VHD Extension [VHD]

As Metin2Lobby, we focus on FreeBSD-based solutions for game servers, especially for Metin2. In this article, we will explain step by step how to install the MySQL 8.0 database on a FreeBSD 13.0 system via a VHD file. This guide will be highly beneficial for both Metin2 FreeBSD system administrators and developers looking to set up FreeBSD game servers.

What is FreeBSD 13.0?
FreeBSD is an open-source, Unix-like operating system. It is preferred in server environments due to its reliability, performance, and security. In Metin2 FreeBSD installation processes, it provides an ideal setup for stable and fast operation of game servers. In FreeBSD server configurations, components such as databases, auth servers, and db servers often work together.

Why Use a VHD File?
VHD (Virtual Hard Disk) is a disk format used by Microsoft virtualization platforms. However, sometimes there may be a need for a fixed system image in FreeBSD game server setups. With a VHD file, a pre-configured FreeBSD 13.0 system can easily be launched and tested. This method accelerates Metin2 FreeBSD system installations and ensures reproducibility.

Steps for Installing MySQL 8.0
Firstly, you need to access the FreeBSD 13.0 system by opening the VHD file. After the system boots, log in via SSH or directly through the terminal.

1. Update the System
Kod:
sudo freebsd-update fetch[BR][/BR]sudo freebsd-update install

2. Update the Package Manager
Kod:
pkg update && pkg upgrade

3. Install MySQL 8.0 Package
Kod:
pkg install mysql80-server mysql80-client

4. Enable MySQL Service
Kod:
sysrc mysql_enable=YES

5. Start MySQL Service
Kod:
service mysql-server start

6. Secure Installation Settings
Kod:
mysql_secure_installation


MySQL Database Configuration
Metin2 servers usually require custom database configurations. If MySQL 8.0 is to be used as a FreeBSD db server, steps like user creation, authorization, and encryption are important.

To create a new user:
Kod:
CREATE USER 'metin2_user'@'localhost' IDENTIFIED BY 'your_password';[BR][/BR]GRANT ALL PRIVILEGES ON metin2_db.* TO 'metin2_user'@'localhost';


FreeBSD System Security
For FreeBSD system security, it is recommended to use the pf firewall. Connections other than required ports (e.g., 3306) should be blocked for MySQL. FreeBSD firewall rules can be configured as follows:

Kod:
echo 'pf_enable="YES"' >> /etc/rc.conf[BR][/BR]echo 'pflog_enable="YES"' >> /etc/rc.conf[BR][/BR]service pf restart


Configurations Required for Metin2
In Metin2 servers, multiple services are often hosted on the same system. In such cases, using FreeBSD jail structures ensures safer and more organized operation. When running MySQL 8.0 inside a jail, necessary libraries and connections must be provided.

Additionally, during Metin2 FreeBSD compile operations, GCC or Clang compilers can be used. During these operations, correctly linking MySQL libraries is crucial.

Conclusion
With this guide, you have completed the installation of MySQL 8.0 on a FreeBSD 13.0 system running from a VHD file. This setup can serve as a foundational infrastructure for your Metin2 FreeBSD projects. For more FreeBSD game server and Metin2 FreeBSD resources, don't forget to follow the Metin2Lobby site.
 

Şuan Bu Konuyu Görüntüleyen Kullanıcılar (Toplam : 0, Üye : 0, Misafir : 0)

Geri
Üst Alt