当前位置: 首页 > news >正文

linux Ubuntu KUbuntu 系统安装相关

系统安装

        本来想快到中午的时候调试一下服务器上的http请求接收代码。我的电脑上装的是kali的U盘系统,然后我的U盘居然找不到了(然后之前安装的系统不知道是否是写入软件的原因,没办法解析DNS,我都用的转发的,这让我体验非常差。kali的系统工具很多,界面亲和,并且不用改源啥的操作)。但这次还是准备尝试一下ubuntu系统的安装吧。kubuntu 无需更换源(kubuntu 可以直接看bilibili,支持电源操作)等系列操作,在ubuntu安装完成后,还是重新安装配置了kubuntu,至于每个操作下会不会有error看运气了。(ps:从开始查找并安装完成一个可以顺利使用的操作系统经过了一天的时间,中间我还尝试过安装中文版的ubuntu,但不知道为啥卡在进入系统部分。),下边是一些总结。

  • 安装ubuntu尽可能安装04版本的(也尽可能安装新的版本)
  • 如果某次安装失败了,后续安装总卡住,可以考虑重新烧写一下镜像
  • 安装完成后拔掉U盘,重启时如果报错,可以再重启试试

系统下载

  • https://ubuntu.com/#download
  • Kubuntu is a free, complete, and open-source alternative to Microsoft Windows and Mac OS X which contains everything you need to work, play, or share. Check out the Feature Tour if you would like to learn more!

基础系统盘制作

  • win32diskimager(建议使用)
  • UltraISO

制作系统盘关键的两个步骤

点击菜单栏中的【文件】−【打开】,选择你的ISO路径,选并打开点击菜单栏中的【启动】−【写入硬盘映像】,选择启动光盘点击菜单栏中的【文件】-【打开】,选择你的ISO路径,选并打开\\ 点击菜单栏中的【启动】-【写入硬盘映像】,选择启动光盘点击菜单栏中的【文件】【打开】,选择你的ISO路径,选并打开点击菜单栏中的【启动】【写入硬盘映像】,选择启动光盘

换源change source

sudo  chmod  777   /etc/apt/sources.list
  • go for other locations ->Computer -> etc -> apt -> sources.list
    在这里插入图片描述在这里插入图片描述
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse
apt-get update

在这里插入图片描述
在这里插入图片描述在这里插入图片描述

Ubuntu下firefox无法观看视频

在这里插入图片描述

ffmpeg

sudo apt install ffmpeg

在这里插入图片描述

# if error of above code you can try the beneath terms  on  a ordinary case you should run this 
sudo add-apt-repository ppa:linuxuprising/libpng12
sudo apt update
sudo apt install libpng12-0

在这里插入图片描述修复 Sub-process /usr/bin/dpkg returned an error code (1)

在Ubuntu系统上安装Flash-Player

在这里插入图片描述# 给浏览器添加插件,完成
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

  • 查看系统占用

安装远程控制(向日葵):

wget https://dl-cdn.oray.com/sunlogin/linux/sunloginclientshell-10.1.1.28779-amd64.deb
sudo dpkg -i sunloginclient-11.0.0.36662-amd64.deb

typewritting

打开language support

在这里插入图片描述

sudo apt install fcitx

        然后就行选择即可,这里现实的是kunbutu的情况,ubuntu的设置类似
在这里插入图片描述        kubuntu还需要在输入发里设置一下:

在这里插入图片描述

kubuntu需要自己安装language support

在这里插入图片描述
在这里插入图片描述在这里插入图片描述

error

  • Ubuntu提示 software database is broken 解决办法

  • please use the package manager synaptic
    在这里插入图片描述

  • Ubuntu图形界面Synaptic软件包管理器,让软件的安装卸载变得容易Ubuntu图形界面Synaptic软件包管理器,让软件的安装卸载变得容易

sudo apt-get install -f thunderbird
sudo apt-get remove thunderbird
  • 我可能在ubuntu系统中安装成功了,但还是暂时放弃使用ubuntu了
// https://zhuanlan.zhihu.com/p/206965395
sudo apt-get install  language-pack-zh-han*

在这里插入图片描述

