In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.
This file contains hidden or 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
--- | |
- name: Add proxmox gpg key | |
apt_key: | |
url: http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg | |
state: present | |
- name: Add proxmox repository | |
lineinfile: | |
path: /etc/apt/sources.list | |
line: deb http://download.proxmox.com/debian/pve buster pve-no-subscription |
This file contains hidden or 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
#!/usr/bin/env bash | |
# netplan2NM.sh | |
# Ubuntu server 20.04 Change from netplan to NetworkManager for all interfaces | |
echo 'Changing netplan to NetowrkManager on all interfaces' | |
# backup existing yaml file | |
cd /etc/netplan | |
cp 01-netcfg.yaml 01-netcfg.yaml.BAK |
Hi all. After wanting true color support in Mosh (to use Brow.sh), I also wanted to integrate it more tightly with Windows. Since I reckon more people will be wanting to accomplish this, here is a guide.
- Install Linux Subsystem for Windows if you haven't already (https://docs.microsoft.com/en-us/windows/wsl/install-win10) (I use Ubuntu)
- Make sure you can execute
bash
from a CMD prompt. - Go into the bash environment by executing
bash ~
in CMD prompt - Install Mosh-dev (for up-to-date version) from https://launchpad.net/~keithw/+archive/ubuntu/mosh-dev by doing
sudo add-apt-repository ppa:keithw/mosh-dev
thensudo apt-get update
- Create a new mosh.bat file on your Desktop with the following contents
@echo off
This file contains hidden or 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
sudo apt update && sudo apt upgrade | |
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget | |
sudo apt install build-essential libssl-dev libffi-dev python3-dev xclip xsel python3.6 python-pip3 cython3 -y | |
sudo apt install libsdl2-dev libsdl2-2.0-0 -y | |
sudo apt install libmikmod-dev libfishsound1-dev libsmpeg-dev liboggz2-dev libflac-dev libfluidsynth-dev libsdl2-mixer-dev libsdl2-mixer-2.0-0 -y | |
sudo apt install ffmpeg libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libswscale-dev libswresample-dev libpostproc-dev libsdl2-dev libsdl2-2.0-0 libsdl2-mixer-2.0-0 libsdl2-mixer-dev python3-dev | |
sudo apt install libjpeg-dev libwebp-dev libtiff5-dev libsdl2-image-dev libsdl2-image-2.0-0 -y | |
sudo apt install libfreetype6-dev libsdl2-ttf-dev libsdl2-ttf-2.0-0 -y | |
sudo apt-get install python3-pip build-essential git python3 python3-dev ffmpeg libsdl2-dev libsdl2-image-dev\ | |
libsdl2-mixer-dev libsdl2-ttf-dev libportmidi-dev l |
This file contains hidden or 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
# Download ISO | |
http://www.raspberry-asterisk.org/downloads/ | |
# Download, install and run Raspberry Pi Imager. | |
https://www.raspberrypi.org/downloads/ | |
# Write an empty text file named "ssh" (no file extension) to the root of the directory of the card. When it sees the "ssh" on its first boot-up, Raspberry Pi OS will automatically enable SSH (Secure Socket Shell), which will allow you to remotely access the Pi command line from your PC. | |
# To setup a Wi-Fi connection on your headless Raspberry Pi, create a text file called wpa_supplicant.conf, and place it in the root directory of the microSD card. You will need the following text in the file. | |
country=US |
This file contains hidden or 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
sudo apt update && sudo apt upgade | |
sudo apt install mosh neofetch git nixnote2 guake mypaint qmmp synaptic p7zip-full cheese ntfs-3g openssh-server ffmpeg ettercap-graphical yersinia -y | |
sudo apt install chromium progress gedit nano | |
sudo apt install | |
# Fold@home Manual installation | |
wget https://download.foldingathome.org/releases/public/release/fahclient/debian-testing-64bit/v7.4/fahclient_7.4.4_amd64.deb | |
wget https://download.foldingathome.org/releases/public/release/fahcontrol/debian-testing-64bit/v7.4/fahcontrol_7.4.4-1_all.deb | |
wget https://download.foldingathome.org/releases/public/release/fahviewer/debian-testing-64bit/v7.4/fahviewer_7.4.4_amd64.deb | |
sudo dpkg -i --force-depends fahclient_7.4.4_amd64.deb |
This file contains hidden or 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
# | |
## After initial setup | |
# | |
$ sudo apt update | |
$ sudo apt upgrade -y | |
$ sudo apt-get dist-upgrade -y | |
$ sudo apt install mosh neofetch git vlc nixnote2 guake mypaint qmmp synaptic p7zip-full rar snapd cheese steamlink ntfs-3g openssh openssh-server ffmpeg ettercap-graphical yersinia -y | |
$ sudo snap install core | |
$ sudo snap install snap store | |
$ snap-store |
NewerOlder