How to set proxy in Bash and Zsh

To set proxy in bash and zsh, we need to code the bash script or zsh script.
We will edit the .bashrc or .zshrc dot file in your home path like:

1
2
3
/home/yourname/.bashrc
or
/home/yourname/.zshrc

Then, use neovim (maybe you can chose your favourite editor whatever :D ) to edit:
1
$ nvim ~/.bashrc

or
1
$ nvim ~/.zshrc

Read more

Arch Linux基础安装

本想着那么多基于Linux内核的系统都差不多,所以一直都没装Arch Linux。有一次看到一个WSL2里居然有Arch Linux发行版。那个时候我才发现原来WSL2还可以装Arch Linux,于是我第一次装Arch Linux就在WSL2里安装的……后来经常需要在Linux环境下完成项目,WSL2满足不了我了,所以就安装了Arch Linux。
若有疑问可以参考:

下载Arch Linux镜像

首先是要下载镜像,官网就有。一般来说要装在x86_64架构的机器上,,址:https://archlinux.org/download/
image.png
但对于MacOS M1用户,由于M1是ARM的AARCH64架构,在官网是下载是找不到这个版本的镜像的,但是在Wiki可以:https://wiki.archlinux.org/title/Parallels_Desktop
image.png
在Wiki中找到1.2节,点击archboot(因为我们要用最朴素的安装方式hhh),进入archboot的wiki(https://pkgbuild.com/~tpowa/archboot/web/archboot.html):
image.png
下载镜像即可:
image.png

Read more
Your browser is out-of-date!

Update your browser to view this website correctly.&npsb;Update my browser now

×