<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Linux on Martin‘s Physics Club</title><link>https://martinphysics.club/tags/linux/</link><description>Recent content in Linux on Martin‘s Physics Club</description><generator>Hugo</generator><language>en-US</language><copyright>2020-2026 martinphysics.club</copyright><lastBuildDate>Sun, 01 Sep 2024 08:05:26 +0000</lastBuildDate><atom:link href="https://martinphysics.club/tags/linux/index.xml" rel="self" type="application/rss+xml"/><item><title>Deploy Moonglade Blog System Manually on Linux Server</title><link>https://martinphysics.club/posts/wp-100007/</link><pubDate>Sun, 01 Sep 2024 08:05:26 +0000</pubDate><guid>https://martinphysics.club/posts/wp-100007/</guid><description>&lt;h2 id="beginning"&gt;&lt;strong&gt;Beginning&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;Hello there! Recently, I&amp;rsquo;ve been thinking about moving my blog system from WordPress/GitHub Pages to a more reliable environment. My friend &lt;a href="https://edi.wang" title="Edi Wang's Blog"&gt;Edi Wang&lt;/a&gt; mentioned that his &lt;a href="https://github.com/EdiWang/Moonglade"&gt;Moonglade Blog System&lt;/a&gt; can be deployed without Azure, and I&amp;rsquo;ve been interested in his blog system for a long time. So, I decided to start my 996 deployment.&lt;/p&gt;
&lt;h3 id="environment-setup"&gt;&lt;strong&gt;Environment Setup:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;A server (Windows/Linux; I chose a Vultr VPS with Ubuntu 24.04 LTS x64 for this guide)&lt;/li&gt;
&lt;li&gt;A domain with properly configured DNS pointing to your server&lt;/li&gt;
&lt;li&gt;An already set-up database(Means ctreat database,tables can be automatically creat by Moonglade)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="some-tips"&gt;&lt;strong&gt;Some Tips:&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Sever chosening&lt;/strong&gt; :You can opt for an Oracle &amp;lsquo;Always Free&amp;rsquo; 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 &lt;a href="https://www.vultr.com/?ref=8538231" title="vultr aff"&gt;vultr with my aff&lt;/a&gt;.I recommend a 1 CPU, 1 GB RAM server for $5/month, which I&amp;rsquo;ve tested and found adequate for this system.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Database &amp;amp; Domain&lt;/strong&gt; : Moonglade supports multiple database systems (Microsoft SQL Server, MySQL, PostgreSQL. Please &lt;a href="https://github.com/EdiWang/Moonglade?tab=readme-ov-file#setup-database"&gt;Check this link FYI&lt;/a&gt;). Database setup is not covered in this guide. The same applies to domain registration and DNS configuration.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Why not Dockers&lt;/strong&gt; ：as my saids in title,&lt;strong&gt;an reliable environment&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Building Soucre Code&lt;/strong&gt; : Using the &lt;a href="https://github.com/EdiWang/Moonglade/releases"&gt;Release Version&lt;/a&gt; is highly recommended;  avoid using the master branch.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="setp-to-setp-deployment"&gt;Setp to setp deployment&lt;/h2&gt;
&lt;hr&gt;
&lt;h3 id="get-code-and-build-project"&gt;Get code and Build project&lt;/h3&gt;
&lt;p&gt;download the latest &amp;ldquo;Source code(zip)&amp;rdquo; in &lt;a href="https://github.com/EdiWang/Moonglade/releases"&gt;https://github.com/EdiWang/Moonglade/releases&lt;/a&gt; in a Linux/Windows environment.&lt;strong&gt;I&lt;/strong&gt; &lt;strong&gt;strongly recommend&lt;/strong&gt; that you start &lt;strong&gt;compiling from the source code&lt;/strong&gt;. Because every time I use the version compiled by github, strange problems will occur.&lt;/p&gt;</description></item></channel></rss>