Jitdor Tech Tips

Month: February 2020

  • 如何使用共享IP虚拟主机而不失霸气

    如何使用共享IP虚拟主机而不失霸气

    本文会探讨一下不使用端口映射的情况下如歌使用共享 IP 主机。 关于独享与共享:有些特定场景是必须独享 IP 的,比如基于 SIP 协议的 VoIP 语音系统或 H.323/T.120 的网络视频会议设备都不能在共享公网 IP 的场景下运作。但其实很多时候你并不需要独享 IP 的主机。

  • Azure 乞丐版 B1ls 的正确食用姿势 —— 压榨极致性能

    Azure 乞丐版 B1ls 的正确食用姿势 —— 压榨极致性能

    最近与几个大佬闲聊之际,发现很多人都在不约而同地吐槽 Azure 的效能。综合的来的意见不外乎是云盘 I/O 过慢(HDD/SDD 一样卡)、主机响应迟钝没反应、运行更新耗时大半天,期间 CPU 效能满载或时处于半宕机状态等等糟心体验,还贵。贵,是毋庸置疑的,毕竟产品品牌定位就是高端货,不可能做到灵车的价格。但我想说的是很多时候产品本身并无问题,只是食用姿势不对。

  • Adding Swap Space in Linux

    Adding Swap Space in Linux

    Swap in Linux is the equivalent of virtual memory in Windows – a space on a disk that is used when the system runs out of RAM. For some reason unknown, many cloud instances are deployed without any swap.

  • Apt update slow? Try this fix

    Apt update slow? Try this fix

    On a cloud instance with a slow disk, running the dreaded apt update && apt upgrade could take an eternity. But what if I tell you it may actually not be a disk IOPS issue?

  • Enable Hyper-V Integration Services for your Ubuntu guest VMs

    Enable Hyper-V Integration Services for your Ubuntu guest VMs

    For some legacy reasons, my main hypervisor has been Hyper-V running on a Windows Server. And contrary to popular belief, Linux actually supports Secure Boot and UEFI boot pretty well, and so you can create Generation 2 VM that runs Linux OS just fine. However, after installing the OS, you might have noticed that Hyper-V…

  • A good font for coding

    A good font for coding

    The folks over at JetBrains have provided a free programming font family, dubbed JetBrains Mono. It is open source and is highly optimized for coding, console sessions and configuration file editing views. Personally, I find it to be more legible than Google’s Source Code Pro or Ubuntu Mono. It is now my default monospaced font,…