Programming Environment Tools
Here is a list of some installation guides:
Visual Studio Code Server
Edit the file /lib/systemd/system/code-server.service to create the coder-server service:
[Unit]
Description=code-server
[Service]
Type=simple
User=ubuntu
Group=ubuntu
ExecStart=/usr/local/bin/code-server serve --accept-server-license-terms
Restart=always
[Install]
WantedBy=multi-user.target
Then, start the service and connect your account (status logs for login id):
sudo systemctl start code-server
sudo systemctl status code-server
# if everyhting is well, enable it
sudo systemctl enable code-server
VSCode Online
VSCode Online (Codespaces):
# installation source: https://docs.microsoft.com/en-us/visualstudio/online/reference/vsonline-cli#linux
# usage help: https://docs.microsoft.com/en-us/visualstudio/online/how-to/self-hosting-cli
# For Ubuntu 18.04:
sudo curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
sudo add-apt-repository https://packages.microsoft.com/ubuntu/18.04/prod/
sudo apt-get update
sudo apt-get install vso
vso start
# for other distros:
curl -L https://aka.ms/install-vso-linux | sudo bash
RClone
# Rclone for cloning to remote locations/protocols
sudo apt update
sudo apt install unzip -y
# download and install rclone
wget https://downloads.rclone.org/rclone-current-linux-amd64.zip
unzip rclone-current-linux-amd64.zip
cd rclone*linux-amd64/
sudo mv rclone /usr/bin/
cd ..
sudo rm -R rclone-*.zip rclone*linux-amd64/
# configure it
rclone config
Hugo
# Hugo setup in github codespaces
https://www.isaaclevin.com/post/github-codespaces/
# Hugo installation
curl -L https://github.com/gohugoio/hugo/releases/download/v0.70.0/hugo_0.70.0_Linux-64bit.tar.gz | tar xvz
sudo mv hugo /usr/bin/hugo
hugo version
Monitoring
Prometheus and Grafana
# Prometheus
https://devopscube.com/install-configure-prometheus-linux/
# Grafana
wget https://dl.grafana.com/oss/release/grafana_6.5.2_amd64.deb
sudo dpkg -i grafana_6.5.2_amd64.deb
sudo systemctl daemon-reload
sudo systemctl start grafana-server
sudo systemctl enable grafana-server