AnswerDotAI/fastsetup
关于
配置好所有内容
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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
# If you're using WSL (Windows) use `sudo ./ubuntu-wsl.sh` instead of the above line
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.
NVIDIA drivers
To install NVIDIA drivers, if required:
ubuntu-drivers devices
sudo apt-fast install -y nvidia-XXX{-server}
sudo modprobe nvidia
nvidia-smi
WSL-only:
Install the latest NVIDIA driver on your Windows PC running WSL Then do a special install of cuda
sudo apt-key del 7fa2af80
wget https://developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64/cuda-wsl-ubuntu.pin
sudo mv cuda-wsl-ubuntu.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda-repo-wsl-ubuntu-11-8-local_11.8.0-1_amd64.deb
sudo dpkg -i cuda-repo-wsl-ubuntu-11-8-local_11.8.0-1_amd64.deb
sudo cp /var/cuda-repo-wsl-ubuntu-11-8-local/cuda-*-keyring.gpg /usr/share/keyrings/
sudo apt-get update
sudo apt-fast install -y cuda
nvidia-smi
(WSL-only): Don't worry if nvidia-smi reports "Internal Error" under the "Processes" heading.
If it's working, you should still see part of your GPU name, and how much memory is available in the first heading.
探索相关项目
加载中…