Skip to content
Advertisement

tinyproxy: How to manually install the most recent version 1.11.0 on Ubuntu? [closed]

I would like to install the most recent tinyproxy version 1.11.0 on Ubuntu. How can I do that?

Unfortunetly does sudo apt update; sudo apt install tinyproxy -y; not work for me and only gives me the most recent stable version 1.10.0 from 2018.

So I tried to download and unzip the most recent version on GitHub https://github.com/tinyproxy/tinyproxy/releases

But I couldn’t get it to work properly installed yet.

What I tried so far:

JavaScript

The installation seems to have been working somehow as tinyproxy -v returns: tinyproxy 1.11.0

But I now can not run following command which I would usually do:

JavaScript

As there is no tinyproxy folder inside /etc/ listed yet. :/


(Also sudo lsof -i:8888 doesn’t show any listing server yet)


Documentations:

http://tinyproxy.github.io/


Tried under AWS EC2 Ubuntu Server 20.04 LTS (HVM), SSD Volume Type

Advertisement

Answer

  1. Make sure you update the system with the latest packages
JavaScript
JavaScript

You can reboot the server if a new kernel is available

JavaScript
  1. Install the build tools:
JavaScript
  1. Download the source code and build the software
JavaScript

Important directories/files to track:

JavaScript
  1. Configure the software

Symlink the configuration folder

JavaScript

Check the nobody user group

JavaScript

Since nobody is assigned to the nogroup group, change the Group element in tinyproxy config from nobody group to nogroup

JavaScript

Configure the rest of tinyproxy to your expectations (here is the minimal setup)

JavaScript

Test the connection

JavaScript
  1. Create a service to run tinyproxy
JavaScript
JavaScript
  1. Start the service and check if everything is working fine
JavaScript
JavaScript

Install net-tools to check the listening ports

JavaScript
JavaScript
JavaScript
  1. Extras

a) Logging and Pid file

Prepare pid and log directories

JavaScript

Add pid and log parameters into tinyproxy config

JavaScript

Restart service

JavaScript

b) Process limits

JavaScript
JavaScript

To bump up those, edit the /lib/systemd/system/tinyproxy.service file and add the following lines in the [Service] section

JavaScript

Then reload systemd and restart the service

JavaScript

Check the results

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement