hugo 能做web开发吗

After hosting with Netlify for a few years, I decided to head back to self hosting. There are a few reasons for that, but the main reasoning was that I had more control over how things worked.

在Netlify托管了几年之后,我决定回到自助托管。 这样做有几个原因,但是主要的原因是我对事情的运作方式有更多的控制权。

In this post, I'll show you my workflow for deploying my Hugo generated site (www.jaredwolff.com).

在这篇文章中,我将向您展示部署Hugo生成的网站( www.jaredwolff.com )的工作流程。

Instead of using what most people would go for, I'll be doing all of this using a FreeBSD Jails-based server. Plus I'll show you some tricks I've learned over the years on bulk image resizing and more.

我将不使用大多数人想要的东西,而是使用基于FreeBSD Jails的服务器来完成所有这些工作。 另外,我将向您展示我多年来在批量图像调整大小上学到的一些技巧。

Let's get to it.

让我们开始吧。

在哪里托管? (Where to host?)

If you want to host your own service, you'll need a server. That's where a VPS provider like Digital Ocean or Vultr comes in. I've been a fan and have used Digital Ocean for a while now.

如果要托管自己的服务,则需要一台服务器。 那就是VPS提供商(例如Digital Ocean或Vultr)加入的地方。我一直是粉丝,并且使用Digital Ocean已有一段时间了。

To set up a new server here are some steps:

要设置新服务器,请执行以下步骤:

  1. Login to Digital Ocean. If you don’t have Digital Ocean and would like to support this blog click here to create an account.

    登录到数字海洋。 如果您没有Digital Ocean并想支持此博客,请单击此处创建一个帐户。

  2. Go to Account Settings -> Security and make sure you have an SSH key setup.

    转到Account Settings -> Security ,并确保您具有SSH密钥设置。

  3. Create a new FreeBSD droplet. Make sure you use the UFS version

    创建一个新的FreeBSD Droplet。 确保使用UFS版本

  4. Make sure you select the $5 a month plan. For simple installs, this is more than enough!

    确保选择每月5美元的计划。 对于简单的安装,这已绰绰有余!

  5. Make sure your SSH key is selected

    确保选择了您的SSH密钥

  6. Finally click that green Create Droplet button!

    最后,点击绿色的创建液滴按钮!

  7. SSH in once you’re done: ssh root@<yourserverip>

    完成后即可使用SSH: ssh root@<yourserverip>

使用Bastille设置FreeBSD服务器 (Setting up your FreeBSD server with Bastille)

Up until recently, everything was running on a Docker based platform using Exoframe. It was easy and almost brainless.

直到最近,一切都使用Exoframe在基于Docker的平台上运行。 这很容易,几乎没有头脑。

The downside was that Docker takes up wayyyy too many resources. Plus managing files within a Docker container is as much or more work than hosting it natively. Oh, and have you checked how much space Docker has been using on your machine lately? On my development machine its was about 19GB of space.

hugo 能做web开发吗_如何自托管Hugo Web应用相关推荐

  1. asp.net web开发步骤_如何在Windows上做Python开发?微软出了官方教程

    机器之心报道 参与:路 在 Windows 上做 Python 开发太痛苦?微软最近发布了一系列官方教程,终于-- 教程地址:https://docs.microsoft.com/zh-cn/wind ...

  2. python web开发前景_【python web开发工程师就业前景怎么样|做python web开发工程师有前途吗】-看准网...

    python web开发工程师就业前景分析 这个数据对你 有帮助吗? 数据详情 该职位2016年3月招聘需求230个,涨幅0% 数据说明 图表中根据地区企业近一年发布的职位招聘信息统计所得,纵轴为职位 ...

  3. python web flask开发框架_零基础入门python web框架Flask开发

    Flask框架是Python开发的一个基于Werkzeug和Jinja 2的web开发微框架,它的优势就是极其简洁,但又非常灵活,而且容易学习和应用.因此Flask框架是Python新手快速开始web ...

  4. web开发方法_确保进入Web开发的最快方法

    web开发方法 做很多项目. (Do lots of projects.) I'm not kidding, it's really that simple. If you've internaliz ...

  5. web开发 学习_是否想学习Web开发但不知道从哪里开始?

    web开发 学习 by Rick West 由里克·韦斯特(Rick West) 是否想学习Web开发但不知道从哪里开始? (Want to learn web development but don ...

  6. python在web可以开发吗_怎么用python进行web开发

    展开全部 HTML(超文本标记62616964757a686964616fe4b893e5b19e31333363383334语言)是网页的核心,学好HTML是成为Web开发人员的基本条件.HTML很 ...

  7. web开发指南_成为专业Web开发人员的实用指南

    web开发指南 This article is meant to serve as a practical guide to becoming a professional web developer ...

  8. 6天移动web开发视频教程_针对Web和移动开发人员的完整视频解决方案

    6天移动web开发视频教程 This article was originally published on Cloudinary Blog. Thank you for supporting the ...

  9. [JAVA]web开发,你必须要了解的web后端发展史

    没有网页的日子是什么样的? 本篇文章是杂谈兼科普类文章,讲的比较随性,尽量避免讲到技术细节部分,以免诸位睡着*_*!! 早期的web的应用场景不像现在这样广泛,你可以在浏览器上看电影,聊天,浏览新闻, ...

最新文章

  1. hdu1010深搜+奇偶剪枝
  2. 小程序跳转样式布局错乱_小程序页面布局样式元素总结
  3. python安装django模块_在您的(Django)项目中使用setup.py
  4. python如何处理inp文件_python文件处理之fileinput
  5. Redis常用数据结构
  6. 计算机编程 设计入门,计算机编程入门图文教程_计算机程序设计教程,计算机编程入门教程-其它文档类资源...
  7. 什么是自动化测试?为什么要自动化测试?怎么做?
  8. 利用FreeMarker生成java源代码
  9. SQL Server根据地图坐标经纬度计算距离
  10. 分享使用iphone4的60条技巧
  11. 人体颈椎神经分布图高清,颈椎神经系统分布图片
  12. 二阶矩阵转置怎么求_这个二阶矩阵的二范数怎么求
  13. 明日之后十二级房子设计蓝图来啦!tcgames帮你神速解锁十二庄
  14. 趣味计算机知识问答题,趣味问答题及答案
  15. Swiper4.3.3 制作轮播图
  16. php socket_read 读取全部,PHP中socket_read的问题_php
  17. 外汇保证金交易理性的加仓方式
  18. 从零开始学PySide6/QT
  19. 清华计算机系行政面试,清华大学复试面试过程及成功经验分享
  20. python动态横道图_python的matplotlib.pyplot绘制甘特图

热门文章

  1. 一个Linux下C线程池的实现(转)
  2. 623. 在二叉树中增加一行
  3. 103. 二叉树的锯齿形层次遍历
  4. Java高级工程师必看系列,从基础到源码统统帮你搞定
  5. CSS浮动(二)---Float
  6. 安卓中经常使用控件遇到问题解决方法(持续更新和发现篇幅)(在textview上加一条线、待续)...
  7. 第五百一十八天 how can I 坚持
  8. crawler_微信采集方案
  9. 64位进程调用32位dll的解决方法
  10. docker oracle 11g