用户工具

站点工具


windows_安装要求

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

后一修订版
前一修订版
windows_安装要求 [2023/09/23 21:37] – 创建 adminwindows_安装要求 [2023/09/23 22:43] (当前版本) admin
行 1: 行 1:
 ====== Windows 安装要求 ====== ====== Windows 安装要求 ======
 +|安装指南| |
 +|本文是《安装指南》的一部分。您可以单独阅读它,也可以单击上一个链接以在步骤之间轻松移动。| |
 +|[[安装指南|<< Start: 安装指南]]|[[核心安装|Step 2: 核心安装 >>]]|
  
 +|Boost ≥ 1.78|
 +|MySQL ≥ 5.7.0 (推荐版本: ≥ 8.0)|
 +|OpenSSL ≥ 3.0.x|
 +|CMake ≥ 3.16|
 +|MS Visual Studio (Community) ≥ 17 (2022) (Desktop) (No preview)|
 +
 +  - [[https://git-scm.com/download/win|Git]] \\ \\ 
 +    - 下载独立安装程序\\ \\ 
 +      * 在 Git 安装期间 - 调整 PATH 环境。选择"Git from the command line and also from 3rd-party software"。 \\ \\ 
 +  - [[https://desktop.github.com/|Github Desktop]]\\ \\ 
 +    - 下载安装程序并按照步骤进行设置。\\ \\ 
 +  - 安装编译器[[https://visualstudio.microsoft.com/downloads/|Visual Studio Community 2022 (ver 17)]]\\ \\ 您将需要安装C++编译器。\\ \\ 为此,请在“工作负载 ->桌面应用和移动应用”下选择“使用 C++ 的桌面开发”。\\ \\ {{:visualstudio.png?direct&600|}}
 +  - [[https://dev.mysql.com/downloads/mysql/8.0.html|MySQL Server Community Edition]] (推荐版本:≥ 8.0,MySQL服务器配置)\\ \\ 
 +    - 下载 Windows MSI 安装程序。 \\ \\ 
 +    - 向下滚动到底部,然后单击 "No thanks, just take me to the downloads!"\\ \\ 
 +    - 安装快完成时,确保选中“启动MySQL实例配置向导”,然后单击“完成”。\\ \\ 
 +    - 当MySQL实例配置向导启动时,大多数默认选项都可以,但请记住您使用的用户名和密码 (root <nowiki>//</nowiki> whatever). 。您将需要它们登录到您选择的数据库管理工具(如下),以便稍后导入SQL文件。\\ \\ 
 +    - 要测试MySQL是否正确设置,请在键盘上按CTRL + ALT + DEL,进入任务管理器,然后选择“服务”选项卡。在服务列表中,您应该看到状态为“正在运行”的“MySQL”。\\ \\ 
 +    - 将 MySQL 添加到环境变量。\\ \\ 
 +      * 打开控制面板 -> 系统\\ \\ 
 +      * 打开“高级系统设置”\\ \\ 
 +      * 打开“环境变量”\\ \\ 
 +      * 在“系统变量”下,选择“Path”\\ \\ 
 +      * 编辑并添加您的 MySQL 安装路径, 例如: "C:\Program Files\MySQL\MySQL Server 8.0\bin\"\\ \\ 
 +  - 选择数据库管理工具\\ \\ 
 +    * MySQL cli (Fastest)\\ \\ 
 +    * SQLYog Community Edition\\ \\ 
 +    * HeidiSQL (Best for beginners)\\ \\ 
 +    * MySQL Workbench (already installed if you chose to install the full MySQL package)\\ \\ 
 +    * DBeaver (Multiplatform Database Management Tool)\\ \\ 
 +      - Try connecting to your database. You may be looking for "Connect to Host", "New Connection" or "Session Manager" depending on which program you use.\\ \\ 
 +      - Create a new connection/session. The Hostname/IP address of "127.0.0.1" or "localhost" is fine if you installed MySQL on the same computer that you installed HeidiSQL or SQLYog. Simply fill in your root <nowiki>//</nowiki> whatever password and you should now be able to connect to your database.\\ \\ 
 +  - [[https://cmake.org/download/|CMake]]\\ \\ 
 +    - Download and install the Latest Release windows-x86_64.msi file, NEVER the RC (Release Candidate) versions.\\ \\ 
 +    - We recommend to compile in 64 bits mode.\\ \\ 
 +  - MySQL development files\\ \\ 
 +    * These files are shipped with MySQL Server, search for them in the program files directory, MySQL\MySQL Server 8.0\lib / MySQL\MySQL Server 5.7\lib.\\ \\ 
 +  - [[http://www.slproweb.com/products/Win32OpenSSL.html|OpenSSL]] 下载 64bit 版本\\ \\ 
 +    * Find the 64-bit version by finding the latest 3.0.x Win64 OpenSSL that is NOT the "light" version. (Example: Win64 OpenSSL v3.0.7)\\ \\ 
 +    * Note #1: If you get a "Missing Microsoft Visual C++ .... Redistributable" error message while installing OpenSSL, Download the Microsoft Visual C++ 2017/2019/2022 Redistributable Package (x64) (Direct Download) (1.7MB Installer) and install it.\\ \\ 
 +    * Note #2: While installing OpenSSL, choose The OpenSSL binaries (/bin) directory (NOT "The Windows system directory") when given the choice of where to copy the OpenSSL DLLs. These DLLs will need to be located easily for Core Installation.\\ \\ 
 +  - [[https://www.boost.org/|Boost]].\\ \\ 
 +    - Download the prebuilt Windows Binary for Visual Studio 2022\\ \\ 
 +    - 64bit\\ \\ 
 +    - Add an environment variable to the "System" variable named "BOOST_ROOT" and with the value being your Boost installation directory, e.g. C:/local/boost_1_81_0. Important is to use '/', not '\' when pointing to the directory. (Make sure that it does not have a trailing slash (end of the path). If you still get problems, add the same variable in the USER variables section too, as shown in the image below.)\\ \\ 
 +
 +
 +Notice that this image shows the version number 1.72.0 - use your actual version number in your settings.
windows_安装要求.1695476229.txt.gz · 最后更改: 2023/09/23 21:37 由 admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki