-
First, update your existing list of packages:
->
sudo apt update
-
Next, install a few prerequisite packages which let apt use packages over HTTPS:
->
sudo apt install apt-transport-https ca-certificates curl software-properties-common
export DEBIAN_FRONTEND=noninteractive
sudo apt-get -q -y update
sudo apt-get -q -y install build-essential
sudo apt-get -q -y install cmake
sudo apt-get -q -y install pkg-config
sudo apt-get -q -y install libpng12-0 libpng12-dev libpng++-dev libpng3
sudo apt-get -q -y install libpnglite-dev libpngwriter0-dev libpngwriter0c2
sudo apt-get -q -y install zlib1g-dbg zlib1g zlib1g-dev
To Install ssh server
-> sudo apt-get install openssh-server
SSH uses the current user when accessing a remote server. To specify a user for an SSH connection
-> ssh username@hostname_or_ip
To connect to a remote host with a custom SSH port number, use the -p
flag. For example
sudo nano /etc/dphys-swapfile
Scroll down to the configuration which reads:
CONF_SWAPSIZE=100
-> CONF_SWAPSIZE=1024
This file contains 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
<div id="plotDiv"></div> |