1 Star 0 Fork 0

LinwinSoft / openLinwin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

目前最新版本

V2.3 Community Build 2023.1.4

LinWin Http Server

(安装后的操作)

产品网站入口: https://linwin-cloud.github.io/linwin-http-server/

文档入口: https://gitee.com//LinWin-Cloud/openLinwin/wiki/

多服务器模块命令

多服务器模块已经代替了原本的代理服务器和主服务器模块,新的多服务器模块是设计更加优秀的而且效率更高速度更快

  1. Enter: linwinmutli start Start the linwin Mutli Server
  2. Enter: linwinmutli proxy_start Start the linwin Multi Proxy Service
  3. Enter: linwinmulti help Get the help
  4. Enter: linwinmulti version view the version information

更新与模块信息

  1. 模块信息
  2. 版本更新信息

如何配置多个网站在服务器上

在 /usr/LinWinHttp/config/Multi-Server/ 目录下,你可以随意命名一个新的配
置文件,但是拓展名必须是 '.json',文件内容如下: { "Server-Port" : "8080", //Server-Port选项必须要,后面的这个8080是默认的服务端口,可以改称其他的. "Index" : "/usr/www/html" //Index选项也必须要,用于配置服务目录. "HttpVersion" : "1.1" //Http协议版本,推荐1.1或者2.0 }

如何配置多个代理网站在服务器上

代理服务器指的是在客户端与真实服务器之间一个代理的中继服务器,多用于 隐藏真实服务器IP,提高访问效率和真实服务器安全以及隐私浏览等作用,对 用户和服务器都很隐私安全

在 /usr/LinWinHttp/config/Multi-Proxy/ 目录下,你可以随意命名一个新的配
置文件,但是拓展名必须是 '.json',文件内容如下: { "Server-Port" : "8080", //Server-Port选项必须要,后面的这个8080是默认的服务 端口,可以改称其他的. "ProxyUrl" : "http://127.0.0.1:80/" //ProxyUrl选项用于设置代理网址 }

新版本 LinWin Http 优势

  1. 多服务器,多线程并行运算和服务,效率更高,效果更好,服务更加便捷 2.0版本服务效率比较1.0版本提升了70% 2.0版本服务效率比较1.3版本提升了45% 2.0版本服务效率比较1.7版本提升了50%
  2. 修复了启动错误BUG,比 1.x 稳定了很多.
  3. 加入网站攻击和测试模块: 在命令行内使用 wsattacker 命令便可以策划一次命令行下的攻击和测试.
  4. 优化了编译结构和脚本
  5. 对各个服务器的兼容非常好: 源代码一份,各个平台的Linux都支持(除了android).
  6. 更新多代理服务器模块,比旧版本的更加稳定高效,速度非常快,可同时部署多个代理网站
  7. 优化了目录结构,使得代码和工作目录更加简洁和完善

使用LinWin HttpServer必须的依赖项目

1. python3

LinWin HttpServer同样需要使用python3来管理和运行部分的服务

2. linux运行环境 & windows运行环境

LinWin Http Server的源代码可以运行在任何的平台,但是其中部分的命令行
安装脚本、启动命令行并不支持windows,而是单单为Linux设计;但是同样可以
在windows上运行该应用。

3. jdk >= 1.8

本产品默认不内置jdk或者jre,所以必须要在目标计算机安装jdk并且配置好环境才
能够使用。

LinWin Http Server的安全性

LinWin Http Server一直把服务器安全放在第一位,不仅仅采用了java这种安全的 开发语言,而且内置了很多的安全策略以及服务器的安全访问,实现了用户的简单配置 、严密防护。

XSS防护选项

LinWin Http Server支持通过配置文件启动xss防护,服务器会自动判断来自前端 发送的数据,一旦发现嵌入了非法的脚本、标签、内容便会及时停止用户的下一步访问

SQL注入防护选项

LinWin Http Server注意到了很多前端网站会被其他恶意的攻击者发送非法的sql语句 来被盗取服务器,LinWin一直非常关注这点,于是加入了sql防护,默认是打开的,一旦 发送过来的数据含有非法sqlsql语句会停止用户的下一步访问操作。

资源访问安全性

在不经意间,很多开发者可能会将一些重要的文件、文件夹、日志和配置文件等放在web服务目录 下,这可能会导致服务器不该被访问的资源被盗取,LinWin Http Server默认的策略内包含了 很多的资源禁止访问。

LinWin Http Server的灵活性

资源访问灵活

LinWin Http Server支持资源在服务器目录外的访问(每次单个资源),大大提升了开
发的快捷性质。

安装灵活

安装方便简洁,毫不拖泥带水,从安装到完成不到10秒,快速部署快速开发。

>>> 安装教程
git clone https://gitee.com/LinWin-Cloud/linwin-http-server #克隆源代码到本地
cd linwin-http-server                                       #进入源代码目录
python3 install.py                                          #启动安装脚本
(按1是安装,LinWinHttp将会安装在: /usr/LinWinHttp)
(按2是产看协议)
(按'exit'是退出安装)


》》》
推荐 >> 后端:LinWin Http Server + 数据库:Mysql + 前端:ux-js
《《《

部署灵活

LinWin Http Server默认的服务目录在 /usr/www/html ,在开发的时候可以把文件直接都放在
这个目录,非常简单高效

什么样类型的网站适合 LinWin Http Server

LinWin Http Server主要设计用于中小型网站平台,这这其中LinWin Http Server有 出色的表现。

  1. 博客类网站:LinWin Http对于综合的网页资源请求非常迅速,非常适合此类网站
  2. 产品官网类网站: 对于静态网页的托管LinWin Http得心应手
  3. 管理类网站: LinWin Http凭借着友好、灵活的特点,不仅仅可以提供静态服务,动态服务也是 一大亮点
  4. 测试网站: LinWin Http安装方便、部署快速非常适合此类
  5. Web小程序网站: 基于java的稳定和高效率,web小程序网站再也合适不过

说明

LinWin Http Server 默认并不是开机自启动的,但是有专门的脚本启动LinWinHttp,位于 /usr/LinWinHttp/sys/start_linwinhttp(安装过后的位置),可根据自己的需要添加自启动

贡献

  1. LinWin Http Server 是一个开源软件,旨在通过大家一起来修改完善这个产品的源代码, 所以免费。

开发者、团队

  1. LinWin Cloud
  2. 萤火科技团队
  3. 优信团队

源代码移植问题

除了安装程序、部分的配置文件(修改即可),其他的源代码都可以运行在windows和Mac操作
系统上面
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

openLinwin服务器 展开 收起
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/LinwinSoft/openLinwin.git
git@gitee.com:LinwinSoft/openLinwin.git
LinwinSoft
openLinwin
openLinwin
master

搜索帮助