Posts

Showing posts with the label apt

https://www.vultr.com

The Everywhere Cloud

Deploy an instance.
Accelerate your application.


Using the ESP-IDF on Linux

Image
The following procedure shows how to use Espressif's Internet-of-Things Development Framework for ESP32 microcontrollers on Debian-based Linux distributions. The ESP-IDF uses the Real-Time Operating System (RTOS) Software Development Kit (SDK). ========== 1. INSTALLATION 1.1. Update package indexes and install the prerequisites. user@host: $ sudo apt-get update user@host: $ sudo apt-get install bison libbison-dev user@host: $ sudo apt-get install cmake user@host: $ sudo apt-get install flex libfl-dev libfl2 user@host: $ sudo apt-get install git user@host: $ sudo apt-get install gperf user@host: $ sudo apt-get install libncurses-dev user@host: $ sudo apt-get install python3 python3-dev python3-pip python3-venv python3-wheel 1.2. Clone the development repository from GitHub. This will download to a directory with the same name. user@host: $ mkdir esp user@host: $ cd esp user@host: $ git clone --recursive https://github.com/espressif/esp-idf.git 1.2.1. For specific releases, clone the...

Using the ESP8266 RTOS SDK on Linux

Image
The following procedure shows how to use Espressif's Real-Time Operating System Software Development Kit for ESP8266 microcontrollers on Debian-based Linux distributions. ========== 1. INSTALLATION 1.1. Update package indexes and install the prerequisites. user@host: $ sudo apt-get update user@host: $ sudo apt-get install bison libbison-dev user@host: $ sudo apt-get install cmake user@host: $ sudo apt-get install flex libfl-dev libfl2 user@host: $ sudo apt-get install git user@host: $ sudo apt-get install gperf user@host: $ sudo apt-get install libncurses-dev user@host: $ sudo apt-get install python3 python3-dev python3-pip python3-venv python3-wheel 1.2. Clone the repository from GitHub. This will download to a directory with the same name. user@host: $ mkdir esp user@host: $ cd esp user@host: $ git clone --recursive https://github.com/espressif/ESP8266_RTOS_SDK.git 1.3. Install the Python packages required by the ESP8266 Internet-of-Things Development Framework. user@host: $ cd E...

Accessing the GlobalProtect VPN via Terminal

Image
The following procedure demonstrates how to connect to the GlobalProtect VPN via command-line terminals. ========== 1. Install openconnect (at least version 8) and dnsmasq. 1.1. Debian-based Linux user@host: $ sudo apt-get update user@host: $ sudo apt-get install openconnect dnsmasq 2. Make a simple shell script to automate the login. #!/bin/sh #BEGIN CODE with the shebang above. user=`whoami`; if [ $user != "root" ]; then echo "sudo required"; exit; fi echo -n "VPN_PASSWORD" | sudo openconnect --protocol=gp --user=VPN_USERNAME --passwd-on-stdin https://VPN_DOMAIN_NAME #END CODE 3. Save the shell script and execute. 3.1. Using the shell command. user@host: $ sh myshellscript.sh 3.2. By itself after changing the mode to executable. user@host: $ chmod +x myshellscript.sh user@host: $ ./myshellscript.sh ==========