摘要: 一、下载M芯片的anaconda,并安装 二 、安装GPU版本的pytorch1.安装 Xcode xcode-select --install 2.创建环境 conda create -n torch-gpu python=3.11 conda activate torch-gpu 3.打开pyt 阅读全文
posted @ 2023-07-28 22:56 anakinf 阅读(779) 评论(0) 推荐(0) 编辑
摘要: 唯一解决mac字体发虚的方法[真的没有之一] - 简书 (jianshu.com) 阅读全文
posted @ 2023-07-21 11:29 anakinf 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 1。找到 java.security 文件,/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security下,其中java-8-openjdk-amd64根据自身情况更换。 2。编辑文件前可以先备份)找到文件中存在 jdk.tls.disabledAlgorit 阅读全文
posted @ 2023-04-17 06:36 anakinf 阅读(312) 评论(0) 推荐(0) 编辑
摘要: Ubuntu系统添加新的普通用户,Spring boot 应用运行在普通用户,提高安全性 在使用Ubuntu系统的过程中,一般不建议直接使用root用户,建议新建一个或多个普通用户,平时的大数据实验操作都使用普通用户登录Ubuntu系统。购买了阿里云的云服务器ECS实例以后,就可以打开浏览器,通过网 阅读全文
posted @ 2022-09-28 19:40 anakinf 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 找出能与WSL2连接的那个IP。启动WSL2,在子系统Linux键入如下命令: cat /etc/resolv.conf 如: nameserver 172.27.160.1 172.27.160.1就是我们要找的Windows的IP Address 找出wsl的ip启动WSL2,键入如下命令: $ 阅读全文
posted @ 2022-09-20 19:33 anakinf 阅读(1310) 评论(0) 推荐(0) 编辑
摘要: 下载Golang打开terminal输入 wget https://dl.google.com/go/go1.18.3.linux-amd64.tar.gz解压到/usr/local/lib/ sudo tar -zxvf go1.18.3.linux-amd64.tar.gz -C /usr/lo 阅读全文
posted @ 2022-08-07 12:14 anakinf 阅读(571) 评论(0) 推荐(0) 编辑
摘要: apt-get install -y apt-transport-https ca-certificates curl software-properties-common 3.添加官网docker的GPG密钥 curl -fsSL https://download.docker.com/linux 阅读全文
posted @ 2022-08-07 11:51 anakinf 阅读(1182) 评论(0) 推荐(0) 编辑
摘要: Ubuntu下直接删除 ~/.config/dconf/user文件夹 与 ~/.config/navicat文件夹,即可无限试用 #.config文件夹是隐藏文件 需要输入ls -a才能看到,或打开可视化界面的隐藏文件夹显示 阅读全文
posted @ 2022-05-13 10:33 anakinf 阅读(1526) 评论(0) 推荐(0) 编辑
摘要: 一、ubuntu 220.4 卸载genymotion 进入安装包目录,执行,以下genymotion-3.2.1-linux_x64.bin改成自己安装包名 sudo ./genymotion-3.2.1-linux_x64.bin --uninstall -d /opt/genymobile 阅读全文
posted @ 2022-05-13 08:56 anakinf 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 一、添加用户 sudo useradd anakin -d /home/anakin -m cat /etc/passwd | grep anakin 二、设置密码 sudo passwd anakin 三、给用户添加sudo权限 #增加写权限 sudo chmod u+w /etc/sudoers 阅读全文
posted @ 2022-05-11 16:28 anakinf 阅读(101) 评论(0) 推荐(0) 编辑