/
EdX Proxy Instructions
EdX Proxy Instructions
If using a proxy base network you need to complete the following steps:
- Add the proxy setting to the /etc/environment file
sudo vi /etc/environment
- Add the following lines, remember to change proxy.local.com for your url and PORT for the port used:
http_proxy=http://proxy.local.com:PORT
https_proxy=http://proxy.local.com:PORT
ftp_proxy=http://proxy.local.com:PORT
socks_proxy=http://proxy.local.com:PORT
no_proxy=localhost
JAVA_OPTS="-DproxyHost=proxy.local.com -DproxyPort=PORT"
MAVEN_OPTS="-DsocksProxyHost=
proxy.local.com -DsocksProxyPort=PORT"
- Save the file.
- Let's make the Proxy available every time that we use sudo
- Edit the /ect/sudoers file
sudo vi /etc/sudoers
- Find entry:
Defaults env_reset
- Below add
Defaults env_keep += "http_proxy https_proxy ftp_proxy socks_proxy no_proxy JAVA_OPTS
MAVEN_OPTS"
- Edit the /etc/apt/apt.conf file
sudo vi /etc/apt/apt.conf
- Add the following lines, remember to change proxy.local.com for your url and PORT for the port used
Acquire::http::proxy "http://proxy.local.com:PORT";
Acquire::https::proxy "http://proxy.local.com:PORT";
- Logout
Related articles
, multiple selections available,
Related content
Running Open EdX in Production
Running Open EdX in Production
More like this
Koa Native Open edX platform Ubuntu 20.04 64 bit Installation
Koa Native Open edX platform Ubuntu 20.04 64 bit Installation
Read with this
Managing Open edX Tips and Tricks
Managing Open edX Tips and Tricks
More like this
edX Analytics Installation
edX Analytics Installation
Read with this
How to Run the eCommerce Service in Devstack
How to Run the eCommerce Service in Devstack
More like this
How-to articles
How-to articles
Read with this