暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

Debian作为编程开发最佳Linux,计算机安装Debian11桌面版镜像后必须做的一些配置【推荐】

捷创源科技 2022-01-23
1327


选择Debian作为编程开发最佳Linux的理由:
Debian是面向程序员的最古老,最出色的Linux发行版之一。Debian提供了具有.deb软件包管理兼容性的超稳定发行版。Debian为程序员提供了许多最新功能。因此,它具有一个特殊的编程空间。Debian是开发人员友好的操作系统。这些库是世界一流的,并且社区在不断发展,您可以使用apt-get和build-dep。对于系统管理员和高级程序员而言,Debian是最好的选择。

Debian更适合于作为服务器的操作系统,它比Ubuntu要稳定得多。Debian整个系统基础核心非常小,不仅稳定,而且占用硬盘空间小,占用内存小。128M的VPS即可以流畅运行Debian,而Ubuntu则会略显吃力。


这里对于Debian11安装过程,不做详细介绍,自行百度即可。只介绍计算机安装Debian11桌面版镜像后必须做的一些配置。


Debian11下载地址:

    https://mirrors.aliyun.com/debian/
    复制
      https://mirrors.aliyun.com/debian-archive/
      复制
        https://repo.huaweicloud.com/debian-cd/
        复制


        计算机安装Debian11桌面版镜像后必须做的一些配置:


        1.Debian11切换root用户方法
        输入su命令后再输入root密码

          su
          复制




          2.解决用户名不在sudoers文件中此事将被报告问题
          出现这个提示,就是这个用户没法得到超级用户权限。怎么办?变成超级用户:
          2.1切换到root用户

            su
            复制

            2.2编辑/etc/sudoers文件,添加用户名 ALL=(ALL:ALL) ALL

              vi /etc/sudoers
              复制

              在root ALL=(ALL:ALL) ALL下面添加:

                用户名 ALL=(ALL:ALL) ALL
                复制

                3.Debian11镜像更新为阿里巴巴开源镜像站镜像
                3.1切换到root用户

                  su
                  复制

                  3.2编辑/etc/apt/sources.list文件

                    vi /etc/apt/sources.list
                    复制

                    在文件最前面添加以下条目(操作前请做好相应备份)

                      deb http://mirrors.aliyun.com/debian/ bullseye main non-free contrib
                      deb-src http://mirrors.aliyun.com/debian/ bullseye main non-free contrib
                      deb http://mirrors.aliyun.com/debian-security/ bullseye-security main
                      deb-src http://mirrors.aliyun.com/debian-security/ bullseye-security main
                      deb http://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
                      deb-src http://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
                      deb http://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib
                      deb-src http://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib




                      复制


                      3.3运行命令生成缓存

                        apt-get clean - 删除所有已下载的包文件
                        apt-get update - 取回更新的软件包列表信息
                        apt-get upgrade - 进行一次升级
                        复制

                        4.解决Debian11 文件夹对话框、火狐浏览器、命令终端等没有最大化和最小化的问题
                        应用程序–搜索"优化"–启动–左侧点击窗口标题栏–右侧将最大化、最小化选项打开。



                        文章转载自捷创源科技,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

                        评论