- What's TLS?
- TLS Protocol
- TLS Implementation
The official document at https://learn.microsoft.com/en-us/azure/service-fabric/service-fabric-get-started-linux is problematic (ESPECIALLY, DO NOT follow the instruction in that document to install Docker!). Here're the correct steps.
- Check if your Linux distro and version are supported at https://learn.microsoft.com/en-us/azure/service-fabric/service-fabric-versions#supported-linux-versions-and-support-end-date
- Setup Docker as instructed by https://docs.docker.com/engine/install/ubuntu
C++ REST SDK is built on Ubuntu 16 by the offical document. To build it on CentOS 7, here's how.
- Install build tools by
sudo yum group install Development\ Tools
- Install dependent libraries by
sudo yum install zlib-devel libicu-devel openssl-devel
- Get CMake 3.x binary from https://cmake.org/download/
- Get Boost 1.58 source code from https://www.boost.org/users/history/ and install it under
/opt/boost_1_58_0
by https://www.boost.org/doc/libs/1_58_0/more/getting_started/unix-variants.html#easy-build-and-install.
- Proxy is not VPN.
- An application could provide an option to use a proxy, by a command line parameter, or an environment variable. Or it could provide no option for proxy at all!
- VPN is an easy way to "proxy" the whole system without any application specific settings.
A proxy could use SOCKS or HTTP protocol.
"The control groups, abbreviated as cgroups in this guide, are a Linux kernel feature that allows you to allocate resources — such as CPU time, system memory, network bandwidth, or combinations of these resources — among hierarchically ordered groups of processes running on a system."
Check the cgroups by systemd-cgls
.
Generally, the Git proxy configuration depends on the Git Server Protocol you use. And there're two common protocols: SSH and HTTP/HTTPS. Both require a proxy setup already. In the following, I assume a SOCKS5 proxy set up on localhost:1080
. But it can also be a HTTP proxy. I'll talk about how to set up a SOCKS5 proxy later.
When you do git clone ssh://[user@]server/project.git
or git clone [user@]server:project.git
, you're using the SSH protocol. You need to configurate your SSH client to use a proxy. Add the following to your SSH config file, say ~/.ssh/config
:
ProxyCommand nc -x localhost:1080 %h %p