Created
June 10, 2023 21:21
-
-
Save ucalyptus2/4c299f7d79d7dbc75040c8615e2fb7dd 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
curl -fsSL https://code-server.dev/install.sh | sh | |
# Use sed to modify bind-addr | |
sed -i 's/^bind-addr:.*$/bind-addr: 127.0.0.1:4040/' ~/.config/code-server/config.yaml | |
# Use sed to modify password | |
sed -i 's/^password:.*$/password: s/' ~/.config/code-server/config.yaml | |
curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null && echo "deb https://ngrok-agent.s3.amazonaws.com buster main" | sudo tee /etc/apt/sources.list.d/ngrok.list && sudo apt update && sudo apt install ngrok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment