User Tools

Site Tools


переменные_окружения

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
переменные_окружения [2023/06/08 11:31]
val [Установка переменных окружения]
переменные_окружения [2025/05/15 11:05] (current)
val [Переменные окружения]
Line 2: Line 2:
  
   * [[https://​ru.wikipedia.org/​wiki/​Переменные_среды|Переменные среды]]   * [[https://​ru.wikipedia.org/​wiki/​Переменные_среды|Переменные среды]]
 +  * [[https://​www.gnu.org/​software/​bash/​manual/​bash.html]]
   * [[https://​stackoverflow.com/​questions/​56003777/​how-to-pass-environment-variable-in-kubectl-deployment|how to pass environment variable in kubectl deployment?​]]   * [[https://​stackoverflow.com/​questions/​56003777/​how-to-pass-environment-variable-in-kubectl-deployment|how to pass environment variable in kubectl deployment?​]]
  
Line 33: Line 34:
 </​code><​code>​ </​code><​code>​
 ... ...
-http_proxy=http://​gate.corpX.un:​3128+#http_proxy=http://​gate.corpX.un:​3128
 https_proxy=http://​gate.corpX.un:​3128 https_proxy=http://​gate.corpX.un:​3128
 no_proxy=localhost,​127.0.0.1,​isp.un,​corpX.un no_proxy=localhost,​127.0.0.1,​isp.un,​corpX.un
 </​code>​ </​code>​
 +<​code>​
 +$ set -a; source .env; set +a
  
- 
-<​code>​ 
 $ LANG=""​ date $ LANG=""​ date
  
Line 128: Line 129:
 $ echo ${request#​GET /} $ echo ${request#​GET /}
 $ echo ${request% HTTP*} $ echo ${request% HTTP*}
 +
 +$ echo "​${SSH_CLIENT%% *}"
  
 $ PHONE=''​ $ PHONE=''​
переменные_окружения.1686213060.txt.gz · Last modified: 2023/06/08 11:31 by val