Debian Linux 的安装
Debian Linux 的安装
作者:Grey
原文地址:
博客园:Debian Linux 的安装
CSDN:Debian Linux 的安装
说明
本安装说明是基于 Windows 11 下 VMware workstation 17 安装 Linux,Linux 版本是 Debian 12.4.0,需要保证在联网环境下安装。
环境
VMware-workstation-full-17
debian-12.4.0-amd64-netinst.iso
安装步 ...
Ubuntu 终于支持禁用 snap软件包自动更新
snap 是 Canonical 为使用 Linux 内核和 systemd init 系统的操作系统开发的软件打包和部署系统。这些被称为 snap 的软件包和使用它们的工具 snapd 可以在一系列的 Linux 发行版中使用,并允许上游软件开发者直接向用户发布他们的应用程序。
借助 snap,用户可以轻松地安装 Linux 应用程序,在默认情况下,snapd 一天内会检 ...
Termux - Debian
基础配置
1,termux换源
termux-change-repo # 选择清华源
2,更新源
apt update && apt upgrade -y
3,安装
apt install openssh -y
# 远程连接,执行sshd,可以putty连接,便于操作(IP:8022)
# whoami 查看用户ming
# passwd 设置该用户密码
apt install proot proot-distro -y
proot-distro lis ...
Debian上安装java
1.root@VM-12-7-debian:~# apt update
2.root@VM-12-7-debian:~# apt-get install default-jdk ,出现needrestart is being skipped since dpkg has failed 报错,使用
systemctl restart dpkg-db-backup.命令,重启服务,重新输入 apt-get install default-jdk 命令。
3.安装完成后,通过检查java版本来验证它 ...
Ubuntu如何安装桌面
1.源列表在哪?这个命令就可以修改了,通常你需要换源的时候需要。通常推荐使用阿里源、清华源等
/etc/apt/sources.list就是源列表所在地址了。
sudo vi/etc/apt/sources.list
2.sudo apt-get update:这个命令,会访问源列表里的每个网址,并将软件列表保存在本地电脑
sudo apt-get update
执行该命令后,/var/lib/apt/l ...
Ubuntu 挂载新硬盘
Ubuntu 挂载新硬盘
我们在使用 Ubuntu 作为服务器系统时,会有一个常用的操作情景,就是为服务器添加新硬盘。
上图是我的工作室中的一台开发服务器的图片,可以看到,类似这种机架式服务器,前方都会有若干个可抽插硬盘笼,我们可以比较轻松的添加或者更换硬盘。
为方便演示如何为 Ubuntu 添加新硬 ...
Ubuntu系统安装/升级cmake& cmake-gui
CMake是目前应用最广泛、IDE支持最好的构建系统之一。由于CMake具有良好的向后兼容性,Modern CMake推荐用户尽量安装CMake的最新版本,然而在Ubuntu系统APT仓库中的CMake版本一般较老旧。Ubuntu 20.04以下版本的用户可以使用Kitware官方APT仓库安装最新版本的CMake和CMake GUI。
本文以当前最新版本CMake 3.24.2为 ...
alpine、debian、ubuntu brew 常用的换源命令
文档说明: 只是记录关键点
alpine
test -f /etc/apk/repositories.save || cp /etc/apk/repositories /etc/apk/repositories.save
sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
debian
test ! -f /etc/apt/source.list.save && cp /etc/apt/sources.list /etc/apt/sour ...
Ubuntu 环境下安装 Docker
系统要求
Docker目前只能运行在64位平台上,并且要求内核版本不低于3.10,实际上内核越新越好,过低的内核版本容易造成功能不稳定。
用户可以通过如下命令检查自己的内核版本详细信息:
$ uname -a
Linux ubuntu 4.4.0-131-generic #157-Ubuntu SMP Thu Jul 12 15:51:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
...
树莓派Zero 2 W(ubuntu-22.04)通过.NET6和libusb操作USB读写
有这个想法的初衷
喜欢电子和DIY硬件的朋友对稚晖君应该都不陌生,他定期都会分享一些自己做的好玩的硬件,他之前做了一个ElectronBot桌面机器人我就很感兴趣,所以就自己也做了一个。
起初我只是自己开发了一个叫电子脑壳的上位机软件,大家在之前的博客里应该也有见到,是个用WinUI(WASDK)开发的Windows应用软件。
Ele ...
rk3399 使用 debian ubuntu 固件
android 是非常好用,但是有的时候,需要用到一些 linux 的时候,而 PI 树莓派 性能又太弱,debian 相比 ubuntu 占用资源更少。
开发板:x3399 pc
ubuntu 14.04 x64:
远程仓库地址:https://gitlab.com/9tripod/x3399_linux.git
先安装编译环境:
sudo apt-get update
sudo apt-get -y install libncurses5-dev cpio bc ba ...
Debian 如何更新源
1.备份
sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak
2.编辑源
sudo vim /etc/apt/sources.list
vim内容为
deb http://mirrors.aliyun.com/debian/ buster main non-free contrib
deb http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib
deb http://mirrors.aliyun.com/debian/ bu ...
记录 debian intel nvidia 笔记本安装显卡驱动详细过程
目录识别显卡检测并安装显卡驱动配置/etc/X11/xorg.conf/etc/lightdm/display_setup.sh/etc/lightdm/lightdm.conf重启系统,完成所有配置检测结果
以下步骤全部根据官方文档操作
官方文档:NvidiaGraphicsDrivers
识别显卡
$ lspci -nn | egrep -i "3d|display|vga"
00:02.0 VGA compatible controller [0300]: Intel Corpo ...
腾讯轻量云 debian 10 安装pve教程 2022
apt update && apt install -y curl wget sudo
1.设置hostPVE官方要求,/etc/hosts需要做如下修改:
首先设置hostname,根据实际情况自行修改,我这里设置为pve
修改/etc/hosts,添加如
hostnamectl set-hostname pve
下内容
127.0.0.1 localhost.localdomain localhost
**这里填你服务器公网IP** pve.p ...
记一次debian无法启动的解决经历
前言
有几台debian物理机突然无法开机了,断电重启后,一直卡在下面这个界面
参考了博客【linux】解决系统卡在ubuntu loading initial ramdisk
发现无法修复
在recovery模式下,查看系统的日志
dmesg | grep -Ei "error|Fail"
grep -Ei "error|Fail" /var/log/messages
后来查看/etc/fstab
这些都把问题指向了系统磁盘 ...
Debian
安装图 https://blog.csdn.net/networkTalent/article/details/123375048
10种linux下磁盘快照方式恢复系统 https://zhuanlan.zhihu.com/p/362967437
Debian 9 系统小白手册(常见问题)https://www.moewah.com/archives/2686.html
Timeshift https://www.xtuos.com/4895.html https://zhuanlan.zhi ...
freeswitch-ubuntu安装
一,软件及环境准备:
ubuntu版本18.04:https://releases.ubuntu.com/18.04.6/ubuntu-18.04.6-live-server-amd64.iso
freeswitch 版本1.10.7:https://files.freeswitch.org/freeswitch-releases/freeswitch-1.10.7.-release.tar.gz
spandsp包:https://codeload.github.com/freeswitch/spandsp/zip/refs/heads/master
sof ...
Ubuntu 22.04 安装常用办公软件
切换源
ubuntu 22.04
sudo cp /etc/apt/sources.list /etc/apt/sources.list_bak
sudo sed -i "s@http://.*archive.ubuntu.com@http://repo.huaweicloud.com@g" /etc/apt/sources.list
sudo sed -i "s@http://.*security.ubuntu.com@http://repo.huaweicloud.com@g" /etc/apt/sources.list
ubuntu 24.04
位置: /etc/ ...
Linux(Debian) 配置netcore环境
一、准备工作
①、开启粘贴板
#进入defaults.vim 【未安装vim,按需安装】
linaro@linaro-alip:~$ sudo vi /usr/share/vim/vim81/defaults.vim
#将set mouse=a 改成 set mouse-=a【大概配置64行】
if has('mouse')
set mouse-=a
endif
修改 ...
debian包的制作
源码生成deb包 https://www.cnblogs.com/ruiy/p/5043716.html
deb包制作 https://www.cnblogs.com/ditvelo/p/16662910.html
使用autotools自动生成Makefile并在此之上使用dh-make生成可发布的deb程序包
https://www.likecs.com/show-204346049.html
记录树莓派生成deb包全过程 & ...