# Ubuntu Install **Repository Path**: jswrt/ubuntu-install ## Basic Information - **Project Name**: Ubuntu Install - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-06-06 - **Last Updated**: 2024-08-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Ubuntu Install # Install - pip3 sudo apt install python3-pip - pytorch pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu -i https://pypi.tuna.tsinghua.edu.cn/simple ### 在Mac OS X系统下 用dd命令将iso镜像写入u盘 - 找出U盘挂载的路径,使用如下命令:diskutil list - 将U盘unmount(将N替换为挂载路径):diskutil unmountDisk /dev/disk[N] - 写入U盘:sudo dd if=iso路径 of=/dev/rdisk[N] bs=1m rdisk 中加入r可以让写入速度加快 - sudo dd if=ubuntu-22.04.4-desktop-amd64.iso of=/dev/disk2 bs=1m status=progress ### CUDA Toolkit 12.3 Downloads - https://developer.nvidia.com/cuda-12-3-0-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=22.04&target_type=deb_local ### Python 3.12.3 - https://ubuntuhandbook.org/index.php/2023/05/install-python-3-12-ubuntu/ - https://getiot.tech/zh/python/install-python-3-12-ubuntu/ # mailu - https://einverne.github.io/post/2021/07/email-server-mailu.html#google_vignette - 安装 docker - sudo add-apt-repository "deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu $(lsb_release -cs) stable" - sudo apt-get install docker-ce docker-ce-cli containerd.io -y - systemctl start docker - systemctl enable docker - 安装 docker-compose - curl -fsSL https://get.docker.com | bash -s docker - curl -L "https://github.com/docker/compose/releases/download/1.26.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose - chmod +x /usr/local/bin/docker-compose - https://setup.mailu.io/2024.06/ - https://setup.mailu.io/2024.06/setup/3e240d24-ce10-4548-a6aa-4762ab46c3fe - cd /mailu - wget https://setup.mailu.io/2024.06/file/3e240d24-ce10-4548-a6aa-4762ab46c3fe/docker-compose.yml - wget https://setup.mailu.io/2024.06/file/3e240d24-ce10-4548-a6aa-4762ab46c3fe/mailu.env - docker compose -p mailu up -d - docker compose -p mailu exec admin flask mailu admin admin app123.fun PASSWORD