Infra Insert 03: Difference between revisions

This page was last edited on 1 February 2024, at 12:31.
(Created page with "<!------------------------> <!-- do not remove this --> <div id="infra##" class="infra-insert"> <!------------------------> '''Tinc Install instructions for Linux:''' We will be using apt to install development tools and dependencies before we download the source code of tinc. First we will download essential packages to compile tinc as a sudo user. sudo apt install build-essential automake libssl-dev liblzo2-dev libbz2-dev zlib1g-dev libncurses5-dev libreadline-dev...")
 
No edit summary
Line 6: Line 6:
'''Tinc Install instructions for Linux:'''
'''Tinc Install instructions for Linux:'''


We will be using apt to install development tools and dependencies before we download the source code of tinc.
We will be using apt to install development tools and dependencies before we download the source code of tinc.  


First we will download essential packages to compile tinc as a sudo user.
First we will download essential packages to compile tinc as a sudo user:


sudo apt install build-essential automake libssl-dev liblzo2-dev libbz2-dev zlib1g-dev libncurses5-dev libreadline-dev  
'''$ sudo apt install build-essential automake libssl-dev liblzo2-dev libbz2-dev zlib1g-dev libncurses5-dev libreadline-dev'''
Navigate into a tmp folder.


cd /tmp
Navigate into a tmp folder:
Download tinc 1.1 with wget and uncompres the downloaded item to a folder with tar.


wget https://www.tinc-vpn.org/packages/tinc-1.1pre17.tar.gz
'''$ cd /tmp
tar xvf tinc-1.1pre17.tar.gz
'''
Navigate into the folder and run the configure file to set tinc up.


cd tinc-1.1pre17  
Download tinc 1.1 with wget and uncompress the downloaded item to a folder with tar:
./configure  
 
Install tinc!
'''$ wget https://www.tinc-vpn.org/packages/tinc-1.1pre17.tar.gz
'''
 
'''$ tar xvf tinc-1.1pre17.tar.gz
'''
 
Navigate into the folder and run the configure file to set tinc up:
 
'''$ cd tinc-1.1pre17  
'''
 
'''$ ./configure  
'''
 
Install tinc:
 
'''$ make
'''
 
'''$ sudo make install
'''


make
sudo make install
Once installed, create a configuration directory. All configurations of tinc will happen in this folder. Using tinc subcommands (like invite / join), result in changes to the files in this folder.
Once installed, create a configuration directory. All configurations of tinc will happen in this folder. Using tinc subcommands (like invite / join), result in changes to the files in this folder.


sudo mkdir -p /usr/local/etc/tinc/
'''$ sudo mkdir -p /usr/local/etc/tinc/
The tinc executable is installed in
'''
 
The tinc executable is installed in:


/usr/local/sbin/tinc  
'''$ /usr/local/sbin/tinc  
'''


This means that you can only run tinc as sudo, since sbin directory saves binary executables that can be ran only by sudo (s+bin)
This means that you can only run tinc as sudo, since sbin directory saves binary executables that can be ran only by sudo (s+bin).


More can be found here: https://git.systerserver.net/queer/networks
More can be found here: https://git.systerserver.net/queer/networks

Revision as of 12:31, 1 February 2024

Tinc Install instructions for Linux:

We will be using apt to install development tools and dependencies before we download the source code of tinc.

First we will download essential packages to compile tinc as a sudo user:

$ sudo apt install build-essential automake libssl-dev liblzo2-dev libbz2-dev zlib1g-dev libncurses5-dev libreadline-dev

Navigate into a tmp folder:

$ cd /tmp

Download tinc 1.1 with wget and uncompress the downloaded item to a folder with tar:

$ wget https://www.tinc-vpn.org/packages/tinc-1.1pre17.tar.gz

$ tar xvf tinc-1.1pre17.tar.gz

Navigate into the folder and run the configure file to set tinc up:

$ cd tinc-1.1pre17

$ ./configure

Install tinc:

$ make

$ sudo make install

Once installed, create a configuration directory. All configurations of tinc will happen in this folder. Using tinc subcommands (like invite / join), result in changes to the files in this folder.

$ sudo mkdir -p /usr/local/etc/tinc/

The tinc executable is installed in:

$ /usr/local/sbin/tinc

This means that you can only run tinc as sudo, since sbin directory saves binary executables that can be ran only by sudo (s+bin).

More can be found here: https://git.systerserver.net/queer/networks