-
-
Notifications
You must be signed in to change notification settings - Fork 9
Setup (MISC)
manx52 edited this page Jul 23, 2024
·
1 revision
to remove git lfs stuff use git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch docs/_static' HEAD
- https://askubuntu.com/questions/852527/how-do-i-stop-ubuntu-from-asking-for-my-password-every-time-i-install-something
- https://askubuntu.com/questions/799669/etc-sudoers-file-corrupted-and-i-cant-run-pkexec-visudo-over-ssh/1053617#1053617
- Run
sudo gedit /etc/network/interfaces
and add
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-essid myssid
wpa-psk mypasscode
- Restart interface
sudo ifdown wlan0 && sudo ifup -v wlan0
- Install GNU Parallel
wget https://ftpmirror.gnu.org/parallel/parallel-20230822.tar.bz2
wget https://ftpmirror.gnu.org/parallel/parallel-20230822.tar.bz2.sig
gpg parallel-20230822.tar.bz2.sig
bzip2 -dc parallel-20230822.tar.bz2 | tar xvf -
cd parallel-20230822
./configure && make && sudo make install
- Create 'sudo gedit ~/github_runners.sh' and add
#!/usr/bin/env bash
cd ~
parallel -u ::: './actions-runner/run.sh' './actions-runner2/run.sh' './actions-runner3/run.sh' './actions-runner4/run.sh'
- Give permission
sudo chmod 755 ~/github_runners.sh
- Run
./~/github_runners.sh
- Or add to startup
- Run a Cron Job at Boot Time
sudo crontab -e
choose 1 - add
@reboot /home/jonathan/github_runners.sh
- Run
sudo systemctl status cron.service
andsudo systemctl enable cron.service
to verify its running
sudo apt-get --purge remove nvidia-*
sudo ubuntu-drivers autoinstall
Switch to nvidia driver metapackage only proprietary