Morning Star's blog

  • Home

  • Tags

  • Categories

  • Search

  • Archives

  • About

为Putty设置默认字体大小

Posted on 2022-12-05 | In tools
Symbols count in article: 407 | Reading time ≈ 1 mins.

WinScp与Putty的组合是在Windows平台上非常好用的远程SSH工具, Winscp可以方便的阻止对远程主机配置信息的管理及文件传输,Putty 负责远程登录及主机上的操作。但Putty默认的字体大小为 “10-point”,在现在高分辨屏幕下看起来太小了,非常打开以后都要再次设置大小,感觉非常繁琐,麻烦。最近找到了设置Putty默认字体大小的方法,记录一下,免得以后忘掉:

  1. 直接运行 Putty 应用,看到的就是”Putty Configuration”窗口,选择 “Appearance”

  2. 再选择 “Font Settings” 中的 “Change…”按钮,选择适合的字体及字体大小并确认(如下图)

Putty Change default Font size

  1. 这一步最关键,选择 “Session”, 然后选择 “Default Settings”, 按下 “Save”按钮,将刚才的选择保存为默认设置(如下图)

Putty Save Default Configuration

完成上述步骤后,再从 Winscp中打开新的Putty时,使用的就是默认设置的字体了。

解决在minikube中发布Service, 本地访问失败的问题

Posted on 2022-09-15 | In microservice , Kubernetes
Symbols count in article: 567 | Reading time ≈ 1 mins.

有学员在使用 minikube 发布应用时遇到正常发布了Deployment和Service后,Service不能正常访问的问题。通过 kubeclt describe, kubectl logs 等命令检查,发现 pod 已经正常运行,但就是不能通过 localhost 进行访问。本文记录遇到问题的过程及解决方法。

Read more »

处理 "Unable to connect to the server dial tcp 127.0.0.1:52186 connectex No connection could be made because the target machine actively refused it." 的错误

Posted on 2022-09-14 | In microservice , Kubernetes
Symbols count in article: 2.7k | Reading time ≈ 4 mins.

在笔记本电脑的 Windows 10 中”启用”了Docker Desktop 自带的 Kubernetes 成功后,却发现执行任何 kubectl 命令都会得到如下的错误: “Unable to connect to the server: dial tcp 127.0.0.1:52186: connectex: No connection could be made because the target machine actively refused it.”。

Read more »

在 Win10 上启用 Docker Desktop 中的的 Kubernetes 集群

Posted on 2022-09-03 | In microservice , Kubernetes
Symbols count in article: 3k | Reading time ≈ 5 mins.

Docker Desktop 现在直接支持部署一个单机版的 Kubernetes,非常利于学习和开发等需要单机,低电脑配置的场景。 本文介绍了如何在一台PC(笔记本)上的 Win10 环境中安装 Docker Destkop 并启用 Kubernetes。

Read more »

在 Minikube 中安装 Istio

Posted on 2022-07-28 | In microservice , Kubernetes
Symbols count in article: 2.7k | Reading time ≈ 4 mins.

Istio无疑是现在最流行的服务网格开源实现。它以透明层的方式构建在现有分布式应用中,同时也提供了各种API,可以与任何日志平台、监控系统或策略系统集成。Istio的多样化特性可以让你高效地运行分布式微服务架构,并提供一种统一的方式来保护、连接和监控微服务。本文介绍如何在 Minikube中安装 Istio,以方便开发者学习、使用 Istio 相关的知识。

Read more »

在 Apple M1 电脑中安装 minikube

Posted on 2022-07-27 | In microservice , Kubernetes
Symbols count in article: 1.9k | Reading time ≈ 3 mins.

我们通常在本地开发环境安装 Minikube, 用来学习、体验 K8s 的基本功能,也用来模拟测试应用部署在 k8s 的情况。本文介绍如何在 Apple M1 电脑中安装 Minikube。

Read more »

Scheduled Tasks in a Spring Boot Application

Posted on 2022-01-28 | In java , SpringBoot
Symbols count in article: 2k | Reading time ≈ 3 mins.

In this article, we demostrate how to define the scheduled tasks in a Spring Boot Application.

Read more »

How to use the Hot Load in development of Spring Boot Application

Posted on 2022-01-27 | In java , SpringBoot
Symbols count in article: 1.1k | Reading time ≈ 2 mins.

In the development of Spring Boot applications, if you do not want to restart the application repeatedly, you can use Spring Boot’s DevTools tool to implement the Hot Load function. This article show you how to use the Hot Load in IntelliJ IDEA.

Read more »

How to build Spring Boot WEB application with Freemarker (Update to Spring Boot 2.6 and Java 17)

Posted on 2022-01-26 | In java , SpringBoot
Symbols count in article: 2.6k | Reading time ≈ 4 mins.

This article demonstrate: How to build a Spring Boot WEB applicaiton with Freemarker.

Read more »

How to enable lombok annotations in IDEA IDE

Posted on 2022-01-25 | In java
Symbols count in article: 754 | Reading time ≈ 1 mins.

Lombok is a useful tool library for Java third-party libraries. Ideal for simplifying the writing of entity classes. A lot of get, set code, and constructors are omitted. However, in the IDEA Community version, Lombok recognition is not turned on by default, so it will always prompt an error when writing code in the IDE.

Read more »
123…59
Morning Star

Morning Star

586 posts
42 categories
43 tags
RSS

© 2022 Morning Star | 1.2m | 31:58
Powered by Hexo v3.9.0
|
Theme – NexT.Gemini v7.1.1
|