TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Self-host your blog on a Raspberry Pi

43 点作者 congoe将近 3 年前

7 条评论

brentcetinich将近 3 年前
Self hosting is cool, but if you actually want people to find your content my experience is that search engines will penalise heavily your ranking for being hosted off a residential IP that’s is not close to them and likely has a history of being unreliable. Unreliability and slowness both from the network latency and page rendering time (Wordpress doesn’t render so fast on a pi - at least when I tried it) will put you all the way to the bottom. If you don’t care about that then this is just fine, depending on what I am hosting changes where I put it, but stuff I want to be findable I host in cloud front&#x2F;s3 as static pages and costs about $1 a month.<p>These are my notes on setting that up <a href="http:&#x2F;&#x2F;blog.cetinich.net&#x2F;content&#x2F;2020&#x2F;2020-sphynx-ablog-blog&#x2F;" rel="nofollow">http:&#x2F;&#x2F;blog.cetinich.net&#x2F;content&#x2F;2020&#x2F;2020-sphynx-ablog-blog...</a>
WhyNotHugo将近 3 年前
I&#x27;ve been looking a lot into self-hosting recently. In my area, it seems that no LTE ISP will give you an suitable connection: they&#x27;re all either behind a NAT, or behind a heavy firewall.<p>Now sure, I can rent a VPS to forward traffic to my device via a VPN. But that&#x27;s not really self-hosted any more.<p>It seems a decentralised internet is becoming harder and harder with each passing day -- hosting stuff on an rpi at home is no longer possible.
评论 #31894670 未加载
ungawatkt将近 3 年前
Dropping ddclient into a docker container as part of your compose files takes very few resources, and keeps your domain name pointed to your current public IP through changes. I&#x27;ve been running that for years without any maintenance besides remembering how to use the config file when I need to add a new domain.<p>As I&#x27;m writing though, that probably wouldn&#x27;t help in most university network setups, which the article mentioned. Tunneling is probably the path of least resistance there.
ChrisRR将近 3 年前
Step 1 is the most difficult. Buy a Raspberry Pi
评论 #31896466 未加载
评论 #31895212 未加载
hddherman将近 3 年前
&gt; But if you are like me and your Raspberry Pi is sitting behind your router&#x27;s firewall, you can&#x27;t use this approach as your IP-address is changing all the time.<p>If your DNS provider has an easily usable API, you can set up something that checks your current public ipv4&#x2F;v6 address and changes the DNS record if the IP address changes. You just need to set the DNS TTL to something smaller, such as 1 hour or less, to limit the impact of a changing IP address.
评论 #31890633 未加载
bigChris将近 3 年前
Docker has just been getting too good.<p>Now I’m waiting for someone to create a docker fork where docker has access to the host system directly outside of the VM and shared volumes.
评论 #31892785 未加载
评论 #31894235 未加载
barbarbar将近 3 年前
What is the advantage of this compared to create some pages on for example neocities?
评论 #31896727 未加载