摘要: 1、创建java安装目录 root@DESKTOP-1N42TVH:~# mkdir /usr/local/java root@DESKTOP-1N42TVH:~# cd /usr/local/java/ 2、下载jdk安装包,url:https://www.oracle.com/java/tech 阅读全文
posted @ 2022-04-27 23:37 小鲨鱼2018 阅读(4325) 评论(0) 推荐(0) 编辑
摘要: 来源:https://blog.niekun.net/archives/1801.html 在升级到 wsl 2 后发现一些网络问题和之前的 wsl 不一样了,主要是 DNS 解析和 wsl 和 Windows 网络互访问题,这里介绍如何处理。 DNS 解析 wsl 2 使用的 DNS 解析服务器设 阅读全文
posted @ 2022-04-27 19:51 小鲨鱼2018 阅读(5098) 评论(2) 推荐(0) 编辑
摘要: cmd命令:wsl --shutdown 阅读全文
posted @ 2022-04-27 17:21 小鲨鱼2018 阅读(2764) 评论(0) 推荐(0) 编辑
摘要: 1、putty登录出现如下报错: 2、解决方法, 修改配置文件, 重启ssh服务 root@DESKTOP-1N42TVH:/home# vim /etc/ssh/sshd_config 重启ssh服务: root@DESKTOP-1N42TVH:/home# service ssh restart 阅读全文
posted @ 2022-04-27 16:56 小鲨鱼2018 阅读(3414) 评论(0) 推荐(0) 编辑
摘要: 1、问题putty无法连接ubuntu 2、检查网络连接(有ip,网络都不能正常连接) 3、查看防火墙,关闭防火墙 检查网络连接:(网络连接正常了) 4、测试putty,可以正常登录。 阅读全文
posted @ 2022-04-27 16:48 小鲨鱼2018 阅读(1799) 评论(0) 推荐(0) 编辑
摘要: 1、问题, 在启动ssh服务是出现如下问题 2、解决方法 root@DESKTOP-1N42TVH:/home# ssh-keygen -A ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 3、测试 root@DESKTOP-1 阅读全文
posted @ 2022-04-27 13:08 小鲨鱼2018 阅读(3761) 评论(0) 推荐(0) 编辑
摘要: 1、查看状态 root@DESKTOP-1N42TVH:/home# ufw status ## 开启状态 Status: active 2、关闭防火墙 root@DESKTOP-1N42TVH:/home# ufw disable Firewall stopped and disabled on 阅读全文
posted @ 2022-04-27 13:05 小鲨鱼2018 阅读(2413) 评论(0) 推荐(0) 编辑
摘要: 1、win + r wslconfig /l 2、执行如下命令 wslconfig /u Ubuntu 3、检查 wslconfig /l 阅读全文
posted @ 2022-04-27 12:38 小鲨鱼2018 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 1、问题,执行apt-get update时出现如下报错: Err:1 http://archive.ubuntu.com/ubuntu focal InRelease 2、 阅读全文
posted @ 2022-04-27 12:15 小鲨鱼2018 阅读(1923) 评论(0) 推荐(0) 编辑
摘要: 1、 root@DESKTOP-1N42TVH:/home/test/test2# ls Arabidopsis_thaliana.TAIR10.dna.toplevel.fa root@DESKTOP-1N42TVH:/home/test/test2# samtools faidx Arabido 阅读全文
posted @ 2022-04-27 09:54 小鲨鱼2018 阅读(589) 评论(0) 推荐(0) 编辑
摘要: 1、方式1 root@DESKTOP-1N42TVH:/home/test/test2# ls Arabidopsis_thaliana.TAIR10.dna.toplevel.fa root@DESKTOP-1N42TVH:/home/test/test2# java -jar /home/sof 阅读全文
posted @ 2022-04-27 09:51 小鲨鱼2018 阅读(1481) 评论(0) 推荐(0) 编辑
摘要: 1、问题 2、解决方法 root@DESKTOP-1N42TVH:/home/test2# vim /etc/profile ## 在配置文件末尾追加如下两句 export XDG_RUNTIME_DIR=/usr/lib/ export RUNLEVEL=3 source一下: root@DESK 阅读全文
posted @ 2022-04-27 00:37 小鲨鱼2018 阅读(4812) 评论(0) 推荐(0) 编辑