streisand icon indicating copy to clipboard operation
streisand copied to clipboard

HOWTO Install on Ubuntu 20.04

Open kassemz opened this issue 4 years ago • 6 comments

Hi guys

I put together the fixes for the different issues that is found around here in the issues section (thanks for sharing!) and I also updated a few things so it works on Ubuntu 20.04. OpenConnect and Tinyproxy aren't working (you need to say no when installing) but OpenVPN and Shadowsocks and Wireguard are working fine. Also only DigitalOcean and Existing server install methods are working (I tested these only).

Updated repo: https://github.com/kassemz/streisand Commit: https://github.com/kassemz/streisand/commit/123fe63de4b198e137ed3a75c80160921d3ff4dc

kassemz avatar Dec 19 '20 23:12 kassemz

Hey, glad you've taken the initiative to update some of the scripts!

I've given this a run with default settings (except saying No to OpenConnect and Tinyproxy), and i've hit into a fatal error here:

TASK [gpg : create S.dirmngr directory if it does not exist] ***************************************************************************************************************************************** fatal: [18.139.80.34]: FAILED! => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "msg": "/root/.gnupg/S.dirmngr already exists as a file", "owner": "root", "path": "/root/.gnupg/S.dirmngr", "size": 0, "state": "file", "uid": 0}

nhua6456 avatar Dec 20 '20 11:12 nhua6456

Hi @nhua6456

You are running this on a fresh server with Ubuntu 20.04 image?

kassemz avatar Dec 20 '20 13:12 kassemz

Hi guys

I put together the fixes for the different issues that is found around here in the issues section (thanks for sharing!) and I also updated a few things so it works on Ubuntu 20.04. OpenConnect and Tinyproxy aren't working (you need to say no when installing) but OpenVPN and Shadowsocks and Wireguard are working fine. Also only DigitalOcean and Existing server install methods are working (I tested these only).

Updated repo: https://github.com/kassemz/streisand Commit: kassemz@123fe63

Thanks for this. I wanted to try this but I can't seem to clone it. Did I do something wrong? Here is what happened:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ mememe@MacBook-Pro ~ % git clone https://github.com/kassemz/streisand.git Cloning into 'streisand'... [email protected]: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

ddvzlnz avatar Jan 05 '21 18:01 ddvzlnz

@ddvzlnz

The repo is public and you should be able to clone it with no issues.

Are you able to clone the main repo? git clone https://github.com/StreisandEffect/streisand.git

These links might be helpful: https://stackoverflow.com/questions/12940626/github-error-message-permission-denied-publickey https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/error-permission-denied-publickey

kassemz avatar Jan 05 '21 22:01 kassemz

Hi @nhua6456

You are running this on a fresh server with Ubuntu 20.04 image?

@kassemz I am getting the same with fresh AWS Ubuntu 20.04 image

me91st avatar May 12 '21 06:05 me91st

@kassemz I am getting the same with fresh AWS Ubuntu 20.04 image I set the environment variable ANSIBLE_SSH_USER=ubuntu and it didn’t work

fatal: [localhost]: FAILED! => {"changed": false, "gid": 0, "group": "root", "mode": "0700", "msg": "/root/.gnupg/S.dirmngr already exists as a file", "owner": "root", "path": "/root/.gnupg/S.dirmngr", "size": 0, "state": "file", "uid": 0}

disburden avatar May 29 '21 12:05 disburden