杜郎俊赏 - dujun.io

开源实例之SMF

smf-example封面
前言 Simple Machines Forum — SMF in short — is open-source free community forum software delivering professional grade features in a package that allows you to set up your own online community within minutes. SMF 采用 PHP 语言和 MySQL 数据库开发。它提供一个论坛系统所需要的所有功能,而且只会占用服务器极少的资源。 实例地址 http://smf.dujun.eu.org...

2023-03-17

开源实例之MyBB

mybb-example封面
前言 MyBB is the free and open source forum software powering thousands of engaging, vibrant, and unique communities across the internet. MyBB 是基于 PHP 语言开发的开源论坛系统。 实例地址 http://mybb.dujun.eu.org 实例配置 配置 描述 系统 Debian 服务端 PHP 7.4 数据库 MariaDB 10.5 服务器 Nginx 程序 MyBB 1.8.33 实例部署 权限要求 具有系统读写权限 已安装 PHP 已安装数据库...

2023-03-17

开源实例之myUPB

myupb-example封面
前言 Ultimate PHP Board is completely text based making it easy for anybody who has access to PHP can run a messageboard of their own without the need for MySQL. myUPB(my Ultimate PHP Board)是一个基于文本文件的论坛程序,无需数据库支持。 实例地址 http://myupb.dujun.eu.org 实例配置 配置 描述 系统 Debian 服务端 PHP 5.6 服务器 Nginx 程序 myUPB v2.2...

2023-03-16

开源实例之HYBBS

hybbs-example封面
前言 HYBBS 是基于 HYPHP 框架开发的论坛程序,支持插件、模板扩展。 实例地址 http://hybbs.dujun.eu.org 实例配置 配置 描述 系统 Debian 服务端 PHP 5.6 数据库 MariaDB 10.5 服务器 Nginx 程序 HYBBS 2.3.4 实例部署 权限要求 具有系统读写权限 已安装 PHP 已安装数据库,如 MySQL 已安装 Nginx 域名解析 以 Nginx 为例,配置 url 重写: if (!-e $request_filename) { rewrite ^/(.*) /index.php/$1 last; } 建数据库...

2023-03-16

开源实例之类top工具

toplike-tools-example封面
前言 本系列实例by时需要大量服务器操作,原生的 top 命令信息不够翔实,因此找了与 top 类似的工具来代替。 类top工具 以下工具皆运行在 Debian 系统,排名不分先后。 htop sudo apt install htop -y atop sudo apt install atop -y bpytop sudo apt install bpytop -y gtop # sudo apt install npm -y # sudo npm install gtop -g vtop # sudo apt install npm -y # sudo npm install vtop...

2023-03-15

开源实例之自动交互工具expect

前言 本篇介绍用 expect 实现自动交互。 问题描述 本系列的容器镜像都是用 Dockerfile 自动构建,一般情况是修改安装脚本写入默认值,但也有的安装程序是二进制包,需要交互输入。为了实现自动构建(无人值守模式),就需要有自动交互的工具辅助。 解决办法 下面以安装主机面板 appnode 为例,使用 expect 来解决自动交互的问题。 expect介绍 expect是建立在tcl语言基础上的一个工具,常被用于进行自动化控制和测试,解决shell脚本中交互相关的问题。 expect安装 #CentOS yum install expect #Debian/Ubuntu apt...

2023-03-15

开源实例之页面劫持

前言 本篇介绍用 Nginx sub_filter 实现拦截页面替换内容。 问题描述 本系列的实例为了使用方便,登录页默认填充了用户名和密码。一般是通过修改相关 HTML 或 JS 文件实现,但也有的实例做成了二进制包,要用页面劫持的方式注入,比如护卫神主机大师这个实例。 护卫神·主机大师 V3.0.0 实例的登录页面使用了 VUE 框架,需要劫持/static/js/chunk-common.062e7d64.js这个文件,填充username和password: data() { return {form: {username: "", password: ""}} } 解决办法...

2023-03-14

开源实例之护卫神主机大师

hwsmaster-example封面
前言 永久免费的主机管理系统,一键安装全能网站环境 护卫神成立于2004年,是老牌服务器软件供应商,在 Windows 端比较知名。 实例地址 http://hwsmaster.dujun.eu.org 实例配置 配置 描述 系统 Ubuntu 18.04 服务器 Nginx 程序 护卫神·主机大师 V3.0.0 实例部署 护卫神主机大师支持 Windows 和 Linux 系统,官方提供了一键安装脚本,详见官网https://www.hws.com。 以 Linux 为例,安装完成后默认监听在 6588 端口。 CentOS 安装 yum -y install wget && wget -O...

2023-03-09

开源实例之Cipi

cipi-example封面
前言 Cipi is a Laravel based cloud server control panel that supports Digital Ocean, AWS, Linode, Azure, Vultr, Google Cloud and other VPS. It comes with nginx, MySQL, multi PHP-FPM versions, multi-users, Supervisor, Composer, npm, free Let's Encrypt certificates, Git deployment, fail2ban, Redis, API...

2023-03-08

开源实例之本地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...

2023-03-06

分页: 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