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
# Kill all processes running on port 80 | |
sudo lsof -t -i tcp:80 -s tcp:listen | sudo xargs kill |
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
# Connecting to Your VPS Using SSH - Start with establishing a secure connection to your VPS, ensuring a safe and exclusive access environment for your deployment. | |
# Updating the VPS - Keep your server up to date with the latest packages and security patches to ensure optimal performance and security. | |
sudo apt-get update and sudo apt-get upgrade | |
# Install Node.js: | |
#For the latest Node.js versions, visit the official Node.js package manager installation guide: https://nodejs.org/en/download/packag... | |
# Install git: | |
sudo apt-get install git-all |
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
# update packages | |
sudo apt update | |
sudo apt upgrade | |
# install wget | |
sudo apt install goaccess |
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
# update packages | |
sudo apt update | |
sudo apt upgrade | |
# install wget | |
sudo apt install wget | |
# install netdata | |
wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh --stable-channel --disable-telemetry | |
# now netdata is running on http://localhost:19999 or on http://<vps_ip_address>:19999 |