杜郎俊赏 - dujun.io

开源实例之本地SSL证书

前言 有时需要在开发环境调试 https 访问,本篇就介绍用 mkcert 轻松构建本地SSL证书。 mkcert介绍 mkcert is a simple tool for making locally-trusted development certificates. It requires no configuration. mkcert 是 GO 语言编写的生成本地自签证书的程序,跨平台,支持多域名。详见仓库: github:https://github.com/FiloSottile/mkcert gitee:https://gitee.com/mirrors/mkcert mkcert安装 下面以 Debian 系统为例,其他系统请见仓库介绍。 安装程序 建议直接使用官方二进制包: curl -JLO "https://dl.filippo.io/mkcert/latest?f...

2023-03-06

开源实例之PMWH

pmwh-example封面
前言 PMWH (PHPMyWebHosting) is based on normal PHP and HTML Code. Some menus inside are using PHPLayersmenu. In the back works a MySQL database which holds all information. Also a bit of Javascript is used but it is not a must to have Javascript enabled. 顾名思义,PMWH(PHPMyWebHosting)是 PHP 语言开发的 WEB 面板,从界面可以看出年代感。 实例地址 https://pmwh.dujun.eu.org 实例配置 配置 描述 系统 Debian 服务端 PHP 5.6 数据库 MariaDB 10.5 服务器 Nginx...

2023-03-06

开源实例之TreePanel

treepanel-example封面
前言 基于GoLang开发的TreePanel运维面板,更轻更快,更加安全稳定,内存占用少、无依赖直接运行。响应式Web面板支持桌面端、移动端、Pad端等主流浏览器访问随时随地都可以查看服务端运行状态,丰富的软件插件,满足您多样化的需求,让您的服务器不再仅仅是Web服务器。 TreePanel 是一款个人开发的服务器运维面板,作者是林淦鑫渝。目前仍是测试版本,不建议在生产环境使用。不过网站很漂亮,可以参考。 实例地址 https://treepanel.dujun.eu.org 实例配置 配置 描述 系统 CentOS 7.9 服务器 Nginx 程序 TreePanel 1.0.0 实例部署 TreePanel 支持 Linux、macOS 和 windows,提供了一键安装脚本。详见官网https://stalin.treepay.cn。 以 CentOS 7 为例: yum inst...

2023-03-05

开源实例之InPanel

inpanel-example封面
前言 An Open source Web-based Linux VPS Management Tools InPanel 是一款小巧、节省资源的开源 Linux 管理面板,支持 CentOS/Redhat 5.4+、6.x、7.x、8.x。 实例地址 https://inpanel.dujun.eu.org 实例配置 配置 描述 系统 CentOS 7.9 程序 InPanel 1.1.1 实例部署 InPanel 提供了一键安装脚本。详见官网https://inpanel.org。 下载脚本 #从 GitHub 下载安装脚本 wget https://raw.githubusercontent.com/inpanel/inpanel/main/install.py #从码云下载安装脚本 wget https://gitee.com/inpanel/inpanel/raw/main/i...

2023-03-04

开源实例之ZPanel

zpanel-example封面
前言 ZPanel is an open-source web hosting control panel written in PHP and is compatible with Microsoft Windows and POSIX (Linux, UNIX, MacOSX and the BSD's). ZPanel 是 PHP 语言开发的,基于 LNMP 环境的企业级 WEB 托管控制面板,支持Linux、UNIX、MacOS 和Windows。 实例地址 https://zpanel.dujun.eu.org 实例配置 配置 描述 系统 Ubuntu 12.04 程序 ZPanel 10.1.3 实例部署 ZPanel 已停止维护,不建议用于生产环境。对源码感兴趣的可以前往仓库https://github.com/zpanel/zpanelx。 本实例基于第三方 Docker...

2023-03-03

开源实例之解决域名被墙

前言 本篇介绍开源实例系列域名被墙的解决方案。 问题描述 移动网络屏蔽了 eu.org 域名。表现为使用电信网络的电脑端访问开源实例正常,而使用移动网络的手机端无法访问。 解决方案 启用 dujun.tk 域名替换 dujun.eu.org 域名。tk 域名不稳定,在字面上仍用 eu.org 作为入口跳转。 具体部署 申请 dujun.tk 域名 tk 域名可在https://www.freenom.com申请,为期一年,到期可续。 注意:tk 域名没有所有权,随时可能被收回,不建议在正式业务中使用。 生成通配符 SSL 证书 域名解析在 DNSPod,使用 acme.sh 生成通配符 SSL 证书: acme.sh --issue --dns dns_dp -d dujun.tk -d *.dujun.tk 详见《开源实例之免费通配符SSL证书》。 解析 dujun.tk 子域名 ser...

2023-03-02

开源实例之Froxlor

froxlor-example封面
前言 Froxlor is the lightweight server management software for your needs. Froxlor 是一款基于 LNMP 环境开发的 WEB 控制面板,非常轻量,使用简单。 实例地址 https://froxlor.dujun.eu.org 实例配置 配置 描述 系统 Debian 服务端 PHP 7.4 数据库 MariaDB 10.5 服务器 Nginx 程序 Froxlor 2.0.12 实例部署 权限要求 具有系统读写权限 已安装 PHP(推荐 PHP 7.4) 已安装数据库,如 MySQL 已安装 Nginx 域名解析 以 Nginx 为例,配置 url 重写: if (!-e $request_filename) { rewrite ^/(.*) /index.php/$1 last; } 安装程序 官网地址:h...

2023-02-27

开源实例之localtunnel

前言 本篇介绍使用 localtunnel 实现内网穿透。了解什么是内网穿透可以参考《开源实例之frp》一文中的介绍。 localtunnel 介绍 localtunnel exposes your localhost to the world for easy testing and sharing! No need to mess with DNS or deploy just to have others test out your changes. Great for working with browser testing tools like browserling or external api callback services like twilio which require a public url for callbacks. localtunnel 是 Node...

2023-02-27

开源实例之Expose

expose-example封面
前言 本篇介绍使用 Expose 实现内网穿透。了解什么是内网穿透可以参考《开源实例之frp》一文中的介绍。 Expose 介绍 Expose is a tunnel application that allows you to share your local sites and applications with others on the internet. It is open source, written in PHP and the best alternative to ngrok for PHP developers. Expose 用 PHP 语言编写,功能与 ngrok 类似。 仓库地址:https://github.com/beyondcode/expose 官网地址:https://expose.dev Expose 部署 环境安装 需要先安装 PHP 8.1+...

2023-02-27

开源实例之rathole

rathole-example封面
前言 本篇介绍使用 rathole 实现内网穿透。了解什么是内网穿透可以参考《开源实例之frp》一文中的介绍。 rathole 介绍 A lightweight and high-performance reverse proxy for NAT traversal, written in Rust. An alternative to frp and ngrok, can help to expose the service on the device behind the NAT to the Internet, via a server with a public IP. rathole 支持配置文件热重载(hot reload),动态修改端口转发服务。作者宣称,rathole 在高并发情况下比 frp 表现更好,能提供更大的带宽,内存占用更少。 仓库地址:https://githu...

2023-02-27

分页: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72