Transférer les fichiers vers 'ecoleA'
This commit is contained in:
10
ecoleA/proxy.sh
Normal file
10
ecoleA/proxy.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/usr
|
||||
file_apt_proxy="/etc/apt/apt.conf.d/01proxy"
|
||||
file_http_proxy="/etc/profile.d/proxy.sh"
|
||||
|
||||
echo "Acquire::http::Proxy \"http://192.168.1.45:3142\";" > $file_apt_proxy
|
||||
|
||||
echo "export HTTP_PROXY=\"http://192.168.1.45:3128\"" > $file_http_proxy
|
||||
echo "export HTTPS_PROXY=\"http://192.168.1.45:3128\"" > $file_http_proxy
|
||||
echo "export FTP_PROXY=\"http://192.168.1.45:3128\"" > $file_http_proxy
|
||||
|
||||
Reference in New Issue
Block a user