Log in to the server as the non-root sudo user, and update the package lists to make sure you have all the latest versions.
sudo yum update -y
sudo yum install epel-release -y
sudo yum update -y
Next, install OpenVPN and wget, which we will use to install Easy RSA:
sudo yum install -y openvpn wget
Using wget, download Easy RSA. For the purposes of this tutorial, we recommend using easy-rsa-2 because there’s more available documentation for this version. You can find the download link for the latest version of easy-rsa-2 on the project’s Releases page:
wget -O /tmp/easyrsa https://github.com/OpenVPN/easy-rsa-old/archive/2.3.3.tar.gz
Next, extract the compressed file with tar:
tar xfz /tmp/easyrsa
This will create a new directory on your server called easy-rsa-old-2.3.3. Make a new subdirectory under /etc/openvpn and name it easy-rsa:
sudo mkdir /etc/openvpn/easy-rsa
Copy the extracted Easy RSA files
A Virtual Private Network (VPN) allows you to traverse untrusted networks as if you were on a private network. It gives you the freedom to access the internet safely and securely from your smartphone or laptop when connected to an untrusted network, like the WiFi at a hotel or coffee shop.
When combined with HTTPS connections, this setup allows you to secure your wireless logins and transactions. You can circumvent geographical restrictions and censorship, and shield your location and any unencrypted HTTP traffic from the untrusted network.
OpenVPN is a full featured, open-source Secure Socket Layer (SSL) VPN solution that accommodates a wide range of configurations. In this tutorial, you will set up OpenVPN on a CentOS 7 server, and then configure it to be accessible from a client machine.
Note: If you plan to set up an OpenVPN server on a DigitalOcean Droplet, be aware that we, like many hosting providers, charge for bandwidth overages. For this reason, please be mindful of
The chectl management tool is available
Run the following command in the terminal
bash <(curl -sL https://www.eclipse.org/che/chectl/)
Run the following command to verify that the chectl tool is available
which chectl
chectl --version
Install kubectl binary with curl on Linux
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
wget https://dl.k8s.io/release/v1.21.0/bin/linux/amd64/kubectl
Install kubectl
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
Run the following command
chectl server:deploy --platform microk8s -m
Run without tls
#vi patch.yaml
spec:
server:
tlsSupport: true
cheHost: eclipse.che.xxx.xxx
customCheProperties:
CHE_LIMITS_USER_WORKSPACES_RUN_COUNT: "1"
CHE_LIMITS_USER_WORKSPACES_COUNT: "50"
storage:
pvcStrategy: 'common'
postgresPVCStorageClassName: 'rbd-temp'
workspacePVCS
KubeEdge is composed of cloud and edge parts. It is built upon Kubernetes and provides core infrastructure support for networking, application deployment and metadata synchronization between cloud and edge.
So if we want to setup kubeedge, we need to setup kubernetes cluster, cloud side and edge side.
on cloud side, we need to install docker, kubernetes cluster and cloudcore.
on edge side, we need to install docker, mqtt and edgecore.
Go dependency and Kubernetes compatibility please refer
wget https://dl.google.com/go/go1.12.15.linux-amd64.tar.gz
tar zxvf go1.12.15.linux-amd64.tar.gz
mv go /opt/go
vi .bash_profile
export GOROOT=/opt/go
export PATH=$PATH:$GOROOT/bin
export GOPATH=/root/go
export PATH=$PATH:$GOPATH/BIN
wget https://dl.google.com/go/go1.12.15.linux-amd64.tar.gz
tar zxvf go1.12.15.linux-amd64.tar.gz
mv go /opt/go
vi .bash_profile
export GOROO
disable firewall
systemctl stop firewalld
systemctl disable firewalld
disable swap
swapoff -a
config hostname ensure local hostname
reachable
vi /etc/hosts
139.162.127.39 node1
139.162.121.213 node2
139.162.97.24 node3
139.162.127.39 apiserver.example.com
# Install Docker from CentOS/RHEL repository:
yum install -y docker
----------------------------
# or install Docker CE 18.06 from Docker's CentOS repositories:
## Install prerequisites.
yum install yum-utils device-mapper-persistent-data lvm2
## Add docker repository.
yum-config-manager \
--add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
## Install docker.
yum update && yum install docker-ce-18.06.1.ce
## Create /etc/docker directory.
mkdir /etc/docker
mkdir /docker
# Setup daemon.
cat > /etc/docker/daemon.json <<EOF
{
"log-driver": "json-file",
"log-opts": {
"max-size": "100m"
},
"storage-opts": [
"ov
Download the Istio release which includes installation files, samples, and the istioctl command line utility.
Go to the Istio release page to download the installation file corresponding to your OS. Alternatively, on a macOS or Linux system, you can run the following command to download and extract the latest release automatically:
$ curl -L https://istio.io/downloadIstio | sh -
Move to the Istio package directory. For example, if the package is istio-1.4.0:
$ cd istio-1.4.0
The installation directory contains:
The istioctl client binary in the bin/ directory. istioctl is used when manually injecting Envoy as a sidecar proxy.
PWD/bin:$PATH
An Apache Ignite cluster can be easily deployed in and maintained by Kubernetes which is an open-source system for automating deployment, scaling, and management of containerized applications.
First, you need to choose how you would like to use Ignite:
Makes sure that you've done the following:
It's recommended to set up RBAC for your Ignite deployments to have fine-grained control of your deployments and to avoid any security-related issues.
vi rbac.yaml
apiVe
Installation is made of three steps:
Then use one of the YAML manifests found in the release page to deploy kubeless. It will create a functions Custom Resource Definition and launch a controller.
wget https://github.com/kubeless/kubeless/releases/download/v1.0.4/kubeless_linux-amd64.zip
cd bundles/kubeless_linux-amd64
cp kubeless /usr/local/bin
kubectl create ns kubeless
export RELEASE=
The possibiliti
yum install https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-centos10-10-1.noarch.rpm
yum install postgresql10
yum install postgresql10-server
/usr/pgsql-10/bin/postgresql-10-setup initdb
systemctl enable postgresql-10
systemctl start postgresql-10
su - postgres
psql
\password postgres
xxxpgxxx
wget https://ftp.postgresql.org/pub/source/v10.0/postgresql-10.0.tar.gz
tar zxvf postgresql-10.0.tar.gz
cd postgresql-10.0
export PYTHON=/usr/bin/python3
./configure --prefix=/usr/local/postgres10 --with-python --with-openssl --with-libxml --with-ldap --with-libxslt --enable-thread-safety
make
make install
mkdir /home/pgdata/pg10/pgdata
./initdb -D /home/pgdata/pg10/pgdata
psql
\passwo