摘要: Node不建议使用太高的版本,18.19.0就足够了 nvm list availablenvm install 18.19.0nvm use 18.19.0nvm ls npm config get registryhttps://registry.npmmirror.com/ npm confi 阅读全文
posted @ 2024-01-21 21:54 心若向阳,次第花开 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 关闭虚拟机 wsl --shutdown 查看虚拟机是否已经关闭 wsl --list --running 在Win11下开启嵌套的VM notepad %USERPROFILE%\.wslconfig.txt[wsl2]nestedVirtualization=true 安装JDK并配置环境变量 阅读全文
posted @ 2024-01-21 20:48 心若向阳,次第花开 阅读(89) 评论(0) 推荐(0) 编辑
摘要: Ubuntu 下自带Python。 python3 -Vpython3 --versionPython 3.10.12 sudo apt-get install python3-pip pip -Vpip3 --version pip 22.0.2 from /usr/lib/python3/dis 阅读全文
posted @ 2024-01-14 14:07 心若向阳,次第花开 阅读(18) 评论(0) 推荐(0) 编辑
摘要: wget https://downloads.apache.org/kafka/3.6.1/kafka_2.13-3.6.1.tgz sudo mkdir /usr/local/kafka-server && cd $_ sudo tar -xvzf ~/kafka_2.13-3.6.1.tgz - 阅读全文
posted @ 2024-01-14 08:59 心若向阳,次第花开 阅读(19) 评论(0) 推荐(0) 编辑
摘要: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash source /home/cc/.bashrc command -v nvm nvm --version # 安装指定的版本nvm insta 阅读全文
posted @ 2024-01-14 05:53 心若向阳,次第花开 阅读(43) 评论(0) 推荐(0) 编辑
摘要: # 查看宿主主机IPip route | grep default | awk '{print $3}'cat /etc/resolv.conf # 查看本机IPip a |grep "global eth0"hostname -I | awk '{print $1}' # 安装MySQL客户端su 阅读全文
posted @ 2024-01-13 23:18 心若向阳,次第花开 阅读(13) 评论(0) 推荐(0) 编辑
摘要: sudo sed -i 's/http:\/\/archive.ubuntu.com/https:\/\/mirrors.ustc.edu.cn/g' /etc/apt/sources.listsudo apt update && sudo apt upgrade -ysudo apt instal 阅读全文
posted @ 2024-01-13 22:36 心若向阳,次第花开 阅读(31) 评论(0) 推荐(0) 编辑
摘要: sudo sed -i 's/http:\/\/archive.ubuntu.com/http:\/\/mirrors.aliyun.com/g' /etc/apt/sources.list sudo apt update && sudo apt upgrade -ysudo apt-get upd 阅读全文
posted @ 2023-09-20 21:37 心若向阳,次第花开 阅读(6) 评论(0) 推荐(0) 编辑
摘要: Laravel入门CRUD 阅读全文
posted @ 2023-09-17 17:24 心若向阳,次第花开 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 安装Redis Server sudo add-apt-repository ppa:redislabs/redissudo apt updatesudo apt install redis-server redis-cli -h 127.0.0.1 -p 6379 pingsudo systemc 阅读全文
posted @ 2023-09-17 16:01 心若向阳,次第花开 阅读(22) 评论(0) 推荐(0) 编辑