Elainay
链接
往期整理
  •   历史归档
  •   文章分类
  •   文章标签
E1ainay
Article
14
Category
4
Tags
8
链接
往期整理
历史归档
文章分类
文章标签
LanuchPad
DM8168开发指南(1):Linux环境准备
Post on: 2024-11-27
Last edited: 2024-12-16
Views
Linux
DM8168
type
status
date
slug
summary
tags
category
icon
password
comment

电脑环境配置

安装Linux系统

  • 【最详细安装双系统教程(适用于uefi启动模式) - CSDN App】之前安装过一次,这个教程是我见过很不错的了,可在csdn上搜索该标题
  • 建议efi这种分区空间多给点,不然后面很容易报错
  • 安装时选正常安装,把扩展功能等都弄上,后面不用自己装

设置root密码

设置镜像

下载软件

下载包

解压文件

强制重启

  • 如果显卡驱动等没装好,可能会出现屏幕黑屏等各种意外情况,可以强制重启,千万别一直按电源重启,电脑伤害很大
  • 按顺序按以下几个键

    Linux’s Skill

    配置远程服务器的ssh免密登录

    如果已经配置好ssh,输入以下命令
    成功后可以无需输入密码直接ssh登录
    修改ssh的配置文件(~/.ssh/config),内容如下,可实现别名免密登录ssh alias_name

    更改终端配置

    vim ~/.bashrc,打开该文件,我们可以自定义终端,修改完毕后source ~/.bashrc 重载配置
    • 找到PS1,我们可以对命令行提示符进行修改,具体格式可在网上搜索,例如这是我修改后的配置
      • 众所周知,在Linux中没有python,只有python3,我们可以通过取别名在终端中使用python,添加下行代码
        • 我们还可以添加一个触发器,使其在每次显示提示符前监测当前git分支的状态,令其能像git bash一样显示

          vim的使用

          • vim是在Linux中常用的编辑器,熟练的使用也非常重要,在终端中输入vimtutor能带我们详细的学习vim编辑器的使用
            • 我们也可以自定义vim界面,和上节一样,vim ~/.vimrc 修改配置,修改完后就在vim内执行重载:source ~/.vimrc
              • 上述是一些简单配置,同样我们可以设置触发器自定义文章注释
                后面的内容可自行添加,暂时省略…
                 
            • Author:E1ainay
            • URL:https://e1ainay.top/article/DM8168/Linuxenv
            • Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!
            Attacking Vision-Language Computer Agents via Pop-upsEnabling Conversational Interaction with Mobile UI using Large Language Models
            Loading...
            Catalog
            0%
            电脑环境配置安装Linux系统设置root密码设置镜像下载软件下载包解压文件强制重启Linux’s Skill配置远程服务器的ssh免密登录更改终端配置vim的使用
            E1ainay
            E1ainay
            淡泊明志,宁静致远🍃
            Article
            14
            Category
            4
            Tags
            8
            Latest posts
            DroidBot: A Lightweight UI-Guided Test Input  Generator for Android
            DroidBot: A Lightweight UI-Guided Test Input Generator for Android
            2024-12-18
            Attacking Vision-Language Computer Agents via Pop-ups
            Attacking Vision-Language Computer Agents via Pop-ups
            2024-12-16
            DM8168开发指南(1):Linux环境准备
            DM8168开发指南(1):Linux环境准备
            2024-12-16
            Enabling Conversational Interaction with Mobile UI using Large Language Models
            Enabling Conversational Interaction with Mobile UI using Large Language Models
            2024-12-16
            LlamaTouch: A Faithful and Scalable Testbed for Mobile UI Task Automation
            LlamaTouch: A Faithful and Scalable Testbed for Mobile UI Task Automation
            2024-12-16
            OI算法模板与思想记录
            OI算法模板与思想记录
            2024-11-22
            Announcement
            🎉Welcome to My Blog🎉
            📖I’m currently a junior in the University of Electronic Science and Technology of China(UESTC),majoring in Software Engineering.
            💡This blog is used to record my learning experiences.
            🥳If you have any suggestions,I’d be very glad to communicate with you!
             
            Catalog
            0%
            电脑环境配置安装Linux系统设置root密码设置镜像下载软件下载包解压文件强制重启Linux’s Skill配置远程服务器的ssh免密登录更改终端配置vim的使用
            2024-2025E1ainay.

            Elainay | 淡泊明志,宁静致远🍃

            Powered byNotionNext 4.7.8.