随笔分类 - 技术 / linux
摘要:https://deb.nodesource.com/ curl -fsSL https://deb.nodesource.com/setup_22.x | sudo bash - sudo apt-get install -y nodejs
阅读全文
摘要:mac os 下使用 podman machine init podman machine start podman machine stop podman machine set --rootless podman machine start 修改代理 $ podman machine ssh C
阅读全文
摘要:windows 机器去连接远端服务器中的linux系统。linux系统由docker容器启动,默认是root 账号。sshd 默认禁止root账号登陆, 比较简单的是通过ssh的密钥直接登陆。另外,linux 系统不能访问外网,需要传递文件。 linux开启ssh服务 ubuntu系统 servic
阅读全文
摘要:去掉重复, 以及开头的冒号 export LD_LIBRARY_PATH=$(echo $LD_LIBRARY_PATH | awk -F: '{for(i=1;i<=NF;i++) if(!a[$i]++) printf(i>1?":%s":"%s"),$i}' | sed 's/^://') e
阅读全文
摘要:镜像制作 注意 mac 最近的芯片都是arm64架构, 而Linux一般都是 amd64架构 创建 Dockerfile 文件 # FROM ubuntu # 使用阿里云 alinux3 FROM alibaba-cloud-linux-3-registry.cn-hangzhou.cr.aliyu
阅读全文
摘要:#!/bin/bash VARIABLE_NAME="HelloWorld" cat <<'EOF' The variable $VARIABLE_NAME should not be replaced. EOF cat <<EOF In this case, we'll escape the do
阅读全文
摘要:尝试恢复 grub 界面 按e 编辑, ro 后加上 splash nomodeset 按快捷键ctl + alt + F1, 或者 ctl + alt + F2 或者 其他 F3可以图形登录 删除nvidia 相关, reboot 后可以登录图形界面 sudo apt-get remove nvi
阅读全文
摘要:## mintlinux安装docker * 用 Aliyun 代理 ```bash # step 1: 安装必要的一些系统工具 sudo apt update sudo apt -y install apt-transport-https ca-certificates curl software
阅读全文
摘要:> mint linux 下使用virtualbox,安装了 Oracle_VM_VirtualBox_Extension_Pack-6.1.34.vbox-extpack 后。仍然无法使用usb。 * 如下处理。 可能只是最后一句生效了。 ```bash sudo groupadd usbfs s
阅读全文
摘要:* 基于wine模式安装微信. 参考 https://github.com/zq1997/deepin-wine * 在4K屏幕下, 分辨率太高导致字体太小, 如下调整 
浙公网安备 33010602011771号