优质院校建设网站,免费网上咨询医生是哪个网,广州网络推广公司,益阳市建设局网站由于公司的局域网环境#xff0c;只提供以代理服务器的方式上网#xff0c;因此有必要记录一下设置代理的方式#xff0c;方便以后使用。
系统设置代理#xff1a;
System Settings - Network - Network proxy
Method选择Manual#xff0c;然后设置 HTTP Proxy…由于公司的局域网环境只提供以代理服务器的方式上网因此有必要记录一下设置代理的方式方便以后使用。
系统设置代理
System Settings - Network - Network proxy
Method选择Manual然后设置 HTTP Proxy 和 HTTPS Proxy 即可。
火狐浏览器设置代理
Preferences - Advanced - Network - Settings
选择 Use system proxy settings 即可当然也可以选择 Manual proxy configuration:上网效果是一样的。
终端设置代理
sudo vim /etc/profile # 打开系统配置文件# 在配置文件中添加以下环境变量proxyaddress和proxyport分别填写代理地址和端口
export http_proxyhttp://proxyaddress:proxyport/
export https_proxyhttp://proxyaddress:proxyport/
export ftp_proxyhttp://proxyaddress:proxyport/source /etc/profile # 更新配置文件aptapt-get设置代理
sudo gedit /etc/apt/apt.conf # 打开apt.conf配置文件# 在配置文件中添加以下内容
Acquire::http::Proxy http://proxyaddress:proxyport;
Acquire::https::Proxy http://proxyaddress:proxyport;# 保存退出后不需要更新