Windows本地搭建Edusoho环境

Windows搭建Edusoho比Linux还要轻松的多。因为有很多环境集成工具如xampp、wampserver、phpstudy等。
基本上安装号wampserver工具,直接将edusoho项目扔到www目录地下并配置即可。

另外为什么要本地搭建呢?
本地搭建的目的是方便调试。当然了也不排除有部分公司在Linux系统上完全使用命令行的方式开发应用程序。

步骤如下:

XAMPP启动mysql遇到的问题

错误信息如下:
Version: ‘10.1.33-MariaDB’ socket: ‘’ port: 3389 mariadb.org binary distribution
2019-06-12 18:00:56 4a04 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB’s internal memory allocator.
2019-06-12 18:00:56 18948 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.

2019-06-12 18:00:56 18948 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2019-06-12 18:00:56 18948 [Note] InnoDB: The InnoDB memory heap is disabled
2019-06-12 18:00:56 18948 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-06-12 18:00:56 18948 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2019-06-12 18:00:56 18948 [Note] InnoDB: Compressed tables use zlib 1.2.3
2019-06-12 18:00:56 18948 [Note] InnoDB: Using generic crc32 instructions
2019-06-12 18:00:56 18948 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2019-06-12 18:00:56 18948 [Note] InnoDB: Completed initialization of buffer pool
2019-06-12 18:00:56 18948 [ERROR] InnoDB: \Program Files (x86)\xampp\mysql\data\ibdata1 can’t be opened in read-write mode
2019-06-12 18:00:56 18948 [ERROR] InnoDB: The system tablespace must be writable!
2019-06-12 18:00:56 18948 [ERROR] Plugin ‘InnoDB’ init function returned error.
2019-06-12 18:00:56 18948 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
2019-06-12 18:00:56 18948 [Note] Plugin ‘FEEDBACK’ is disabled.
2019-06-12 18:00:56 18948 [ERROR] Unknown/unsupported storage engine: InnoDB
2019-06-12 18:00:56 18948 [ERROR] Aborting

解决方案:

算法图解之广度优先搜索

广度优先搜索的应用场景,如下:
(1)编写国际跳棋AI,计算最少走多少步就可获胜;
(2)编写拼写检查器,计算最少编辑多个地方就可将错拼的单词改为正确的单词,如将READED改为READER需要编辑一个地方;
(3)根据你的人际关系网络找到关系最近的医生;