Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu relatives #10

Open
yufang67 opened this issue Aug 20, 2020 · 0 comments
Open

Ubuntu relatives #10

yufang67 opened this issue Aug 20, 2020 · 0 comments
Labels

Comments

@yufang67
Copy link
Owner

yufang67 commented Aug 20, 2020

Enable/disable firewall

https://linuxconfig.org/how-to-enable-disable-firewall-on-ubuntu-18-04-bionic-beaver-linux

sudo ufw status
sudo ufw status verbose

sudo ufw enable
sudo ufw disable

sudo ufw allow ssh
sudo ufw allow 22

sudo ufw allow http
sudo ufw allow 80

sudo ufw allow 6000:6007/tcp
sudo ufw allow 6000:6007/udp

sudo ufw allow from 203.0.113.4
sudo ufw allow from 203.0.113.4 to any port 22

VScode does not work

error: x io error received (x server probably went away)

sudo sed -i 's/BIG-REQUESTS/_IG-REQUESTS/' /usr/lib/x86_64-linux-gnu/libxcb.so.1

change password

sudo passwd

Error

vscode: /usr/share/code/bin/../code: error while loading shared libraries: libxcb-dri3.so.0

sudo apt install chromium-browser -y

Ref

https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-with-ufw-on-ubuntu-18-04

microsoft/vscode#3451

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant