Archivo de la categoría: Nix

How to make a programme continue to run after log out from ssh?

Assuming that you have a program running in the foreground, press ctrl-Z, then: If there is only one job, then you don’t need to specify the job number. Just use disown -h and bg. Explanation of the above steps: You press ctrl-Z. The system suspends the running program, displays a job number and a «Stopped» message and returns you… Leer más »

Quick Tip – Allow unsupported CPUs when upgrading to ESXi 7.0

As outlined in the vSphere 7.0 release notes (which everyone should carefully read through before upgrading), the following CPU processors are no longer supported: Intel Family 6, Model = 2C (Westmere-EP) Intel Family 6, Model = 2F (Westmere-EX) To help put things into perspective, these processors were released about 10 years ago! So this should not come… Leer más »

Adding a putty .ppk key to MacOS SSH terminal.

Converting .ppk key to .pem key on a Mac macOS by default doesn’t recognize .ppk files, so for that, we need to convert it into a .pem file. It can be done easily via homebrew & putty.  Install Homebrew if you are booting into a fresh version of macOS there is a fair chance that… Leer más »

3 handy command-line internet speed tests – bandwidth

Speedtest Speedtest is an old favorite. It’s implemented in Python, packaged in Apt, and also available with pip. You can use it as a command-line tool or within a Python script. Install it with: or Then run it with the command speedtest: $ speedtestRetrieving speedtest.net configuration…Testing from CenturyLink (65.128.194.58)…Retrieving speedtest.net server list…Selecting best server based on ping…Hosted by… Leer más »

How to Install MongoDB 3.2 on CentOS 7.x and RHEL 7.x

Step:1 Configure MongoDB 3.2 yum Repository. In both Operating system RHEL7.x and CentOS 7.x yum repositories are kept in ‘/etc/yum.repos.d/’ directory.  Create the mongodb repository file with the name “mongodb-org.repo”. [root@mongodb ~]# cd /etc/yum.repos.d/ [root@mongodb yum.repos.d]# vi mongodb-org.repo name=MongoDB 3.2 Repository baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.2/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-3.2.asc Step:2 Install MongoDB package using yum command. To install MongoDB… Leer más »

Enabling jumbo frames to increase the mirroring path MTU

Jumbo Frames Switch: 9216 (untagged) On 1-Gbps and 10-Gbps ports in the mirroring path, you can reduce the number of dropped frames by enabling jumbo frames on all intermediate switches and routers. (The MTU on the switches covered by this manual is 9220 bytes for frames having an 802.1Q VLAN tag, and 9216 bytes for… Leer más »

Pandas Flask

mkdir pandas cd pandas python3 -m venv vpandas Activate the environment Before you work on your project, activate the corresponding environment: . vpandas/bin/activate pip3 install Flask python3 -m flask run –host=0.0.0.0