sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.7 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.6 2
sudo update-alternatives --config python
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
# Update all packages to the latest version | |
1. sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y | |
# Install DNS Service Discovery for Zeroconf Networking | |
2. sudo apt install avahi-daemon avahi-discover avahi-utils libnss-mdns mdns-scan | |
# Set Hostname | |
3. sudo nano /etc/hostname | |
sudo nano /etc/hosts | |
sudo hostname <my_machine> |
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
https://linuxhint.com/change_mysql_data_directory_ubuntu/ | |
-> sudo grep -R --color datadir /etc/mysql/* | |
-> sudo systemctl stop mariadb | |
sudo systemctl status mariadb | |
sudo service mariadb stop | |
sudo service mariadb status | |
https://www.digitalocean.com/community/tutorials/how-to-change-a-mariadb-data-directory-to-a-new-location-on-centos-7 | |
-> sudo rsync -av /var/lib/mysql /mnt/vault/ |
I hereby claim:
- I am pantunes on github.
- I am pantunes (https://keybase.io/pantunes) on keybase.
- I have a public key ASCFr1IDiZav67arazyeOqSilRXZIYRg4n0KNlO6LLxqago
To claim this, I am signing this object: