debian11安装备忘
1. 网卡驱动
2. 分辨率
貌似还是有点问题,还要进一步研究一下
参考网址:虚拟机中debian11修改控制台(console)分辨率|linux控制台分辨率|linux console resolution
3. python3.10
chatgpt 3.5生成
# 要在 Debian 11 上安装 Python 3.10,您可以按照以下步骤进行操作:
# 打开终端并以 root 或具有管理员权限的用户身份登录。
# 更新您的系统软件包列表:
apt update
# 安装所需的依赖项:
apt install build-essential libffi-dev libssl-dev zlib1g-dev libncurses5-dev libncursesw5-dev libreadline-dev libsqlite3-dev libgdbm-dev libdb5.3-dev libbz2-dev libexpat1-dev liblzma-dev tk-dev libffi-dev libssl-dev -y
# 下载 Python 3.10 的源代码包:
wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz
# 解压源代码包:
tar -xf Python-3.10.0.tar.xz
# 进入解压后的目录:
cd Python-3.10.0
# 配置 Python 的编译选项:
./configure --enable-optimizations
# 编译并安装 Python:
make -j $(nproc)
make altinstall
# -j $(nproc) 参数用于指定并行编译线程数,以加快编译速度。
# 完成安装后,您可以验证 Python 安装是否成功:
python3.10 --version
# 此命令应显示 Python 3.10 版本信息。
# 现在,您已成功在 Debian 11 上安装了 Python 3.10。
# make altinstall 是一个用于在编译和安装 Python 源代码时的命令。下面解释一下它的含义:
# make 是一个构建软件的命令,它基于 Makefile 文件来执行编译和安装过程。
# altinstall 是 make 命令的一个选项。与 make install 不同,make altinstall 不会覆盖系统默认的 Python 解释器,而是在安装时将新版本的 Python 安装为一个“备用”版本。
# 通过使用 make altinstall,您可以并行安装多个 Python 版本,并且系统仍将保留默认的 Python 版本,不会受到影# 响。您可以通过指定特定的版本号(如 python3.10)来运行安装的 Python 3.10 解释器。这样做可以避免因为替换了 # 系统默认 Python 版本而导致其他依赖的问题。
# 因此,使用 make altinstall 可以安全地将新版本的 Python 安装到系统中,而不会破坏现有的环境。
4. 终端控件
如果感觉bash比较乏味,可以尝试安装其它终端
目前感觉比较简单的一个终端是 fish
# root,不用root的话记得加sudo
apt update
apt install fish
chsh -s /bin/fish
# 最后检查/etc/passwd,确保root的shell和上面的/bin/fish一致
cat /etc/passwd
5. tldr
之前在网上看到的一个可以代替man的指令帮助工具,挺好用的
sudo apt install tldr
# 下载数据
tldr -u
# 查询
# tldr [cmd]
tldr curl
curl
Transfers data from or to a server.Supports most protocols, including HTTP, FTP, and POP3.More information: https://curl.se/docs/manpage.html.
- Download the contents of a URL to a file:
curl {{http://example.com}} --output {{path/to/file}}
- Download a file, saving the output under the filename indicated by the URL:
curl --remote-name {{http://example.com/filename}}
- Download a file, following location redirects, and automatically continuing (resuming) a previous file transfer and return an error on server error:
curl --fail --remote-name --location --continue-at - {{http://example.com/filename}}
- Send form-encoded data (POST request of type application/x-www-form-urlencoded). Use --data @file_name or --data @'-' to read from STDIN:
curl --data {{'name=bob'}} {{http://example.com/form}}
- Send a request with an extra header, using a custom HTTP method:
curl --header {{'X-My-Header: 123'}} --request {{PUT}} {{http://example.com}}
- Send data in JSON format, specifying the appropriate content-type header:
curl --data {{'{"name":"bob"}'}} --header {{'Content-Type: application/json'}} {{http://example.com/users/1234}}
- Pass a username and password for server authentication:
curl --user myusername:mypassword {{http://example.com}}
- Pass client certificate and key for a resource, skipping certificate validation:
curl --cert {{client.pem}} --key {{key.pem}} --insecure {{https://example.com}}
debian11安装备忘的更多相关文章
- 安装 CentOS 后的系统配置及软件安装备忘
安装 CentOS 后的系统配置及软件安装备忘 // */ // ]]> 安装 CentOS 后的系统配置及软件安装备忘 Table of Contents 1 Linux 自举过程 1.1 ...
- MSDE2008安装备忘
MSDE2008安装备忘(适用于WIN7 8 10) 1.系统中必须要VC8.0,即VC2005运行库.2.系统中必须要有.net framework2.0.3.5.4.6运行库.3.windows防 ...
- CentOS安装备忘2
CentOS7安装备忘2 安装过程中不联网,安装完成也不要立刻联网,先关闭远程的服务后再联网更新.安装默认使用English,目的是生成的Home下所有文件夹都是英文的,方便使用. ========= ...
- Sublime Text4(Build 4126) 安装备忘
Sublime Text4(Build 4126) 安装备忘 sublime text 4126 PJ已测可用 打开浏览器进入网站https://hexed.it 打开sublime text4安装目 ...
- windows下matplotlib编译安装备忘
windows下,codeblocks,mingw安装matplotlib. python下一些源码的编译安装,备忘. matplotlib官网编译好的版本只支持到3.3.我不慎刚下了python3. ...
- CentOS7安装备忘
======1 下载CentOS镜像文件:https://www.centos.org/download/http://isoredirect.centos.org/centos/7/isos/x86 ...
- Mint17 一些安装备忘
1,中文输入法: sudo apt-add-repository ppa:fcitx-team/dailybuild-fcitx-master sudo apt-get update sudo apt ...
- centos,nginx安装备忘
# ssh 登录慢解决 vim /etc/ssh/sshd_config UseDNS no # add limitsvi /etc/security/limits.conf* soft nproc ...
- oracle 驱动安装备忘
ubuntu 从oracle官网下载两个必须的rpm包(这里选择的是version12.1.0.2.0, 64位操作系统) oracle-instantclient12.1-basic-12.1.0. ...
- nodejs+express+jade安装备忘
安装步骤 1.安装nodejs,比如安装在E:\nodejs. 确保有两个环境变量 用户环境变量:C:\Users\Administrator\AppData\Roaming\npm 系统环境变量:e ...
随机推荐
- Linux中的info page
Linux系统中除了使用man来查询命名或者相关文件的用法,还可以使用info命令.与man命令不同的是,info命令将数据拆成一个一个段落,每个段落使用单独的页面编写,同时页面中还有类似超链接的功能 ...
- debug技巧之本地调试
大家好啊,我是summo,今天给大家分享一下我平时是怎么调试代码的,不是权威也不是教学,就是简单分享一下,如果大家还有更好的调试方式也可以多多交流哦. 如果看过我文章的同学应该知道我是一个Java开发 ...
- postgresql 开启审计日志
1.审计清单说明 logging_collector --是否开启日志收集开关,默认off,推荐on log_destination --日志记录类型,默认是stderr,只记录错 ...
- linux下nginx安装和配置
一.软件安装 1.环境说明 操作系统:CentOS 7.4 64位 nginx版本:1.16.1 安装日期:2019/10/01 安装用户:root 2.安装运行库 yum -y install gc ...
- 高性能远程桌面Splashtop 居家办公首选软件
2020年,新冠疫情期间,各地提倡远程办公.居家办公.在家里怎么使用办公室的电脑?以Splashtop为代表的远程桌面控制软件也就被越来越多的人知晓和使用了. 什么是Splashtop远程桌面? Sp ...
- linux常见的网络操作命令
1 linux在某个网卡上面添加一条明细路由命令如下 命令的意思是在这台服务器上面添加一条网段为192.168.1.0/24,网关为192.168.2.1,通过eth0这个网卡口出去 ip rout ...
- GPT-4o和GPT-4有什么区别?我们还需要付费开通GPT-4?
GPT-4o 是 OpenAI 最新推出的大模型,有它的独特之处.那么GPT-4o 与 GPT-4 之间的主要区别具体有哪些呢?今天我们就来聊聊这个问题. 目前来看,主要是下面几个差异. 响应速度 G ...
- 电源电路E24系列反馈电阻计算表格
可调电源,包括DCDC.LDO电路的设计中,经常需要计算反馈电阻进行选型.为了提高效率,优化选型采购,抽空做了个表格进行快速计算. 1.一般反馈电阻电路如下. 输出电压公式为:Vout=Vfb*(Rh ...
- tar解压报错——Not found in archive tar: Exiting with failure status due to previous errors
tar解压报错--Not found in archive [root@master software]# tar -xzf scala-2.11.8.tgz /usr/local/ tar: /us ...
- 快速生成树协议(RSTP)基本知识及实验(使用eNSP)
关于生成树协议的知识可参考我的另一个博客:https://www.cnblogs.com/mrlayfolk/p/12242627.html 这篇博文主要介绍快速生成树协议(RSTP)的基本知识.-- ...