Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envsetup
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mediaserver
envsetup
Commits
b3d3c1f4
Commit
b3d3c1f4
authored
8 years ago
by
Stéphane Diemer
Browse files
Options
Downloads
Patches
Plain Diff
Renamed a proxy var name (refs
#19005
).
parent
611db589
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
101.Apply_client_configuration/0_setup.sh
+5
-5
5 additions, 5 deletions
101.Apply_client_configuration/0_setup.sh
51.Install_CM/0_setup.sh
+1
-1
1 addition, 1 deletion
51.Install_CM/0_setup.sh
default-conf.sh
+8
-8
8 additions, 8 deletions
default-conf.sh
with
14 additions
and
14 deletions
101.Apply_client_configuration/0_setup.sh
+
5
−
5
View file @
b3d3c1f4
...
...
@@ -44,11 +44,11 @@ then
if
[
${
PROXY_AUTHENTICATION
}
=
"1"
]
then
# APT
echo
"Acquire::http::Proxy
\"
http://
${
PROXY_USER
}
:
${
PROXY_P
ASS
WD
}
@
${
PROXY_HTTP
}
:
${
PROXY_PORT
}
\"
;"
>
/etc/apt/apt.conf.d/proxy
echo
"Acquire::https::Proxy
\"
http://
${
PROXY_USER
}
:
${
PROXY_P
ASS
WD
}
@
${
PROXY_HTTP
}
:
${
PROXY_PORT
}
\"
;"
>>
/etc/apt/apt.conf.d/proxy
echo
"Acquire::http::Proxy
\"
http://
${
PROXY_USER
}
:
${
PROXY_PWD
}
@
${
PROXY_HTTP
}
:
${
PROXY_PORT
}
\"
;"
>
/etc/apt/apt.conf.d/proxy
echo
"Acquire::https::Proxy
\"
http://
${
PROXY_USER
}
:
${
PROXY_PWD
}
@
${
PROXY_HTTP
}
:
${
PROXY_PORT
}
\"
;"
>>
/etc/apt/apt.conf.d/proxy
# /etc/environment
echo
"http_proxy=
\"
http://
${
PROXY_USER
}
:
${
PROXY_P
ASS
WD
}
@
${
PROXY_HTTP
}
:
${
PROXY_PORT
}
\"
"
>>
/etc/environment
echo
"https_proxy=
\"
http://
${
PROXY_USER
}
:
${
PROXY_P
ASS
WD
}
@
${
PROXY_HTTP
}
:
${
PROXY_PORT
}
\"
"
>>
/etc/environment
echo
"http_proxy=
\"
http://
${
PROXY_USER
}
:
${
PROXY_PWD
}
@
${
PROXY_HTTP
}
:
${
PROXY_PORT
}
\"
"
>>
/etc/environment
echo
"https_proxy=
\"
http://
${
PROXY_USER
}
:
${
PROXY_PWD
}
@
${
PROXY_HTTP
}
:
${
PROXY_PORT
}
\"
"
>>
/etc/environment
else
# APT
echo
"Acquire::http::Proxy
\"
http://
${
PROXY_HTTP
}
:
${
PROXY_PORT
}
\"
;"
>
/etc/apt/apt.conf.d/proxy
...
...
@@ -87,7 +87,7 @@ NB_MAX=$(wc -l /usr/local/WowzaStreamingEngine/conf/Server.xml | awk '{print$1}'
echo
"</Property>"
>>
/usr/local/WowzaStreamingEngine/conf/Server.xml
echo
"<Property>"
>>
/usr/local/WowzaStreamingEngine/conf/Server.xml
echo
"<Name>licenseServerProxyPassword</Name>"
>>
/usr/local/WowzaStreamingEngine/conf/Server.xml
echo
"<Value>
${
PROXY_P
ASS
WD
}
</Value>"
>>
/usr/local/WowzaStreamingEngine/conf/Server.xml
echo
"<Value>
${
PROXY_PWD
}
</Value>"
>>
/usr/local/WowzaStreamingEngine/conf/Server.xml
echo
"</Property>"
>>
/usr/local/WowzaStreamingEngine/conf/Server.xml
echo
"</Properties>"
>>
/usr/local/WowzaStreamingEngine/conf/Server.xml
echo
"</Server>"
>>
/usr/local/WowzaStreamingEngine/conf/Server.xml
...
...
This diff is collapsed.
Click to expand it.
51.Install_CM/0_setup.sh
+
1
−
1
View file @
b3d3c1f4
...
...
@@ -20,7 +20,7 @@ fi
if
[
${
PROXY
}
=
"1"
]
;
then
if
[
${
PROXY_AUTHENTICATION
}
=
"1"
]
;
then
# general settings
echo
"Proxy: http://
${
PROXY_USER
}
:
${
PROXY_P
ASS
WD
}
@
${
PROXY_HTTP
}
:
${
PROXY_PORT
}
"
>>
/etc/apt-cacher-ng/acng.conf
echo
"Proxy: http://
${
PROXY_USER
}
:
${
PROXY_PWD
}
@
${
PROXY_HTTP
}
:
${
PROXY_PORT
}
"
>>
/etc/apt-cacher-ng/acng.conf
else
# general settings
echo
"Proxy: http://
${
PROXY_HTTP
}
:
${
PROXY_PORT
}
"
>>
/etc/apt-cacher-ng/acng.conf
...
...
This diff is collapsed.
Click to expand it.
default-conf.sh
+
8
−
8
View file @
b3d3c1f4
...
...
@@ -19,14 +19,6 @@ NTP_SERVER2=
NTP_SERVER3
=
# hosts
ETC_HOSTNAME
=
'mediaserver'
# proxy
PROXY
=
0
PROXY_AUTHENTICATION
=
0
PROXY_HTTP
=
PROXY_HTTPS
=
PROXY_PORT
=
PROXY_USER
=
PROXY_PASSWD
=
# SSL certificate
SSL_CERTIFICATE
=
'/etc/ssl/certs/ssl-cert-snakeoil.pem'
SSL_CERTIFICATE_KEY
=
'/etc/ssl/private/ssl-cert-snakeoil.key'
...
...
@@ -85,6 +77,14 @@ NETWORK_DNS1=0
NETWORK_DNS2
=
0
NETWORK_MASK
=
0
NETWORK_GATEWAY
=
0
# proxy
PROXY
=
0
PROXY_AUTHENTICATION
=
0
PROXY_HTTP
=
PROXY_HTTPS
=
PROXY_PORT
=
PROXY_USER
=
PROXY_PWD
=
# -- Cache server specific --
# cache directory, prefer a ramfs - /tmp
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment