我需要配置代理。没有apt.conf文件,etc/apt/所以我使用nano.
但我不明白我需要在那里写什么。我已经在http_proxy = http://lgn:pwd@192.168.1.254:8080/那里写了
然后重新启动networking。但是当我尝试apt-get update- 它不起作用。
其实我不明白我应该在apt.conf文件中写什么端口和ip (有192.168.1.254ip和8080端口的例子所以我决定使用它们)。
为了了解更多关于 Kubernetes 的信息,我尝试安装一个独立的实例。如果你尝试运行minikube终端?建议通过 snap 安装它。
sudo snap install minikube kubectl
Run Code Online (Sandbox Code Playgroud)
snap info minikube
Minikube 是一个可以轻松在本地运行 Kubernetes 的工具。Minikube 在您笔记本电脑上的虚拟机内运行一个单节点 Kubernetes 集群,供想要试用 Kubernetes 或使用它进行日常开发的用户使用。
snap info kubectl
kubectl 是一个命令行界面,用于针对 Kubernetes 运行命令
但这让我犯了这个错误:
$ minikube start
There is a newer version of minikube available (v0.32.0). Download it here:
https://github.com/kubernetes/minikube/releases/tag/v0.32.0
To disable this notification, add WantUpdateNotification: False to the json config file at /home/pablo/snap/minikube/4/.minikube/config
(you may have to create the file config.json in this folder if you have no previous …Run Code Online (Sandbox Code Playgroud)