AWS 控制台里有三种复制 EC2 的方式,区别在于是否携带磁盘数据。
创建 AMI(推荐,完整克隆) — 保留系统盘数据、已安装软件和所有配置。
EC2 控制台选中目标实例 → Actions → Image and templates → Create image。等 AMI 状态变为 available(几分钟到几十分钟),再到 AMIs 页面选中它 → Launch instance from AMI,按需调整 instance type、subnet、Security Group 即可。
Launch More Like This(最快,但不含数据) — 只复制实例规格配置(type、SG、subnet、tags),系统盘是全新的。
Actions → Image and templates → Launch more like this,进入 Launch 页面时配置已预填好,确认启动就行。适合无状态实例,比如用 userdata 初始化的 web server。
Launch Template — 如果原实例之前保存过 Launch Template,可以直接从模板启动。EC2 → Launch Templates → 选模板 → Actions → Launch instance from template。
大多数场景用 AMI,只需要同规格全新系统时用 Launch More Like This。
mx linux install fcitx5 rime
- sudo apt install fcitx5-rime fcitx5-chinese-addons im-config zenity fcitx5-configtool fcitxt5-frontend-gtk*
- run im-config and choose fcitx5
- run fcitx5-configtool to choose Rime as input method
- Download rime config backup from https://files.shukebeta.com/Rime.tgz and extract it
mv ~/Downloads/Rime/* ~/.local/share/fcitx5/rime/
- log out and then log in again
done
Steps
- Install cpupower:
sudo apt install linux-cpupower
- Edit the init script:
sudo vim /etc/init.d/cpupower
# put the following content into this file
CPUPOWER_START_OPTS="frequency-set -g performance"
- Enable on boot:
sudo update-rc.d cpupower defaults
- Apply immediately:
sudo cpupower frequency-set -g performance
- Verify:
cpupower frequency-info | grep "The governor"
Should output: The governor "performance" may decide which speed to use
Note: MX Linux 25 uses SysVinit.
Run regedit, navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run
then remove the line that contains "jusched.exe".
To make DOSBox automatically mount your ~/games folder as the C: drive every time it starts, you can edit the DOSBox configuration file. Here's how to set it up:
Steps:
-
Locate your DOSBox configuration file:
- On Windows, it's usually found in
C:\Users\YourUsername\AppData\Local\DOSBox\dosbox-[version].conf.
- On macOS/Linux, it's typically found in
~/.dosbox/dosbox-[version].conf.
-
Edit the configuration file:
Open the dosbox-[version].conf file with a text editor (e.g., Notepad on Windows or nano on Linux/macOS).
-
Find the [autoexec] section:
Scroll down to the very end of the file until you find the [autoexec] section. This is where you can add commands that DOSBox will execute when it starts.
-
Add the mount command:
Add the following line to mount your ~/games folder as the C: drive:
-
On Linux/macOS, add:
mount c ~/games
-
On Windows, if you want to mount a specific folder, use the path like this (assuming your folder is in C:\Users\YourUsername\games):
mount c C:\Users\YourUsername\games
You can also specify different mount points or add other commands, but this one will mount your ~/games directory automatically as C:.
-
Save the file:
After adding the mount command, save the configuration file and close the text editor.
-
Start DOSBox:
Now, every time you start DOSBox, it will automatically mount the ~/games folder as the C: drive.
Example:
Here’s what the [autoexec] section could look like:
[autoexec]
# Lines in this section will be run at startup.
mount c ~/games
c:
If you need any more help with configuration, let me know!