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:
sudo apt update;
... [loading the unzipped tinyproxy 1.11.0 folder via own GitHub repo]
cd OwnGitHubRepo/tinyproxy-1.11.0
sudo apt-get install build-essential -y
sudo apt install autoconf -y
autoconf
./configure
make
sudo make install
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:
sudo /etc/init.d/tinyproxy restart;
As there is no tinyproxy folder inside /etc/ listed yet. :/
(Also sudo lsof -i:8888 doesn't show any listing server yet)
Documentations:
Tried under AWS EC2 Ubuntu Server 20.04 LTS (HVM), SSD Volume Type
You can reboot the server if a new kernel is available
Important directories/files to track:
Symlink the configuration folder
Check the nobody user group
Since nobody is assigned to the nogroup group, change the Group element in tinyproxy config from nobody group to nogroup
Configure the rest of tinyproxy to your expectations (here is the minimal setup)
Test the connection
Install net-tools to check the listening ports
a) Logging and Pid file
Prepare pid and log directories
Add pid and log parameters into tinyproxy config
Restart service
b) Process limits
To bump up those, edit the /lib/systemd/system/tinyproxy.service file and add the following lines in the [Service] section
Then reload systemd and restart the service
Check the results