Environment.html 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284
  1. <!DOCTYPE HTML>
  2. <html lang="zh-hans" >
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  6. <title>环境准备 · 梦想家内容管理系统(Dreamer CMS)</title>
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  8. <meta name="description" content="">
  9. <meta name="generator" content="GitBook 3.2.3">
  10. <meta name="author" content="王俊南">
  11. <link rel="stylesheet" href="../gitbook/style.css">
  12. <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchors/plugin.css">
  13. <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
  14. <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
  15. <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
  16. <meta name="HandheldFriendly" content="true"/>
  17. <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
  18. <meta name="apple-mobile-web-app-capable" content="yes">
  19. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  20. <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
  21. <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
  22. <link rel="next" href="Packaging.html" />
  23. <link rel="shortcut icon" href="./source/images/favicon.ico" type="image/x-icon">
  24. <link rel="apple-touch-icon-precomposed" sizes="152x152" href="./source/images/favicon.png">
  25. </head>
  26. <body>
  27. <div class="book">
  28. <div class="book-summary">
  29. <div id="book-search-input" role="search">
  30. <input type="text" placeholder="输入并搜索" />
  31. </div>
  32. <nav role="navigation">
  33. <ul class="summary">
  34. <li>
  35. <a href="http://www.iteachyou.cc" target="_blank" class="custom-link">I Teach You,我教你!</a>
  36. </li>
  37. <li>
  38. <a href="https://gitee.com/iteachyou/dreamer_cms" target="_blank" class="custom-link">Dreamer CMS(Gitee)</a>
  39. </li>
  40. <li>
  41. <a href="https://github.com/iteachyou-wjn/dreamer_cms" target="_blank" class="custom-link">Dreamer CMS(Github)</a>
  42. </li>
  43. <li class="divider"></li>
  44. <li class="chapter " data-level="1.1" data-path="../">
  45. <a href="../">
  46. 封面
  47. </a>
  48. </li>
  49. <li class="chapter " data-level="1.2" data-path="../COPYRIGHT.html">
  50. <a href="../COPYRIGHT.html">
  51. 版权
  52. </a>
  53. </li>
  54. <li class="divider"></li>
  55. <li class="chapter " data-level="2.1" >
  56. <span>
  57. 前言
  58. </span>
  59. <ul class="articles">
  60. <li class="chapter " data-level="2.1.1" data-path="../preface/">
  61. <a href="../preface/">
  62. 简介
  63. </a>
  64. </li>
  65. <li class="chapter " data-level="2.1.2" data-path="../preface/Topic.html">
  66. <a href="../preface/Topic.html">
  67. 主题
  68. </a>
  69. </li>
  70. <li class="chapter " data-level="2.1.3" data-path="../preface/Publish.html">
  71. <a href="../preface/Publish.html">
  72. 发行方法
  73. </a>
  74. </li>
  75. <li class="chapter " data-level="2.1.4" data-path="../preface/Online.html">
  76. <a href="../preface/Online.html">
  77. 在线手册
  78. </a>
  79. </li>
  80. <li class="chapter " data-level="2.1.5" data-path="../preface/Last.html">
  81. <a href="../preface/Last.html">
  82. 最后
  83. </a>
  84. </li>
  85. </ul>
  86. </li>
  87. <li class="divider"></li>
  88. <li class="chapter " data-level="3.1" data-path="../chapter01/">
  89. <a href="../chapter01/">
  90. 第一章 模板设计师要求
  91. </a>
  92. <ul class="articles">
  93. <li class="chapter " data-level="3.1.1" data-path="../chapter01/Designer.html">
  94. <a href="../chapter01/Designer.html">
  95. 设计师
  96. </a>
  97. </li>
  98. <li class="chapter " data-level="3.1.2" data-path="../chapter01/Developer.html">
  99. <a href="../chapter01/Developer.html">
  100. 开发者
  101. </a>
  102. </li>
  103. </ul>
  104. </li>
  105. <li class="divider"></li>
  106. <li class="chapter " data-level="4.1" data-path="../chapter02/">
  107. <a href="../chapter02/">
  108. 第二章 模板制作流程
  109. </a>
  110. </li>
  111. <li class="divider"></li>
  112. <li class="chapter " data-level="5.1" >
  113. <span>
  114. 第三章 模板文件及目录结构
  115. </span>
  116. <ul class="articles">
  117. <li class="chapter " data-level="5.1.1" data-path="../chapter03/">
  118. <a href="../chapter03/">
  119. 模版目录
  120. </a>
  121. </li>
  122. <li class="chapter " data-level="5.1.2" data-path="../chapter03/Description.html">
  123. <a href="../chapter03/Description.html">
  124. 模板文件与功能说明
  125. </a>
  126. </li>
  127. <li class="chapter " data-level="5.1.3" data-path="../chapter03/DesignAndUse.html">
  128. <a href="../chapter03/DesignAndUse.html">
  129. 概念,设计和使用模板
  130. </a>
  131. </li>
  132. <li class="chapter " data-level="5.1.4" data-path="../chapter03/NamingRules.html">
  133. <a href="../chapter03/NamingRules.html">
  134. 命名规则
  135. </a>
  136. </li>
  137. <li class="chapter " data-level="5.1.5" data-path="../chapter03/Other.html">
  138. <a href="../chapter03/Other.html">
  139. 其它模板说明
  140. </a>
  141. </li>
  142. </ul>
  143. </li>
  144. <li class="divider"></li>
  145. <li class="chapter " data-level="6.1" data-path="../chapter04/">
  146. <a href="../chapter04/">
  147. 第四章 模板引擎介绍
  148. </a>
  149. <ul class="articles">
  150. <li class="chapter " data-level="6.1.1" data-path="../chapter04/CoreDoc.html">
  151. <a href="../chapter04/CoreDoc.html">
  152. 核心文件
  153. </a>
  154. </li>
  155. <li class="chapter " data-level="6.1.2" data-path="../chapter04/Grammar.html">
  156. <a href="../chapter04/Grammar.html">
  157. 模板语法
  158. </a>
  159. </li>
  160. <li class="chapter " data-level="6.1.3" data-path="../chapter04/LabelCategory.html">
  161. <a href="../chapter04/LabelCategory.html">
  162. 标签分类
  163. </a>
  164. </li>
  165. </ul>
  166. </li>
  167. <li class="divider"></li>
  168. <li class="chapter " data-level="7.1" >
  169. <span>
  170. 第五章 标签参考
  171. </span>
  172. <ul class="articles">
  173. <li class="chapter " data-level="7.1.1" >
  174. <span>
  175. ▶全局标签
  176. </span>
  177. </li>
  178. <li class="chapter " data-level="7.1.2" data-path="../chapter05/GlobalLabel.html">
  179. <a href="../chapter05/GlobalLabel.html">
  180. Global全局配置标签
  181. </a>
  182. </li>
  183. <li class="chapter " data-level="7.1.3" data-path="../chapter05/VariableLabel.html">
  184. <a href="../chapter05/VariableLabel.html">
  185. Variable全局变量标签
  186. </a>
  187. </li>
  188. <li class="chapter " data-level="7.1.4" data-path="../chapter05/TemplateLabel.html">
  189. <a href="../chapter05/TemplateLabel.html">
  190. Template模版路径标签
  191. </a>
  192. </li>
  193. <li class="chapter " data-level="7.1.5" data-path="../chapter05/IncludeLabel.html">
  194. <a href="../chapter05/IncludeLabel.html">
  195. Include引入文件标签
  196. </a>
  197. </li>
  198. <li class="chapter " data-level="7.1.6" data-path="../chapter05/TypeLabel.html">
  199. <a href="../chapter05/TypeLabel.html">
  200. Type栏目调用标签
  201. </a>
  202. </li>
  203. <li class="chapter " data-level="7.1.7" data-path="../chapter05/ChannelLabel.html">
  204. <a href="../chapter05/ChannelLabel.html">
  205. Channel频道列表标签
  206. </a>
  207. </li>
  208. <li class="chapter " data-level="7.1.8" data-path="../chapter05/ListLabel.html">
  209. <a href="../chapter05/ListLabel.html">
  210. List文章列表标签
  211. </a>
  212. </li>
  213. <li class="chapter " data-level="7.1.9" data-path="../chapter05/CategoryArtListLabel.html">
  214. <a href="../chapter05/CategoryArtListLabel.html">
  215. CategoryArtListLabel栏目内容列表标签
  216. </a>
  217. </li>
  218. <li class="chapter " data-level="7.1.10" data-path="../chapter05/TagLabel.html">
  219. <a href="../chapter05/TagLabel.html">
  220. TagLabel标签列表标签
  221. </a>
  222. </li>
  223. <li class="chapter " data-level="7.1.11" data-path="../chapter05/TreeLabel.html">
  224. <a href="../chapter05/TreeLabel.html">
  225. TreeLabel栏目树标签
  226. </a>
  227. </li>
  228. <li class="chapter " data-level="7.1.12" data-path="../chapter05/AttachmentLabel.html">
  229. <a href="../chapter05/AttachmentLabel.html">
  230. AttachmentLabel附件标签
  231. </a>
  232. </li>
  233. <li class="chapter " data-level="7.1.13" data-path="../chapter05/SqlLabel.html">
  234. <a href="../chapter05/SqlLabel.html">
  235. SqlLabel SQL标签
  236. </a>
  237. </li>
  238. <li class="chapter " data-level="7.1.14" data-path="../chapter05/IfLabel.html">
  239. <a href="../chapter05/IfLabel.html">
  240. IfLabel判断标签
  241. </a>
  242. </li>
  243. <li class="chapter " data-level="7.1.15" >
  244. <span>
  245. ▶分页标签
  246. </span>
  247. </li>
  248. <li class="chapter " data-level="7.1.16" data-path="../chapter05/CategoryLabel.html">
  249. <a href="../chapter05/CategoryLabel.html">
  250. Category分页栏目标签
  251. </a>
  252. </li>
  253. <li class="chapter " data-level="7.1.17" data-path="../chapter05/TopCategoryLabel.html">
  254. <a href="../chapter05/TopCategoryLabel.html">
  255. TopCategory分页顶级栏目标签
  256. </a>
  257. </li>
  258. <li class="chapter " data-level="7.1.18" data-path="../chapter05/LocationLabel.html">
  259. <a href="../chapter05/LocationLabel.html">
  260. Location当前位置标签
  261. </a>
  262. </li>
  263. <li class="chapter " data-level="7.1.19" >
  264. <span>
  265. ▶列表标签
  266. </span>
  267. </li>
  268. <li class="chapter " data-level="7.1.20" data-path="../chapter05/PageListLabel.html">
  269. <a href="../chapter05/PageListLabel.html">
  270. PageList文章分页标签
  271. </a>
  272. </li>
  273. <li class="chapter " data-level="7.1.21" data-path="../chapter05/PaginationLabel.html">
  274. <a href="../chapter05/PaginationLabel.html">
  275. Pagination显示分页标签
  276. </a>
  277. </li>
  278. <li class="chapter " data-level="7.1.22" >
  279. <span>
  280. ▶内容标签
  281. </span>
  282. </li>
  283. <li class="chapter " data-level="7.1.23" data-path="../chapter05/ArticleLabel.html">
  284. <a href="../chapter05/ArticleLabel.html">
  285. Article文章页标签
  286. </a>
  287. </li>
  288. <li class="chapter " data-level="7.1.24" data-path="../chapter05/PrevNextLabel.html">
  289. <a href="../chapter05/PrevNextLabel.html">
  290. PrevNext上一篇、下一篇标签
  291. </a>
  292. </li>
  293. </ul>
  294. </li>
  295. <li class="chapter " data-level="7.2" data-path="../chapter06/DataBase.html">
  296. <a href="../chapter06/DataBase.html">
  297. 第六章 数据库
  298. </a>
  299. </li>
  300. <li class="chapter " data-level="7.3" >
  301. <span>
  302. 第七章 模板扩展
  303. </span>
  304. <ul class="articles">
  305. <li class="chapter " data-level="7.3.1" data-path="../chapter07/Message.html">
  306. <a href="../chapter07/Message.html">
  307. 留言投稿
  308. </a>
  309. </li>
  310. <li class="chapter " data-level="7.3.2" data-path="../chapter07/Search.html">
  311. <a href="../chapter07/Search.html">
  312. 网站搜索
  313. </a>
  314. </li>
  315. <li class="chapter " data-level="7.3.3" data-path="../chapter07/DefineLabel.html">
  316. <a href="../chapter07/DefineLabel.html">
  317. 定义标签
  318. </a>
  319. </li>
  320. <li class="chapter " data-level="7.3.4" data-path="../chapter07/Regexp.html">
  321. <a href="../chapter07/Regexp.html">
  322. 正则工具类
  323. </a>
  324. </li>
  325. </ul>
  326. </li>
  327. <li class="chapter " data-level="7.4" >
  328. <span>
  329. 第八章 部署上线
  330. </span>
  331. <ul class="articles">
  332. <li class="chapter active" data-level="7.4.1" data-path="Environment.html">
  333. <a href="Environment.html">
  334. 环境准备
  335. </a>
  336. </li>
  337. <li class="chapter " data-level="7.4.2" data-path="Packaging.html">
  338. <a href="Packaging.html">
  339. 应用打包
  340. </a>
  341. </li>
  342. <li class="chapter " data-level="7.4.3" data-path="Online.html">
  343. <a href="Online.html">
  344. 项目上线
  345. </a>
  346. </li>
  347. </ul>
  348. </li>
  349. <li class="chapter " data-level="7.5" >
  350. <span>
  351. 第九章 常见问题
  352. </span>
  353. <ul class="articles">
  354. <li class="chapter " data-level="7.5.1" data-path="../chapter09/Business.html">
  355. <a href="../chapter09/Business.html">
  356. 商业授权
  357. </a>
  358. </li>
  359. <li class="chapter " data-level="7.5.2" data-path="../chapter09/ResourceDir.html">
  360. <a href="../chapter09/ResourceDir.html">
  361. 资源目录
  362. </a>
  363. </li>
  364. <li class="chapter " data-level="7.5.3" data-path="../chapter09/RichTextEditor.html">
  365. <a href="../chapter09/RichTextEditor.html">
  366. 富文本编辑器
  367. </a>
  368. </li>
  369. <li class="chapter " data-level="7.5.4" data-path="../chapter09/NavActive.html">
  370. <a href="../chapter09/NavActive.html">
  371. 导航Active
  372. </a>
  373. </li>
  374. <li class="chapter " data-level="7.5.5" data-path="../chapter09/CategoryPage.html">
  375. <a href="../chapter09/CategoryPage.html">
  376. 栏目分页
  377. </a>
  378. </li>
  379. <li class="chapter " data-level="7.5.6" data-path="../chapter09/CategoryFilter.html">
  380. <a href="../chapter09/CategoryFilter.html">
  381. 多级栏目筛选
  382. </a>
  383. </li>
  384. <li class="chapter " data-level="7.5.7" data-path="../chapter09/MutipleLanguage.html">
  385. <a href="../chapter09/MutipleLanguage.html">
  386. 多语言网站
  387. </a>
  388. </li>
  389. <li class="chapter " data-level="7.5.8" data-path="../chapter09/UploadContrl.html">
  390. <a href="../chapter09/UploadContrl.html">
  391. 上传大小控制
  392. </a>
  393. </li>
  394. <li class="chapter " data-level="7.5.9" data-path="../chapter09/ResourceNotFound.html">
  395. <a href="../chapter09/ResourceNotFound.html">
  396. 上线图片404
  397. </a>
  398. </li>
  399. <li class="chapter " data-level="7.5.10" data-path="../chapter09/Favicon.html">
  400. <a href="../chapter09/Favicon.html">
  401. 站点Favicon
  402. </a>
  403. </li>
  404. </ul>
  405. </li>
  406. <li class="chapter " data-level="7.6" >
  407. <span>
  408. 第十章 关于捐赠
  409. </span>
  410. <ul class="articles">
  411. <li class="chapter " data-level="7.6.1" data-path="../chapter10/DonationList.html">
  412. <a href="../chapter10/DonationList.html">
  413. 授权和捐赠
  414. </a>
  415. </li>
  416. </ul>
  417. </li>
  418. <li class="divider"></li>
  419. <li>
  420. <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
  421. 本书使用 GitBook 发布
  422. </a>
  423. </li>
  424. </ul>
  425. </nav>
  426. </div>
  427. <div class="book-body">
  428. <div class="body-inner">
  429. <div class="book-header" role="navigation">
  430. <!-- Title -->
  431. <h1>
  432. <i class="fa fa-circle-o-notch fa-spin"></i>
  433. <a href=".." >环境准备</a>
  434. </h1>
  435. </div>
  436. <div class="page-wrapper" tabindex="-1" role="main">
  437. <div class="page-inner">
  438. <div id="book-search-results">
  439. <div class="search-noresults">
  440. <section class="normal markdown-section">
  441. <div style="display: flex;">
  442. <img src="https://oss.iteachyou.cc/logo.png" height="30">
  443. <div style="margin-left: 5px; font-size: 30px; line-height: 30px; font-weight: bold;">&#x68A6;&#x60F3;&#x5BB6;&#x5185;&#x5BB9;&#x7BA1;&#x7406;&#x7CFB;&#x7EDF;</div>
  444. </div>
  445. <hr>
  446. <h3 id="&#x73AF;&#x5883;&#x51C6;&#x5907;"><a name="&#x73AF;&#x5883;&#x51C6;&#x5907;" class="plugin-anchor" href="#&#x73AF;&#x5883;&#x51C6;&#x5907;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x73AF;&#x5883;&#x51C6;&#x5907;</h3>
  447. <ol>
  448. <li>Redis</li>
  449. <li>Jdk1.8</li>
  450. <li>Mysql5.7&#xFF08;&#x5FFD;&#x7565;&#x5927;&#x5C0F;&#x5199;&#xFF09;</li>
  451. <li>Nginx</li>
  452. </ol>
  453. <h3 id="&#x8F6F;&#x4EF6;&#x5B89;&#x88C5;"><a name="&#x8F6F;&#x4EF6;&#x5B89;&#x88C5;" class="plugin-anchor" href="#&#x8F6F;&#x4EF6;&#x5B89;&#x88C5;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x8F6F;&#x4EF6;&#x5B89;&#x88C5;</h3>
  454. <h4 id="1-redis&#x5B89;&#x88C5;"><a name="1-redis&#x5B89;&#x88C5;" class="plugin-anchor" href="#1-redis&#x5B89;&#x88C5;"><i class="fa fa-link" aria-hidden="true"></i></a>1. Redis&#x5B89;&#x88C5;</h4>
  455. <p><a href="https://iteachyou.cc/article/4b0a638f65fa4fb1b9644cf461dba602" target="_blank">Windows&#x5B89;&#x88C5;&#x53CA;&#x914D;&#x7F6E;&#x65B9;&#x6CD5;</a></p>
  456. <p><a href="https://iteachyou.cc/article/1676407365014867968" target="_blank">Linux&#x5B89;&#x88C5;&#x53CA;&#x914D;&#x7F6E;&#x65B9;&#x6CD5;</a></p>
  457. <h4 id="2-jdk18&#x5B89;&#x88C5;"><a name="2-jdk18&#x5B89;&#x88C5;" class="plugin-anchor" href="#2-jdk18&#x5B89;&#x88C5;"><i class="fa fa-link" aria-hidden="true"></i></a>2. Jdk1.8&#x5B89;&#x88C5;</h4>
  458. <h5 id="21-&#x4E0B;&#x8F7D;jdk"><a name="21-&#x4E0B;&#x8F7D;jdk" class="plugin-anchor" href="#21-&#x4E0B;&#x8F7D;jdk"><i class="fa fa-link" aria-hidden="true"></i></a>2.1 &#x4E0B;&#x8F7D;Jdk</h5>
  459. <p><a href="https://www.oracle.com/java/technologies/downloads/#java8" target="_blank">&#x4E0B;&#x8F7D;Jdk1.8</a></p>
  460. <p>Linux&#x4E0B;&#x8F7D;&#xFF1A;jdk-8u371-linux-x64.tar.gz</p>
  461. <h5 id="22-&#x5B89;&#x88C5;jdk"><a name="22-&#x5B89;&#x88C5;jdk" class="plugin-anchor" href="#22-&#x5B89;&#x88C5;jdk"><i class="fa fa-link" aria-hidden="true"></i></a>2.2 &#x5B89;&#x88C5;Jdk</h5>
  462. <p>&#x5C06;&#x4E0B;&#x8F7D;&#x7684;jdk-8u371-linux-x64.tar.gz&#x8FDB;&#x884C;&#x89E3;&#x538B;&#xFF0C;&#x89E3;&#x538B;&#x5230;/usr/local/Java/&#x76EE;&#x5F55;&#x4E2D;&#xFF0C;&#x6700;&#x7EC8;&#x76EE;&#x5F55;&#x4E3A;&#xFF1A;/usr/local/Java/jdk1.8.0_361</p>
  463. <h5 id="23-&#x914D;&#x7F6E;&#x73AF;&#x5883;&#x53D8;&#x91CF;"><a name="23-&#x914D;&#x7F6E;&#x73AF;&#x5883;&#x53D8;&#x91CF;" class="plugin-anchor" href="#23-&#x914D;&#x7F6E;&#x73AF;&#x5883;&#x53D8;&#x91CF;"><i class="fa fa-link" aria-hidden="true"></i></a>2.3 &#x914D;&#x7F6E;&#x73AF;&#x5883;&#x53D8;&#x91CF;</h5>
  464. <p>&#x7F16;&#x8F91;/etc/profile&#x6587;&#x4EF6;&#xFF0C;&#x6DFB;&#x52A0;&#x5982;&#x4E0B;&#x5185;&#x5BB9;</p>
  465. <pre><code class="lang-shell"># Java
  466. export JAVA_HOME=/usr/local/Java/jdk1.8.0_361
  467. export JRE_HOME=/usr/local/Java/jdk1.8.0_361/jre
  468. export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
  469. export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH
  470. </code></pre>
  471. <p>&#x4F7F;&#x73AF;&#x5883;&#x53D8;&#x91CF;&#x751F;&#x6548;</p>
  472. <pre><code class="lang-shell">source /etc/profile
  473. </code></pre>
  474. <h4 id="3-&#x5B89;&#x88C5;mysql57"><a name="3-&#x5B89;&#x88C5;mysql57" class="plugin-anchor" href="#3-&#x5B89;&#x88C5;mysql57"><i class="fa fa-link" aria-hidden="true"></i></a>3. &#x5B89;&#x88C5;Mysql5.7</h4>
  475. <p><a href="https://iteachyou.cc/article/a1db138b4a89402ab50f3499edeb30c2" target="_blank">Windows&#x5B89;&#x88C5;&#x53CA;&#x914D;&#x7F6E;&#x65B9;&#x6CD5;</a></p>
  476. <p><a href="https://iteachyou.cc/article/d78be30aef8e49c6b16fb92af2eb2dd3" target="_blank">Linux&#x5B89;&#x88C5;&#x53CA;&#x914D;&#x7F6E;&#x65B9;&#x6CD5;</a></p>
  477. <h4 id="4-&#x5B89;&#x88C5;nginx"><a name="4-&#x5B89;&#x88C5;nginx" class="plugin-anchor" href="#4-&#x5B89;&#x88C5;nginx"><i class="fa fa-link" aria-hidden="true"></i></a>4. &#x5B89;&#x88C5;Nginx</h4>
  478. <p>Windows&#x4E0B;&#x5B89;&#x88C5;Nginx&#x53EA;&#x9700;&#x8981;&#x89E3;&#x538B;&#x5373;&#x53EF;&#xFF0C;&#x5728;&#x8FD9;&#x91CC;&#x53EA;&#x8BB2;Linux&#x4E2D;&#x7684;&#x5B89;&#x88C5;&#x65B9;&#x6CD5; <a href="https://iteachyou.cc/article/1664185302896316416" target="_blank">Linux&#x5B89;&#x88C5;&#x53CA;&#x914D;&#x7F6E;&#x65B9;&#x6CD5;</a></p>
  479. </section>
  480. </div>
  481. <div class="search-results">
  482. <div class="has-results">
  483. <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
  484. <ul class="search-results-list"></ul>
  485. </div>
  486. <div class="no-results">
  487. <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
  488. </div>
  489. </div>
  490. </div>
  491. </div>
  492. </div>
  493. </div>
  494. <a href="Packaging.html" class="navigation navigation-next navigation-unique" aria-label="Next page: 应用打包">
  495. <i class="fa fa-angle-right"></i>
  496. </a>
  497. </div>
  498. <script>
  499. var gitbook = gitbook || [];
  500. gitbook.push(function() {
  501. gitbook.page.hasChanged({"page":{"title":"环境准备","level":"7.4.1","depth":2,"next":{"title":"应用打包","level":"7.4.2","depth":2,"path":"chapter08/Packaging.md","ref":"chapter08/Packaging.md","articles":[]},"previous":{"title":"第八章 部署上线","level":"7.4","depth":1,"ref":"","articles":[{"title":"环境准备","level":"7.4.1","depth":2,"path":"chapter08/Environment.md","ref":"chapter08/Environment.md","articles":[]},{"title":"应用打包","level":"7.4.2","depth":2,"path":"chapter08/Packaging.md","ref":"chapter08/Packaging.md","articles":[]},{"title":"项目上线","level":"7.4.3","depth":2,"path":"chapter08/Online.md","ref":"chapter08/Online.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["anchors","favicon-absolute","highlight"],"styles":{"website":"./styles/website.css"},"pluginsConfig":{"favicon-absolute":{"appleTouchIconMore":{},"appleTouchIconPrecomposed152":"./source/images/favicon.png","appleTouchIconPrecomposedMore":{},"favicon":"./source/images/favicon.ico"},"anchors":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"王俊南","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"梦想家内容管理系统(Dreamer CMS)","language":"zh-hans","links":{"sidebar":{"I Teach You,我教你!":"http://www.iteachyou.cc","Dreamer CMS(Gitee)":"https://gitee.com/iteachyou/dreamer_cms","Dreamer CMS(Github)":"https://github.com/iteachyou-wjn/dreamer_cms"}},"gitbook":"3.2.3","description":"Dreamer CMS,梦想家内容管理系统官方使用文档"},"file":{"path":"chapter08/Environment.md","mtime":"2023-09-28T07:00:56.535Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2024-05-14T01:34:04.807Z"},"basePath":"..","book":{"language":""}});
  502. });
  503. </script>
  504. </div>
  505. <script src="../gitbook/gitbook.js"></script>
  506. <script src="../gitbook/theme.js"></script>
  507. <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
  508. <script src="../gitbook/gitbook-plugin-search/search.js"></script>
  509. <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
  510. <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
  511. <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
  512. <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
  513. </body>
  514. </html>