index_cn.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  1. <!doctype html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <meta name="description" content="OneinStack是一键PHP/JAVA安装脚本工具,包含lnmp,lamp,lnmpa,ltmp,lnmh,MySQL,PostgreSQL,MongoDB等,官网oneinstack.com">
  7. <meta name="author" content="yeho">
  8. <title>欢迎您使用OneinStack</title>
  9. <link href="https://static.oneinstack.com/assets/ois.css" rel="stylesheet">
  10. </head>
  11. <body>
  12. <nav class="navbar navbar-dark fixed-top bg-dark flex-md-nowrap p-0 shadow">
  13. <a class="navbar-brand col-sm-3 col-md-2 mr-0" href="">OneinStack</a>
  14. <form class="w-100" action="https://oneinstack.com/qa/" method="GET" target="_blank">
  15. <input class="form-control form-control-dark w-100" type="text" placeholder="搜索OneinStack官网问答" aria-label="搜索OneinStack官网问答" name="qs">
  16. </form>
  17. <ul class="navbar-nav px-3">
  18. <li class="nav-item text-nowrap">
  19. <a class="nav-link" href="https://oneinstack.com" target="_blank">OneinStack官网</a>
  20. </li>
  21. </ul>
  22. </nav>
  23. <div class="container-fluid">
  24. <div class="row">
  25. <nav class="col-md-2 d-none d-md-block bg-light sidebar">
  26. <div class="sidebar-sticky">
  27. <ul class="nav flex-column">
  28. <li class="nav-item">
  29. <a class="nav-link active" href="###home" id="home_link">
  30. <span data-feather="home"></span>
  31. 控制中心 <span class="sr-only">(current)</span>
  32. </a>
  33. </li>
  34. <!--<li class="nav-item">
  35. <a class="nav-link" href="###step" id="step_link">
  36. <span data-feather="file"></span>
  37. </a>
  38. </li>-->
  39. <li class="nav-item">
  40. <a class="nav-link" href="###vhost" id="vhost_link">
  41. <span data-feather="layers"></span>
  42. 虚拟主机管理
  43. </a>
  44. </li>
  45. <li class="nav-item">
  46. <a class="nav-link" href="###db" id="db_link">
  47. <span data-feather="shopping-cart"></span>
  48. 数据库管理
  49. </a>
  50. </li>
  51. <li class="nav-item">
  52. <a class="nav-link" href="###ftp" id="ftp_link">
  53. <span data-feather="users"></span>
  54. FTP管理
  55. </a>
  56. </li>
  57. <li class="nav-item">
  58. <a class="nav-link" href="###tools" id="tools_link">
  59. <span data-feather="briefcase"></span>
  60. 运维工具
  61. </a>
  62. </li>
  63. <li class="nav-item">
  64. <a class="nav-link" href="###manage" id="manage_link">
  65. <span data-feather="bar-chart-2"></span>
  66. 管理服务
  67. </a>
  68. </li>
  69. <li class="nav-item">
  70. <a class="nav-link" href="###backup" id="backup_link">
  71. <span data-feather="disc"></span>
  72. 备份
  73. </a>
  74. </li>
  75. <li class="nav-item">
  76. <a class="nav-link" href="###upgrade" id="upgrade_link">
  77. <span data-feather="trending-up"></span>
  78. 升级 & 卸载
  79. </a>
  80. </li>
  81. <li class="nav-item">
  82. <a class="nav-link" href="###port" id="port_link">
  83. <span data-feather="cloud"></span>
  84. 端口开放教程
  85. </a>
  86. </li>
  87. <li class="nav-item">
  88. <a class="nav-link" href="###donation" id="donation_link">
  89. <span data-feather="heart"></span>
  90. 捐赠
  91. </a>
  92. </li>
  93. </ul>
  94. <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
  95. <span>OneinStack官网</span>
  96. <a class="d-flex align-items-center text-muted" href="https://oneinstack.com/" target="_blank">
  97. <span data-feather="chevron-down"></span>
  98. </a>
  99. </h6>
  100. <ul class="nav flex-column mb-2">
  101. <li class="nav-item">
  102. <a class="nav-link" href="https://oneinstack.com/" target="_blank">
  103. <span data-feather="home"></span>
  104. OneinStack首页
  105. </a>
  106. </li>
  107. <li class="nav-item">
  108. <a class="nav-link" href="https://oneinstack.com/install/" target="_blank">
  109. <span data-feather="help-circle"></span>
  110. 安装、使用方法
  111. </a>
  112. </li>
  113. <li class="nav-item">
  114. <a class="nav-link" href="https://oneinstack.com/faq/" target="_blank">
  115. <span data-feather="link"></span>
  116. FAQ
  117. </a>
  118. </li>
  119. <li class="nav-item">
  120. <a class="nav-link" href="https://oneinstack.com/changelog/" target="_blank">
  121. <span data-feather="link"></span>
  122. 更新日志
  123. </a>
  124. </li>
  125. </ul>
  126. </div>
  127. </nav>
  128. <main role="main" class="col-md-9 ml-sm-auto col-lg-10 px-4">
  129. <div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
  130. <h1 class="h2" id="home">控制中心</h1>
  131. <div class="btn-toolbar mb-2 mb-md-0">
  132. <div class="btn-group mr-2">
  133. <a class="btn btn-sm btn-outline-primary btn_prober" href="xprober.php" target="_blank"><span data-feather="compass"></span> 探针</a>
  134. <a class="btn btn-sm btn-outline-info btn_phpinfo" href="phpinfo.php" target="_blank"><span data-feather="info"></span> phpinfo</a>
  135. <a class="btn btn-sm btn-outline-secondary btn_op" href="ocp.php" target="_blank"><span data-feather="cpu"></span> Opcache</a>
  136. </div>
  137. <a class="btn btn-sm btn-outline-warning mr-2 btn_pma" href="phpMyAdmin/" target="_blank">
  138. <span data-feather="database"></span> phpMyAdmin
  139. </a>
  140. </div>
  141. </div>
  142. <section class="section" id="home_section">
  143. <h2>Congratulations, OneinStack installed successfully!</h2>
  144. <h3><a href="https://oneinstack.com" target="_blank" class="links">OneinStack </a><a href="https://linuxeye.com/" target="_blank">Linux</a>+Nginx/Tengine+MySQL/MariaDB/Percona</br>+PHP+Pureftpd+phpMyAdmin+redis+memcached+jemalloc.</h3>
  145. </section>
  146. <section class="section" id="tools_section">
  147. <h2 class="mt-5" id="tools">主机工具</h2>
  148. <a class="btn btn-primary btn_prober" href="xprober.php" target="_blank" role="button">探针</a>
  149. <a class="btn btn-info btn_phpinfo" href="phpinfo.php" target="_blank" role="button">phpinfo</a>
  150. <a class="btn btn-success btn_pma" href="phpMyAdmin/" target="_blank" role="button">phpMyAdmin</a>
  151. <a class="btn btn-secondary btn_op" href="ocp.php" target="_blank" role="button">Opcache</a>
  152. </section>
  153. <section class="section" id="step_section">
  154. <h2 class="mt-5" id="step">基本使用步骤</h2>
  155. <div class="card-deck mb-3 text-center">
  156. <div class="card mb-4 box-shadow">
  157. <div class="card-header">
  158. <h4 class="my-0 font-weight-normal">域名解析</h4>
  159. </div>
  160. <div class="card-body">
  161. <h1 class="card-title pricing-card-title">域名<small class="text-muted">控制</small></h1>
  162. <ul class="list-unstyled mt-3 mb-4">
  163. <li>阿里云(万网)</li>
  164. <li>DNSPOD</li>
  165. <li>Cloudflare</li>
  166. </ul>
  167. <a href="https://help.aliyun.com/document_detail/29716.html" target="_blank" type="role" class="btn btn-lg btn-block btn-primary">详细教程</a>
  168. </div>
  169. </div>
  170. <div class="card mb-4 box-shadow">
  171. <div class="card-header">
  172. <h4 class="my-0 font-weight-normal">新建虚拟主机</h4>
  173. </div>
  174. <div class="card-body">
  175. <h1 class="card-title pricing-card-title">建立<small class="text-muted">网站</small></h1>
  176. <ul class="list-unstyled mt-3 mb-4">
  177. <li>新建虚拟主机 ./vhost.sh</li>
  178. <li>删除虚拟主机 ./vhost.sh --del</li>
  179. <li>管理FTP账号 ./pureftpd_vhost.sh</li>
  180. </ul>
  181. <a href="https://oneinstack.com/install/" target="_blank" type="role" class="btn btn-lg btn-block btn-primary">详细教程</a>
  182. </div>
  183. </div>
  184. <div class="card mb-4 box-shadow">
  185. <div class="card-header">
  186. <h4 class="my-0 font-weight-normal">部署网站</h4>
  187. </div>
  188. <div class="card-body">
  189. <h1 class="card-title pricing-card-title">上线<small class="text-muted">运行</small></h1>
  190. <ul class="list-unstyled mt-3 mb-4">
  191. <li><a href="phpMyAdmin/" target="_blank">phpMyAdmin</a></li>
  192. <li>管理FTP账号 ./pureftpd_vhost.sh</li>
  193. <li>备份 ./backup_setup.sh</li>
  194. </ul>
  195. <a href="https://oneinstack.com/install/" target="_blank" type="role" class="btn btn-lg btn-block btn-primary">详细教程</a>
  196. </div>
  197. </div>
  198. </div>
  199. </section>
  200. <section class="section" id="vhost_section">
  201. <h2 class="mt-5" id="vhost">如何添加虚拟主机?</h2>
  202. <div class="alert alert-primary" role="alert">
  203. <code>./vhost.sh</code>
  204. </div>
  205. <img class="img-fluid" src="https://static.oneinstack.com/images/vhost.png" alt="《交互安装》">
  206. <h2 class="mt-5">如何删除虚拟主机?</h2>
  207. <div class="alert alert-primary" role="alert">
  208. <code>./vhost.sh --del</code>
  209. </div>
  210. <img class="img-fluid" src="https://static.oneinstack.com/images/vhost_del.png" alt="《交互安装》">
  211. </section>
  212. <section class="section" id="ftp_section">
  213. <h2 class="mt-5">FTP客户端推荐</h2>
  214. <h3>FileZilla: <a href="https://filezilla-project.org/download.php" target="_blank" class="links">下载地址</a></h3>
  215. <h2 class="mt-5" id="ftp">如何管理FTP账号?</h2>
  216. <div class="alert alert-primary" role="alert"><code>./pureftpd_vhost.sh</code></pre></div>
  217. <img class="img-fluid" src="https://static.oneinstack.com/images/pureftpd.png" alt="《交互安装》">
  218. </section>
  219. <section class="section" id="db_section">
  220. <h2 class="mt-5" id="db">数据库</h2>
  221. <div class="list-group">
  222. <a href="phpMyAdmin" target="_blank" class="list-group-item list-group-item-action active">
  223. phpMyAdmin
  224. </a>
  225. <a href="https://oneinstack.com/question/17347/" target="_blank" class="list-group-item list-group-item-action">如何获取MySQL root密码?</a>
  226. <a href="https://oneinstack.com/question/oneinstack-how-to-configure-mysql-remote-connection/" target="_blank" class="list-group-item list-group-item-action">如何配置MySQL远程连接?</a>
  227. </div>
  228. </section>
  229. <section class="section" id="backup_section">
  230. <h2 class="mt-5" id="backup">如何备份?</h2>
  231. <div class="alert alert-primary" role="alert"><code>./backup_setup.sh # Set backup options</code></div>
  232. <img class="img-fluid" src="https://static.oneinstack.com/images/backup_setup.png" alt="《交互安装》">
  233. <div class="alert alert-primary" role="alert"><pre><code>./backup.sh # Start backup, You can add cron jobs
  234. # crontab -l # Examples
  235. 0 1 * * * ~/oneinstack/backup.sh &gt; /dev/null 2&gt;&amp;1 &amp;</code></pre></div>
  236. </section>
  237. <section class="section" id="manage_section">
  238. <h2 class="mt-5" id="manage">如何管理服务?</h2>
  239. <p class="mt-4">Nginx/Tengine/OpenResty:</p>
  240. <div class="alert alert-primary" role="alert"><code>systemctl {start|stop|status|restart|reload} nginx</code></div>
  241. <p class="mt-4">MySQL/MariaDB/Percona:</p>
  242. <div class="alert alert-primary" role="alert"><code>systemctl {start|stop|restart|reload|status} mysqld</code></div>
  243. <p class="mt-4">PostgreSQL:</p>
  244. <div class="alert alert-primary" role="alert"><code>systemctl {start|stop|restart|status} postgresql</code></div>
  245. <p class="mt-4">MongoDB:</p>
  246. <div class="alert alert-primary" role="alert"><code>systemctl {start|stop|status|restart|reload} mongod</code></div>
  247. <p class="mt-4">PHP:</p>
  248. <div class="alert alert-primary" role="alert"><code>systemctl {start|stop|restart|reload|status} php-fpm</code></div>
  249. <p class="mt-4">Apache:</p>
  250. <div class="alert alert-primary" role="alert"><code>systemctl {start|restart|stop} httpd</code></div>
  251. <p class="mt-4">Tomcat:</p>
  252. <div class="alert alert-primary" role="alert"><code>systemctl {start|stop|status|restart} tomcat</code></div>
  253. <p class="mt-4">Pure-Ftpd:</p>
  254. <div class="alert alert-primary" role="alert"><code>systemctl {start|stop|restart|status} pureftpd</code></div>
  255. <p class="mt-4">Redis:</p>
  256. <div class="alert alert-primary" role="alert"><code>systemctl {start|stop|status|restart|reload} redis-server</code></div>
  257. <p class="mt-4">Memcached:</p>
  258. <div class="alert alert-primary" role="alert"><code>systemctl {start|stop|status|restart|reload} memcached</code></div>
  259. </section>
  260. <section class="section" id="upgrade_section">
  261. <h2 class="mt-5" id="upgrade">如何更新版本?</h2>
  262. <div class="alert alert-primary" role="alert"><code>./upgrade.sh</code></div>
  263. <img class="img-fluid" src="https://static.oneinstack.com/images/upgrade.png" alt="">
  264. <h2 class="mt-5">如何卸载?</h2>
  265. <div class="alert alert-primary" role="alert"><code>./uninstall.sh</code></div>
  266. <img class="img-fluid" src="https://static.oneinstack.com/images/uninstall.png" alt="">
  267. </section>
  268. <section class="section" id="port_section">
  269. <!--<h2 class="mt-5" id="port">云主机安全组端口开放教程<span class="badge badge-secondary">Version 1.0.0</span></h2>-->
  270. <div class="card text-white bg-danger" style="width: 18rem;">
  271. <div class="card-header">
  272. 云主机安全组必须打开如下端口:
  273. </div>
  274. <ul class="list-group list-group-flush">
  275. <li class="list-group-item text-danger">ssh: 22</li>
  276. <li class="list-group-item text-danger">http: 80</li>
  277. <li class="list-group-item text-danger">https: 443</li>
  278. <li class="list-group-item text-danger">ftp: 21, 20000~30000</li>
  279. </ul>
  280. </div>
  281. <div class="list-group mt-5" style="width: 18rem;">
  282. <a class="list-group-item list-group-item-action active">
  283. 云主机安全组端口开放教程
  284. </a>
  285. <a href="https://oneinstack.com/docs/securitygroup/#11" target="_blank" class="list-group-item list-group-item-action">阿里云安全组端口</a>
  286. <a href="https://oneinstack.com/docs/securitygroup/#12" target="_blank" class="list-group-item list-group-item-action">腾讯云安全组端口</a>
  287. <a href="https://oneinstack.com/docs/securitygroup/#13" target="_blank" class="list-group-item list-group-item-action">华为云安全组端口</a>
  288. </div>
  289. </section>
  290. <div align="center" class="mt-5"><iframe src="https://static.oneinstack.com/ad_buttom.html" width="475" frameborder="0" scrolling="no"></iframe></div>
  291. <div>
  292. <p>
  293. <a href="https://oneinstack.com" target="_blank">OneinStack</a> by <a href="https://linuxeye.com/" target="_blank">LinuxEye</a>
  294. &nbsp; &nbsp; &nbsp; &nbsp; QQ群:&nbsp;&nbsp; 262601796(新) 558540514(付费千人群)</a>
  295. </p>
  296. <p align="right"><a href="#">回顶部</a></p>
  297. </div>
  298. </main>
  299. </div>
  300. </div>
  301. <script src="https://static.oneinstack.com/assets/ois20190114.js"></script>
  302. </body>
  303. </html>