Last active
March 13, 2024 17:02
-
-
Save dw5/9c92bed14d0315de3a5e0034a7c1ca07 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
1 sudo apt update && sudo apt dist-upgrade | |
2 git clone | |
3 sudo apt install git | |
4 sudo apt install neofetch screenfetch | |
7 git clone https://github.com/keybase/client | |
8 cd client/packaging/linux | |
9 ls | |
10 bash build_binaries.sh | |
11 KEYBASE_BUILD_ARM_ONLY=1 | |
12 bash build_binaries.sh | |
13 bash build_binaries.sh production | |
14 #apt-get install -y fakeroot reprepro rpm createrepo git wget build-essential curl python python-pip gnupg1 unzip | |
15 #sudo apt install -y fakeroot reprepro rpm createrepo git wget build-essential curl python python-pip gnupg1 unzip | |
16 #sudo apt install go | |
17 sudo apt install golang | |
18 bash build_binaries.sh production | |
19 export KEYBASE_BUILD_ARM_ONLY=1 | |
20 bash build_binaries.sh production | |
21 #sudo apt install yarn # for GUI electron, edit build_binaries.sh so kbfs true, electron false | |
22 bash build_binaries.sh production | |
23 bash /tmp/keybase_build_2023_05_16_105513/binaries/arm64/opt/keybase/post_install.sh | |
24 sudo bash /tmp/keybase_build_2023_05_16_105513/binaries/arm64/opt/keybase/post_install.sh | |
25 bash /tmp/keybase_build_2023_05_16_105513/binaries/arm64/usr/bin/run_keybase | |
26 bash /tmp/keybase_build_2023_05_16_105513/binaries/arm64/usr/bin/keybase | |
32 sudo cp /tmp/keybase_build_2023_05_16_105513/binaries/arm64/opt/ / -r | |
33 sudo cp /tmp/keybase_build_2023_05_16_105513/binaries/arm64/usr/ / -r | |
34 run_keybase | |
35 keybase | |
cd /etc/systemd/user/ | |
sudo wget https://github.com/keybase/client/raw/ef9d97ce5482efabc4bd101ad3bfa306ac641725/packaging/linux/systemd/keybase.service | |
keybase login / keybase signup | |
screen -S kbfsbg | |
sudo apt install fuse | |
kbfsfuse | |
/run/user/1001/keybase/kbfs/ | |
sudo apt update | |
sudo apt install nginx | |
sudo iptables -A INPUT -p tcp -m multiport --dports 80,443 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT | |
sudo iptables -A OUTPUT -p tcp -m multiport --dports 80,443 -m conntrack --ctstate ESTABLISHED -j ACCEPT | |
sudo iptables -I INPUT 5 -m state --state NEW -p tcp --dport 80 -j ACCEPT -m comment --comment "CUSTOM: allow ingress (see SecurityList), for Nginx" | |
/etc/nginx/sites-available/default | |
/var/www/html to /run/user/1001/keybase/kbfs/public/ | |
autoindex on; ## nice to have | |
sudo sytemctl restart nginx | |
# FUSE PERMS FIX | |
sudo nano /etc/nginx/nginx.conf | |
user www-data; to user ubuntu; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment