apt proxy

vim /etc/apt/apt.conf
Acquire::http::proxy "http://10.48.127.169:8080/";  
Acquire::ftp::proxy "ftp://10.48.127.169:8080/";  
Acquire::https::proxy "https://10.48.127.169:8080/"; 

当前用户生效

vim  ~/.bashrc
export http_proxy=http://10.48.127.169:8080/
export https_proxy=http://10.48.127.169:8080/

全局配置

vim /etc/profile
export http_proxy=http://10.48.127.169:8080
export https_proxy=http://10.48.127.169:8080

 配置DNS

search chotim.com
nameserver 192.168.2.2

 安装SSH

apt-get install openssh-server
ps -e |grep ssh
/etc/init.d/ssh start
#或
service ssh start
service ssh stop

添加用户

useradd username

修改密码

passwd root

 

相关文章:

  • 2021-12-24
  • 2021-12-26
  • 2021-08-10
  • 2022-12-23
  • 2022-12-23
  • 2021-07-11
  • 2021-06-10
  • 2022-12-23
猜你喜欢
  • 2021-11-20
  • 2021-11-20
  • 2021-07-30
  • 2022-01-14
  • 2021-10-21
  • 2022-01-17
  • 2021-12-20
相关资源
相似解决方案