It’s been a long time coming and finally “TheChrisTech” has created a new StorJ Dashboard! Forked from the original anclrii, TheChrisTech’s version no longer requires outdated plugins! Download the latest dashboard here
Archives: Ubuntu
Installing Windows 11 VM in ESXI 7.0
Found this fix for “This PC Can’t run Windows 11 — The PC doesn’t meet the minimum requirements to install this version of Windows”
Resize Ubuntu LVM Partition
Ensure the VM has the capacity to expand (ESXI)
sudo lvdisplay
sudo lvextend -L 2T /dev/ubuntu-vg/lv-0
Clear Terminal Command History Permanently
cat /dev/null > ~/.bash_history && history -c && exit
Fixing cloud-init [1453]: – cc_final_message.py[WARNING]: Used fallback datasource
Depending on the server configuration, I’ve noticed at the end of the boot cycle Ubuntu throws this error:
cloud-init [1416]: Cloud-init v. 23.3.3-0ubuntu0~22.04.1 running ‘modules:config’
cloud-init [1453]: Cloud-init v. 23.3.3-0ubuntu0~22.04.1 running ‘modules:final’
cloud-init [1453]: Cloud-init v. 23.3.3-0ubuntu0~22.04.1 finished
Datasource DataSourceNone.
cloud-init [1453]: – cc_final_message.py[WARNING]: Used fallback datasource
You can disable this portion of the boot by typing:
sudo touch /etc/cloud/cloud-init.disabled
MOTD Not Loading On Login
Remove current installation:
sudo apt remove update-notifier update-notifier-common
Install new:
sudo apt-get update -y
sudo apt-get install -y update-notifier-common
Change SSH Port Number
To help prevent/slow any brute force attacks while still having SSH enabled, its a good idea to change your SSH port from the default 22 to something at least 5 digits.
Install “netstat”:
sudo apt install net-tools
Check to see current SSH port:
sudo netstat -tulnp | grep ssh
Check to see current sshd_config configuration:
grep -i port /etc/ssh/sshd_config
Open the sshd_config and search for: “#Port 22”
sudoedit /etc/ssh/sshd_config
Uncomment and change the port number to your preference
Save sshd_config and restart SSH service:
sudo systemctl restart sshd
Confirm SSH daemon now listens to new port:
sudo netstat -tulpn | grep ssh
If necessary add new port to firewall:
sudo ufw allow 38651/tcp
Remove old ports:
sudo ufw status
sudo ufw status numbered
sudo ufw delete #
Permission denied
After running command sudo docker stop <container
> I received the below error.
ERROR:
Error response from daemon: cannot stop container: storagenode: permission denied
SOLUTION:
sudo aa-remove-unknown
Updating StorJ on Synology & Ubuntu
Shutdown
sudo docker stop -t 300 storagenode
Start
sudo docker start storagenode
List containers
sudo docker container ls
Update Ubuntu
sudo apt update
sudo apt upgrade -y
sudo reboot
Set Synology to auto-update.