Deploy Moonglade Blog System Manually on Linux Server

Beginning Hello there! Recently, I’ve been thinking about moving my blog system from WordPress/GitHub Pages to a more reliable environment. My friend Edi Wang mentioned that his Moonglade Blog System can be deployed without Azure, and I’ve been interested in his blog system for a long time. So, I decided to start my 996 deployment. Environment Setup: A server (Windows/Linux; I chose a Vultr VPS with Ubuntu 24.04 LTS x64 for this guide) A domain with properly configured DNS pointing to your server An already set-up database(Means ctreat database,tables can be automatically creat by Moonglade) Some Tips: Sever chosening :You can opt for an Oracle ‘Always Free’ cloud instance for the Linux server, but the firewall settings can be quite complex.If u r looking for a cheap but reliable vps,try vultr with my aff.I recommend a 1 CPU, 1 GB RAM server for $5/month, which I’ve tested and found adequate for this system. Database & Domain : Moonglade supports multiple database systems (Microsoft SQL Server, MySQL, PostgreSQL. Please Check this link FYI). Database setup is not covered in this guide. The same applies to domain registration and DNS configuration. Why not Dockers :as my saids in title,an reliable environment. Building Soucre Code : Using the Release Version is highly recommended; avoid using the master branch. Setp to setp deployment Get code and Build project download the latest “Source code(zip)” in https://github.com/EdiWang/Moonglade/releases in a Linux/Windows environment.I strongly recommend that you start compiling from the source code. Because every time I use the version compiled by github, strange problems will occur. ...

2024-09-01 · 6 min · 1189 words

使用.Net搭配EF Core记录你城市的天气

项目简述 这个项目是我在学习.Net Core编程的时候用到的简单例子,整体就是通过Get请求获取某地区的天气信息,经过json反向序列化后写入到数据库中存储起来。通过.net6的EntityFramework我们可以很优雅地为这个小项目进行CodeFirst的设计(沿用杨中科老师的一个观点:“关系型数据库对程序员来讲只是一个存放数据模型的媒介,理想状态下程序员不用关心数据库的操作。”)这个项目将会用EntityFramework进行数据库的CURD操作,任务目标: ...

2023-12-08 · 7 min · 3053 words

从牛顿第二定律到火箭运动方程

从牛顿第二定律出发,由加速度、动量的定义可以得出动量定理: F=m\frac{dv}{dt}\Rightarrow\Delta p=F\Delta t 假设变质量时仍然满足动量定理,讨论合外力为0的简单条件下得出动量守恒定律: \Delta p=0 对火箭,设箭体的对地速度为v,喷射气体对地速度为u,建立变质量动量守恒有: ...

2021-04-03 · 1 min · 254 words

Quantum Wave Function Visualization

2020-06-04 · 0 min · 0 words

Polarization of Light

Thanks Youtube Channel Physics Videos by Eugene Khutoryansky.

2020-05-22 · 1 min · 8 words

求一均匀带电棒在真空中无限长带电导线的受力

题目:真空中有一无限长带电导线,其电荷线密度为。相距导线长度a处有一长为L的均匀带电棒AB,电荷量为Q,求AB棒的受力。 思路:微元法,先求场强分布,再求棒上的力元,再积分。 ...

2020-03-26 · 1 min · 327 words