<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Linux on Akkuman 的技术博客</title>
    <link>https://www.hacktech.cn/tags/linux/</link>
    <description>Recent content in Linux on Akkuman 的技术博客</description>
    <generator>Hugo -- 0.155.3</generator>
    <language>zh-cn</language>
    <lastBuildDate>Thu, 19 Mar 2026 15:27:05 +0800</lastBuildDate>
    <atom:link href="https://www.hacktech.cn/tags/linux/atom.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>headless-wps arm64 后续</title>
      <link>https://www.hacktech.cn/post/2026/03/headless-wps-arm64-hou-xu-1csr1p/</link>
      <pubDate>Thu, 19 Mar 2026 15:14:37 +0800</pubDate>
      <guid>https://www.hacktech.cn/post/2026/03/headless-wps-arm64-hou-xu-1csr1p/</guid>
      <description>这篇文章讨论了为 headless-wps 项目提供 ARM64 版本镜像的探索历程。核心结论是：在页大小为 4K 的 ARM64 Linux 内核上，WPS 可以正常运行；但在页大小为 64K 的内核（如某些国产化系统）上，由于 WPS 内置的 libcef（浏览器组件）无法加载，导致相关功能严重缺失。</description>
    </item>
    <item>
      <title>Clean up old versions of VSCode</title>
      <link>https://www.hacktech.cn/post/2026/02/clean-up-old-versions-of-vscode-z1qr48c/</link>
      <pubDate>Sat, 28 Feb 2026 17:08:30 +0800</pubDate>
      <guid>https://www.hacktech.cn/post/2026/02/clean-up-old-versions-of-vscode-z1qr48c/</guid>
      <description>A script to help you clean up old versions of VSCode</description>
    </item>
    <item>
      <title>迁移git仓库已有文件到 lfs</title>
      <link>https://www.hacktech.cn/post/2026/02/migrate-existing-files-in-git-repository-to-lfs-z1wjust/</link>
      <pubDate>Thu, 05 Feb 2026 09:58:59 +0800</pubDate>
      <guid>https://www.hacktech.cn/post/2026/02/migrate-existing-files-in-git-repository-to-lfs-z1wjust/</guid>
      <description>本文介绍了如何将Git仓库中的大文件迁移到Git LFS（Large File Storage）中。核心方法是利用`.gitattributes`文件定义需要追踪的大文件，然后通过`git lfs migrate import --everything --fixup`命令进行迁移。但直接使用`--fixup`可能无效，因为该命令依赖历史提交中的`.gitattributes`文件。解决方案是先用`git-filter-repo`工具将`.gitattributes`文件注入到所有历史提交中，再执行LFS迁移。文章还提供了备选方案：通过解析`.gitattributes`文件生成`--include`参数列表进行迁移，但此方法可能无法处理标签。最终推荐的方法是先注入`.gitattributes`到历史记录，再使用`--fixup`完成迁移。</description>
    </item>
    <item>
      <title>一行命令共享 SSH 终端会话</title>
      <link>https://www.hacktech.cn/post/2025/12/oneline-command-to-share-an-ssh-terminal-session-z1wqqxi/</link>
      <pubDate>Thu, 11 Dec 2025 09:20:00 +0800</pubDate>
      <guid>https://www.hacktech.cn/post/2025/12/oneline-command-to-share-an-ssh-terminal-session-z1wqqxi/</guid>
      <description>本文介绍了一种快速共享SSH终端会话的方法，使用一条命令即可通过upterm工具（tmate的替代品）创建临时会话。执行命令后，系统会生成一个临时的SSH连接地址，用户可将其分享给他人以实现终端实时共享。</description>
    </item>
    <item>
      <title>lamp服务器被人恶意绑定域名的解决办法</title>
      <link>https://www.hacktech.cn/post/2016/05/lamp-server-was-bind-domain/</link>
      <pubDate>Sat, 28 May 2016 22:09:02 +0000</pubDate>
      <guid>https://www.hacktech.cn/post/2016/05/lamp-server-was-bind-domain/</guid>
      <description>&lt;h1 id=&#34;还没开始就被别人绑定了域名&#34;&gt;还没开始就被别人绑定了域名&lt;/h1&gt;
&lt;h2 id=&#34;事情的起因与发现&#34;&gt;事情的起因与发现&lt;/h2&gt;
&lt;p&gt;刚买了个服务器搭建了一个dz，想着域名还没备案，就先搭建了起来，然后在做DDOS测试时偶然发现服务器被别人恶意把域名绑定了&lt;/p&gt;
&lt;h2 id=&#34;最初的解决方案&#34;&gt;最初的解决方案&lt;/h2&gt;
&lt;p&gt;没管。。。。。。
后来发现有影响，朋友也一直给我说叫我整下&lt;/p&gt;
&lt;h2 id=&#34;利用重定向把恶意指向过来的域名指到别处&#34;&gt;利用重定向把恶意指向过来的域名指到别处&lt;/h2&gt;
&lt;p&gt;要利用301重定向，首先我们要在Apache上配置一下，Apache默认是不开启.htaccess的&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
