All Projects → fastai → fastsetup

fastai / fastsetup

Licence: Apache-2.0 license
Setup all the things

Programming Languages

shell
77523 projects

fastsetup

Setup all the things

First, do basic ubuntu configuration, such as updating packages, and turning on auto-updates:

sudo apt update && sudo apt -y install git
git clone https://github.com/fastai/fastsetup.git
cd fastsetup
sudo ./ubuntu-initial.sh
# wait a couple of minutes for reboot, then ssh back in

Then, optionally, set up dotfiles:

source dotfiles.sh

...and set up conda:

source setup-conda.sh
. ~/.bashrc
conda install -yq mamba

To set up email:

sudo ./opensmtpd-install.sh

To test email, create a text file msg containing a message to send, then send it with:

cat msg |  mail -r "x@$(hostname -d)" -s 'subject' EMAIL_ADDR

Replace EMAIL_ADDR with an address to send to. You can get a useful testing address from mail-tester.

To install NVIDIA drivers, if required:

ubuntu-drivers devices
sudo apt-fast install -y nvidia-XXX
sudo modprobe nvidia
nvidia-smi
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].