向日葵 for Linux

  • https://sunlogin.oray.com/download/linux?type=personal&ici=sunlogin_navigation

error

dpkg: 处理软件包 sunloginclient (--install)时出错:依赖关系问题 - 仍未被配置
正在处理用于 mailcap (3.70+nmu1ubuntu1) 的触发器 ...
正在处理用于 desktop-file-utils (0.26-1ubuntu3) 的触发器 ...
在处理时有错误发生:sunloginclient

handle

sudo apt install -f -y

Cmake

  • sudo apt-get install vim g++ codelite cmake (command install)
  • 如果命令出错可以:
  • https://cmake.org/download/
  • tar zxvf cmake-3.21.1.tar.gz
  • cd cmake-3.21.1
  • chmod +x bootstrap
  • sudo ./bootstrap
  • sudo make
  • sudo make install
  • cmake --version

CG

更多软件

[安装qq](https://im.qq.com/linuxqq/download.html)
[玩玩俄罗斯方块](https://linux.cn/article-9270-1.html)
[wine模拟器](http://www.360doc.com/content/13/1127/20/9206388_332662596.shtml)
https://soft.3dmgame.com/down/198972.html
[安装gif软件](https://zhuanlan.zhihu.com/p/74926901)
[wps](https://blog.csdn.net/u014132947/article/details/79847655)
[Linux(Ubuntu)不好用吗?是因为你没有安装这些软件](https://zhuanlan.zhihu.com/p/39052366)
[解决GPT无法安装](http://m.dnxtc.net/zixun/zhuangjijiaocheng/2020-03-11/4913.html)
[如何在 Windows 11 上将基本磁盘转换为动态磁盘](https://www.yundongfang.com/Yun80687.html)
  • Cmake https://blog.csdn.net/qq_41573860/article/details/119918615

报错

  • 启动报错:异常关闭之后 (比如直接断电)failed to mount /sysroot , 可以在启动选项中选择恢复选项
  • 解决火狐浏览器“Firefox 检测到潜在的安全威胁,并因xxx.sit.xxx.net 要求安全连接而没有继续”问题(无接受风险并继续按钮)如果网络正常链接的话,可以尝试以上方法

修复命令

sudo apt-get install -f # https://www.freesion.com/article/1774610559/

linux基础命令

查看系统架构arch
系统root用户密码的设置sudo passwd
查看ipip addr

安装系统的记录

2023-2-8ubuntu22
2023-2-9kubuntu22
  • kubuntu支持电源操作
    在这里插入图片描述

  • kubuntu安装应用

在这里插入图片描述

在这里插入图片描述

http://www.lryc.cn/news/670.html

相关文章:

  • 个人信息保护认证
  • Negative Prompt in Stable Diffusion
  • MLX90316KGO-BDG-100-RE传感器 旋转位置 角度测量
  • Reflections反射包在springboot jar环境下扫描不到class排查过程
  • 黑马】后台项目171集
  • Qt 5 架构和特点
  • 转换符说明使用方法(在printf函数中)
  • 针灸-基本任脉督脉
  • 信息系统与信息化
  • 解决axios异步请求问题(异步变为同步)
  • 【Django】云笔记项目
  • LeetCode——1797. 设计一个验证系统
  • java Resource
  • ArkTS语法(声明式UI)
  • 自动化测试实战篇(7)jmeter连接mysql数据库,实现单表、多表、三表查询,并对表中数据进行修改,删除,新增操作
  • 我的网站上线了!
  • 勒索病毒整体攻击态势简单分析
  • Vue资源(组件库、实用插件)
  • java rpc框架 中的自定义异常类型的全局处理
  • 面试题:Redis的内存策略
  • idea中使用Git
  • C++派生类指针赋值给基类指针问题(虚函数和非虚函数不同)
  • 数据库实践LAB大纲 04 触发器
  • Win10系统电脑开机后总是蓝屏无法使用怎么办?
  • Node——使用nvm切换node版本
  • go语言实现的一个基于go-zero框架的微服务影院票务系统cinema-ticket
  • ArcGIS API for JavaScript 4.15系列(3)——Dojo中的css样式操作
  • “赶快回家网”首页制作
  • JavaWEB-Servlet
  • springboot集成mqtt