This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Install Python3.9 interpreter on ubuntu 18.04 | |
| [From here](http://devmartin.com/blog/2016/04/creating-a-virtual-environment-with-python3.4-on-ubuntu-16.04-xenial-xerus/), we can pretty much follow the exact same procedure. | |
| Only this I needed to on top of that blog was the `libffi-dev` system dependency. | |
| On a terminal just do the following steps: | |
| Install dependencies: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Run as root | |
| set -e | |
| apt-get update | |
| apt-get install -y build-essential | |
| apt-get install -y libncurses5-dev | |
| useradd mysql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Decoding the data in /proc/net/tcp: | |
| Linux 5.x /proc/net/tcp | |
| Linux 6.x /proc/PID/net/tcp | |
| Given a socket: | |
| $ ls -l /proc/24784/fd/11 | |
| lrwx------ 1 jkstill dba 64 Dec 4 16:22 /proc/24784/fd/11 -> socket:[15907701] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 1. install dependencies | |
| sudo apt install libncurses5-dev libgnome2-dev libgnomeui-dev \ | |
| libgtk2.0-dev libatk1.0-dev libbonoboui2-dev \ | |
| libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev \ | |
| python3-dev ruby-dev lua5.1 lua5.1-dev libperl-dev git | |
| # 2. remove vim | |
| sudo apt remove vim vim-runtime gvim | |
| sudo apt remove vim-tiny vim-common vim-gui-common vim-nox |