Clone github private repo with personal access token
$ git clone https://GENERATED_TOKEN:x-oauth-basic@github.com/owner/repo.git
$ git clone https://GENERATED_TOKEN:x-oauth-basic@github.com/owner/repo.git
Just simple steps to setup your USB bootable with Linux image inside: $ sudo fdisk -l $ sudo umount /dev/sdb1 $ sudo mkfs.vfat -F32 /dev/sdb1 $ sudo dd if=/path/to/ubuntu.iso of=/dev/sdb bs=4M
This installation is using pulse secure linux version 9 with rpm package ps-pulse-linux-9.0r1.0-b739-centos-rhel-64-bit-installer.rpm $ sudo dnf install compat-libicu57-57.1-2.fc28.x86_64 $ sudo dnf install libgnome-keyring $ sudo rpm -i ps-pulse-linux-9.0r1.0-b739-centos-rhel-64-bit-installer.rpm Create vpn shortcut (optional): $ sudo touch /usr/bin/vpn $ sudo vim /usr/bin/vpn Fill with this script below: #!/bin/bash export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pulse /usr/local/pulse/pulseUi Make it executable: $ sudo chmod … Read more
$ sudo systemctl stop docker $ sudo touch /etc/docker/daemon.json { “bip”: “192.168.1.5/24”, “fixed-cidr”: “192.168.1.5/25” } $ sudo systemctl start docker Check your docker0 ip address now: $ ip addr
tar -c foo.sh | docker exec -i theDockerContainer /bin/tar -C /tmp -x
find ./ -type f -exec sed -i ‘s/string1/string2/g’ {} \;
First of all we need a Docker image that will be run inside the kubernetes cluster. So I assumed that we already have a kubernetes cluster. So the next we do is to build the docker image or you can use your docker image yourself. But in this tutorial, I will show you how to … Read more