wonderful.census.internet-measurement.com
here.SoldCafe.com
security.criminalip.com
azpdcsb97.stretchoid.com
azpdcsb36.stretchoid.com
www.internet-albedo.net
scanner-02.ch1.censys-scanner.com
sudo iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
sudo iptables -A INPUT -m conntrack --ctstate NEW -m recent --set --name PORTSCAN --rsource
sudo iptables -A INPUT -m conntrack --ctstate NEW -m recent --update --seconds 60 --hitcount 5 --name PORTSCAN --rsource -j DROP
curl -sfL https://get.k3s.io | INSTALL_K3S_CHANNEL=latest INSTALL_K3S_EXEC="server" sh -s - --disable servicelb,traefik
References
sudo systemctl stop snapd && sudo systemctl disable snapd
# Workaround for https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1998710
# This command is needed starting from Ubuntu 22.10
# Without it an error is returned when running the snapd purge command
# In that case you need to reinstall snapd to cleanly remove it in a second attempt
rclone copy /root my-s3:/root -P --transfers 6 --multi-thread-cutoff 1P --s3-upload-cutoff=4000M --multi-thread-streams 0 --exclude "node_modules/**" --exclude ".git/**" --exclude ".cache/**" --exclude "postgres/**"
rclone mount idrive-e2: ~/mount/idrive --vfs-cache-mode minimal --daemon --allow-non-empty --allow-other --vfs-fast-fingerprint --no-modtime
Here is the sample code HDD Speedtest benchmark for VPS
apt-get install hdparm
# Read
hdparm -t /dev/sda
# Write
hdparm -t --direct /dev/sda
First of all, I must say that I'am not a fan or user of Ubuntu. This is just a guide for newcomers, and colleagues that are struggling after the new release with the system changes.
Right after fresh install, you must do a system update. Don't delay it, but first, let's configure repositories. Delete the new config for repositories, this can cause problems or new users can get lost configuring it, have friends reporting me that:
sudo rm /etc/apt/sources.list.d/ubuntu.sources
This file contains 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
#!/bin/bash | |
## Model that I use | |
## 1. AXT-1800 | |
## 2. AR-750s | |
#### | |
# Replace 172.20.10.1 and 172.20.10.6 to your mobile 4g/5g hotspot | |
# I use Iphone | |
# 172.20.10.1 is the gateway | |
# 172.20.10.6 is the IP address for client |
This file contains 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
# You got this warning -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) | |
# Solution | |
locale-gen en_US.UTF-8 | |
# Choose en_US.UTF-8 | |
dpkg-reconfigure locales | |
# Edit | |
nano /etc/default/locale |
NewerOlder