在虚拟机里使用代理
来源:互联网 发布:长沙排名优化公司电话 编辑:程序博客网 时间:2024/05/17 23:26
- Edit the proxy server in /etc/bash.bashrc
rzfwch:~$ gedit/etc/bash.bashrc &
# edit the proxy servicer
# This function allows you toset up the http and ftp proxies in a terminal window for
# performing "wget",etc. Type proxy at the command line and enter the correct
# id/pw.
functionproxy(){
echo-n"username: "
read-e username
echo-n"password: "
read-es password
exporthttps_proxy="https://$username:$password@proxy-apac.delphiauto.net:8080/"
exporthttp_proxy="http://$username:$password@proxy-apac.delphiauto.net:8080/"
exportftp_proxy="http://$username:$password@proxy-apac.delphiauto.net:8080/"
echo""
}
- How to use In shell
rzfwch:~$proxy # enter proxy and press return
username:rzfwch # enter your netid
password:xxxx # enter your password
Install software using apt-get
rzfwch:~$ sudo -s #enter root mode
root:~#proxy
username: rzfwch
password: xxxx
# Using apt-get to installpackage
apt-get update
apt-get install xxxx
...
- 在虚拟机里使用代理
- 使用Intel® 82599 VF 功能,在虚拟机里运行 (f-stack)nginx 代理功能多进程总结
- 使用devstack在虚拟机里部署openstack
- 关于nmap和traceroute在虚拟机里使用的问题
- 在 QEMU 虚拟机里配置
- [小技巧] 如何在ubuntu 12.04里使用代理时忽略某些hosts
- maven国内镜像 阿里云(在公司里使用还需要添加代理)
- 虚拟机里的Linux系统在NAT模式无法使用上网
- 如何在虚拟机里装Linux
- 判断程序是否运行在虚拟机里
- Ubuntu 在虚拟机里装vmware tools
- 在虚拟机里测试VC++环境
- 如何在虚拟机里增加一个磁盘
- 如何在虚拟机里安装VMware tools
- ubuntu在虚拟机里的上网配置
- 如何在Hyper-V里新建虚拟机
- 怎样在虚拟机里测试Windows PE
- 测试是否在虚拟机里运行
- 数组中连续子数组的和的最大和
- MySQL_DOS增添数据中文乱码
- Intellij IDEA快捷键大全汇总(一)
- JMeter-Sampler-Debug Sampler
- 2017 Multi-University Training Contest
- 在虚拟机里使用代理
- 端口加入VLAN
- Realm报错TransforError
- 关注国情民情,从身边做起
- [笔记分享] [eMMC] 内核eMMC分区及对应名字读取
- 原根的求解证明 附代码
- 批量导入-更新 数据的几种方法
- 面向对象三大基本特性,五大基本原则
- MySQL 事务管理