iis服务器助手广告
返回顶部
首页 > 资讯 > 后端开发 > PHP编程 >debian11.7 快速安装及常用功能处理
  • 545
分享到

debian11.7 快速安装及常用功能处理

linux 2023-10-26 10:10:14 545人浏览 泡泡鱼
摘要

一、debian11.7 安装 1.1、下载镜像,不要选择默认的网络镜像,选择那个3.5-4G的镜像, debian-11.7.0-amd64-DVD-1.iso 1.2、移除网络  把wifi或者网线断掉 1.3、快速安装 Debian1

一、debian11.7 安装

1.1、下载镜像,不要选择默认的网络镜像,选择那个3.5-4G的镜像,

debian-11.7.0-amd64-DVD-1.iso

1.2、移除网络

 把wifi或者网线断掉

1.3、快速安装

Debian11系统安装_下雨天的太阳的博客-CSDN博客

1.4、允许ssh通过root远程操作

vi /etc/ssh/sshd_config

找到#PermitRootLogin prohibit-passWord  【在33行附近】,添加

PermitRootLogin yes

1.5、插上网线,并配置静态IP

 ip addr #查看当前IP 
vi /etc/network/interfaces

在文件底部添加:xxxx为的网络号(我的是ens33)

静态ipauto xxxxxxiface xxxxxx inet static      address 192.168.239.140      netmask 255.255.255.0      gateway 192.168.239.2

1.6、关机、移除ISO、开机

二、debian-阿里源

debian镜像_debian下载地址_debian安装教程-阿里巴巴开源镜像站 (aliyun.com)

三、debian sudo问题

apt install sudosudo usermod -aG sudo root

四、时间同步

hwclock  --hctosys (将硬件-服务器的时间同步到系统里)

五、ssh工具--复制黏贴选中重影

echo "set enable-bracketed-paste off" >> ~/.inputrc

六、最好做镜像---debian更新

apt-get cleanapt update -y apt upgrade -y# 解决依赖apt dist-upgradeapt full-upgradereboot


 

七、postgresql安装时注意要安装下面两个东西

apt-get install -y gnupgapt-get install -y gnupg2

来源地址:https://blog.csdn.net/jueqi6962/article/details/128025862

--结束END--

本文标题: debian11.7 快速安装及常用功能处理

本文链接: https://www.lsjlt.com/news/456848.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作