<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>MacOS on Ke's Notes and Blogs</title><link>https://kxue43.github.io/notes-and-blogs/tags/macos/</link><description>Recent content in MacOS on Ke's Notes and Blogs</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 27 Oct 2025 13:40:57 -0400</lastBuildDate><atom:link href="https://kxue43.github.io/notes-and-blogs/tags/macos/index.xml" rel="self" type="application/rss+xml"/><item><title>MacBook with MacPorts</title><link>https://kxue43.github.io/notes-and-blogs/notes/macbook-with-macports/</link><pubDate>Mon, 27 Oct 2025 13:40:57 -0400</pubDate><guid>https://kxue43.github.io/notes-and-blogs/notes/macbook-with-macports/</guid><description>&lt;h2 id="introduction" class="heading "&gt;Introduction&lt;a href="#introduction" aria-labelledby="introduction"&gt;








&lt;!-- &lt;i class="fas fa-link anchor"&gt;&lt;/i&gt; --&gt;
 &lt;svg class="svg-inline--fa fas fa-link anchor" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 576 512"&gt;&lt;use href="#fas-link"&gt;&lt;/use&gt;&lt;/svg&gt;&amp;nbsp;
 &lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;This document covers how to set up an Intel-chip (x64) Macbook as a developer machine, using MacPorts as the package manager.&lt;/p&gt;
&lt;p&gt;This is intended for old Macbooks whose OS has dropped out of Homebrew Tier 1 support.
For example, when macOS Tahoe was released, Ventura dropped to Homebrew Tier 3 support.
A 2017 Macbook Pro cannot upgrade beyond Ventura, so it has to use MacPorts.
Since Tahoe is the last macOS that supports x64, eventually all Intel-chip Macbooks have to use MacPorts instead of Homebrew.&lt;/p&gt;</description></item><item><title>MacBook with Homebrew</title><link>https://kxue43.github.io/notes-and-blogs/notes/macbook-with-homebrew/</link><pubDate>Mon, 27 Oct 2025 13:36:55 -0400</pubDate><guid>https://kxue43.github.io/notes-and-blogs/notes/macbook-with-homebrew/</guid><description>&lt;h2 id="introduction" class="heading "&gt;Introduction&lt;a href="#introduction" aria-labelledby="introduction"&gt;








&lt;!-- &lt;i class="fas fa-link anchor"&gt;&lt;/i&gt; --&gt;
 &lt;svg class="svg-inline--fa fas fa-link anchor" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 576 512"&gt;&lt;use href="#fas-link"&gt;&lt;/use&gt;&lt;/svg&gt;&amp;nbsp;
 &lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;This document covers how to set up an ARM64 Macbook as a developer machine.
It is geared towards Go, Python, JavaScript and Java development.&lt;/p&gt;
&lt;p&gt;All commands on this page should be executed from the user&amp;rsquo;s home directory.&lt;/p&gt;
&lt;p&gt;For using MacPorts instead of Homebrew as the package manager, refer to 
 









 



 
 

 
 &lt;a href="https://kxue43.github.io/notes-and-blogs/notes/macbook-with-macports/"&gt;MacBook with MacPorts&lt;/a&gt;.&lt;/p&gt;





&lt;h2 id="install-xcode-command-line-tools" class="heading "&gt;Install Xcode Command Line Tools&lt;a href="#install-xcode-command-line-tools" aria-labelledby="install-xcode-command-line-tools"&gt;








&lt;!-- &lt;i class="fas fa-link anchor"&gt;&lt;/i&gt; --&gt;
 &lt;svg class="svg-inline--fa fas fa-link anchor" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 576 512"&gt;&lt;use href="#fas-link"&gt;&lt;/use&gt;&lt;/svg&gt;&amp;nbsp;
 &lt;/a&gt;
&lt;/h2&gt;
&lt;div class="codeblock syntax-highlight mb-3"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;xcode-select --install&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;




&lt;h2 id="install-homebrew" class="heading "&gt;Install Homebrew&lt;a href="#install-homebrew" aria-labelledby="install-homebrew"&gt;








&lt;!-- &lt;i class="fas fa-link anchor"&gt;&lt;/i&gt; --&gt;
 &lt;svg class="svg-inline--fa fas fa-link anchor" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 576 512"&gt;&lt;use href="#fas-link"&gt;&lt;/use&gt;&lt;/svg&gt;&amp;nbsp;
 &lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Use the macOS default Terminal app.&lt;/p&gt;</description></item><item><title>GPG for GitHub</title><link>https://kxue43.github.io/notes-and-blogs/notes/gpg-for-github/</link><pubDate>Tue, 05 Nov 2024 21:38:04 -0500</pubDate><guid>https://kxue43.github.io/notes-and-blogs/notes/gpg-for-github/</guid><description>&lt;p&gt;GPG, or GNU Privacy Guard, is a free-software replacement for Symantec&amp;rsquo;s PGP cryptographic software suite.
GPG is not a new cryptographic algorithm. GPG keys are simply those generated by the GPG software using existing
algorithms such as RSA.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;gpg&lt;/code&gt; is a CLI tool for managing keys, and the keys it generates have more features. For example, GPG keys can
expire or be revoked. With GitHub, SSH keys are used for authentication, while GPG keys are used for
signing commits and tags. Commit-signing makes sure the committer is indeed who he/she claims to be &amp;mdash;
otherwise any one can claim to be any one by setting username and password with &lt;code&gt;git config&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>SSH Client and Server</title><link>https://kxue43.github.io/notes-and-blogs/notes/ssh-client-and-server/</link><pubDate>Tue, 05 Nov 2024 21:31:53 -0500</pubDate><guid>https://kxue43.github.io/notes-and-blogs/notes/ssh-client-and-server/</guid><description>&lt;p&gt;This page describes how to set up a Linux machine as an SSH server and remote in from macOS.&lt;/p&gt;





&lt;h2 id="ssh-server-on-linux" class="heading "&gt;SSH Server on Linux&lt;a href="#ssh-server-on-linux" aria-labelledby="ssh-server-on-linux"&gt;








&lt;!-- &lt;i class="fas fa-link anchor"&gt;&lt;/i&gt; --&gt;
 &lt;svg class="svg-inline--fa fas fa-link anchor" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 576 512"&gt;&lt;use href="#fas-link"&gt;&lt;/use&gt;&lt;/svg&gt;&amp;nbsp;
 &lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;First install OpenSSH server on the specific Linux distro if it&amp;rsquo;s not already present.&lt;/p&gt;
&lt;p&gt;Then check if the &lt;code&gt;sshd&lt;/code&gt; service is enabled and active.&lt;/p&gt;
&lt;div class="codeblock syntax-highlight mb-3"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo systemctl status sshd&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;If not, enable and activate it by the following.&lt;/p&gt;</description></item></channel></rss>