Network
DNS
vim /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
APT
$ sudo touch /etc/apt/apt.conf.d/proxy.conf
$ sudo gedit /etc/apt/apt.conf.d/proxy.conf
Acquire {
HTTP::proxy "http://127.0.0.1:8080";
HTTPS::proxy "http://127.0.0.1:8080";
}
Sftp
- 安装 ssh 服务端 sudo apt-get install openssh-server
- 显示 sshd 即可以成功连接 ps -e |grep ssh
- 如果不显示 sshd sudo /etc/init.d/ssh start
Archives
2019/03 (14) 2020/08 (1) 2021/01 (2) 2021/05 (2) 2021/12 (2) 2022/03 (2) 2022/04 (2) 2023/12 (2) 2024/01 (5) 2024/04 (1) 2024/05 (1)Tags
Recent Posts