使用proxychains-ng代理cmd

安装rpoxychains-ng

sudo dnf install proxychains-ng

## or
sudo apt install proxychains-ng

设置proxychains-ng代理地址

vi /etc/proxychains.conf

添加socks5 192.168.1.94 10808即可,支持多种代理方式:socks4/socks5/http,如下说明:

#        Examples:
#
#            	socks5	192.168.67.78	1080	lamer	secret
#		http	192.168.89.3	8080	justu	hidden
#	 	socks4	192.168.1.49	1080
#	        http	192.168.39.93	8080

使用proxychains-ng代理执行命令

$proxychains curl -O https://github.com/XTLS/Xray-install/raw/main/install-release.sh
[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading /usr/lib64/proxychains-ng/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.13
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  [proxychains] Strict chain  ...  192.168.1.94:10808  ...  raw.githubusercontent.com:443  ...  OK
100 21115  100 21115    0     0   6107      0  0:00:03  0:00:03 --:--:--  6106

https://github.com/rofl0r/proxychains-ng.git

国内安装ohmyzsh的方法

首先安装zsh

apt update&&apt ugprade -y
apt install zsh -y

如果能够正常访问github.comgithubusercontent.com,那么使用如下命令即可安装ohmyzsh

$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

如果无法访问github.com,那就建议使用gitee提供的国内镜像来安装,方法如下:

Github Actions自动生成Hugo站点并部署到Github Pages

使用hugo建立建立个人网站可以参考使用hugo建立静态个人网站

使用github pages来部署个人网站可以参考GithubPages部署免费网站

下面将会介绍如何通过Github Actions来将以上两个操作关联在一起并自动化完成!

自动化流程图

github建立Repositories

建立一个unixetc/ghsource.git属性为私有(private)的用来放置Hugo源码,然后再建一个unixetc/unixetc.github.io.git属性为公有(public)并设置Github Pages服务。