xxxxxxxxxx
sudo passwd root && sudo sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config && sudo systemctl restart sshd
xxxxxxxxxx
// the react query retries the failed api 3 time before declaring an error
const defaultQueryClient = new QueryClient({
defaultOptions: {
queries: {
retry: 0,
},
},
});
xxxxxxxxxx
sudo sed -i -e 's/:\/\/(archive.ubuntu.com\|security.ubuntu.com)/old-releases.ubuntu.com/g' /etc/apt/sources.list