ubuntu操作系统中卸载应用 && ubuntu操作系统中更新升级应用
ubuntu操作系统中卸载应用
前言
1、ubuntu操作系统中卸载不再使用的应用是最简单释放磁盘空间的方法 ,而且可以使系统保持整洁。
2、在 Ubuntu操作系统中有几种方法 安装应用 ,同样的也有以下几种方法卸载应用:
从 Ubuntu 软件中心Software Center 卸载应用(桌面用户)
用 apt rem ...
VMware 虚拟机图文安装和配置 Ubuntu Server 22.04 LTS 教程
前言:本文将以 Ubuntu Server 22.04 LTS 为例,说明在 VMware 虚拟机中的安装和配置 Linux 操作系统的步骤。
一、VMWare 安装配置
1、VMware 下载地址:VMware Workstation Pro 16.x(需要登录),安装和配置步骤略。
二、Ubuntu Server 22.04 LTS 安装配置
1、Ubuntu Server 22.04 LTS 下载地址:获取 Ubuntu 服务器版
...
Ubuntu 22.04 上安装VMware
Ubuntu 22.04 上安装VMware16.2.3 build-19376536
参考文章链接
一、官网免登陆下载安装包【已失效】
注意:VMware在2023年被Broadcom收购,2024年05月05日之后该方法已经失效,需要转向Broadcom登陆下载
vmware linux版最新版下载链接,截至2022.06.06仍然有效
历史版本下载
访问vmware workstation pro 的随便一个版 ...
debian 11中安装Mongodb-4.4.14
更新系统,保证系统环境最新,和安装必要的软件包
sudo apt update
sudo apt install curl apt-transport-https software-properties-common gnupg2
安装Mongodb
默认情况下,MongoDB 在 Debian 11 基础存储库中不可用,现在将 MongoDB 存储库添加到您的 Debian 11 系统:
echo "deb http://repo.mongodb.org/apt/debi ...
Debian 静态网络配置
静态网络配置
基础系统网络配置
说明: 路由网关可以使用其他终端来查看, 使用其他电脑 手机 ipad .... 查看都行.
网卡配置
使用vim编辑/etc/network/interfaces文件
# 本地网卡静态配置
auto lo # 循环网卡名称
iface lo inet loopback # 循环网卡
auto eth0 # 本地网卡地址
iface eth0 inet static # 静态地址
iface wlan ...
64位UEFI下的OpenCore和Clover引导多启动移动硬盘(MacOS + Win10 + Win11 + Ubuntu + Fedora + OpenSUSE + Archlinux + Gentoo + Debian + RHEL + SLES)
OpenCore最终效果如下图:。Clover其实效果差不多,不过由于后续可能不再支持了,所以主推OpenCore。另外,由于OpenCore自身开发不是用来做多系统引导的,所以,附上我个人魔改的OpenCore启动器教程: https://github.com/alexanderzjs/OpenCore-LiveUSB
移动硬盘的分区
这里我的移动硬盘大小是1TB(实际是931.5GB),具体GP ...
ubuntu遇到 Err:1 http://cn.archive.ubuntu.com/ubuntu bionic InRelease 报错解决
# 检查ubuntu的版本,这一步很重要,不同版本的ubuntu使用的更新内容有差别.
cat /etc/issue
Ubuntu 16.04.5 LTS \n \l
sudo cp /etc/apt/sources.list /etc/apt/sources.list_save
# 换源
sudo vim /etc/apt/sources.list
# 根据Ubuntu版本,将源文件里的内容全部替换为如下内容:
16.04 LTS
# 默认注释了源码镜像以提 ...
Ubuntu to go
Ubuntu to go
随身携带,即插即用的Ubuntu 系统
写在前面
这里采用U盘烧录,如果没有U盘,还有使用虚拟机安装的教程
如果电脑本来就没有任何硬盘,引导会直接写入移动硬盘中
完成后可以在Bios中调整优先顺序,方便未插入Ubuntu的时候直接启动Windows
请做好数据备份以及试错的准备
...
debian11_nftables/ip6tables_限制ipv6公网访问特定端口_centos8/debian仅允许部分IPv4访问端口
debian11_nftables/ip6tables_限制ipv6公网访问特定端口_centos8/debian仅允许部分IPv4访问端口
转载注明来源: 本文链接 来自osnosn的博客,写于 2022-05-28.
参考
【Nftables使用指南】
【wiki-nftables】
【Quick reference-nftables in 10 minutes】
限制ipv6公网访问特定端口
背景环境
现在有不少家用的路由器,比如 ...
Ubuntu 20.04 升级最新内核、安装指定内核版本
Ubuntu 20.04 升级最新内核、安装指定内核版本
https://cdmana.com/2021/12/202112290531351544.html
查看目前版本
uname -rs
#查看当前内核版本uname -r#查看软件库中可下载的内核sudo apt list | grep linux-generic*
#下载最新的内核(不用和我一样,但我的这个版本可以支持,具体版本以 ...
Debian系列网卡配置详解
Debian系列的网卡配置和RH系列的不一样,这里说一下。 配置文件是/etc/network/interfaces,不管有多少网卡,只有这一个配置文件。
1.基本配置
auto lo #开机启动loopback网卡
iface lo inet loopback #网卡名称是lo, 类型是loopback
auto eth0
iface eth0 inet static
address 192.168.0.129
network 192.168. ...
Debian修改国内镜像源
应急使用
sed -i -E 's/(deb|security).debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list
这个配置的没有 no-free 的源,同时还有需要将扫描CD光盘作为镜像源的这一行注释掉
#deb cdrom:[Debian GNU/Linux 11.3.0 _Bullseye_ - Official amd64 DVD Binary-1 20220326-11:23]/ bullseye contrib main
配置方法
d ...
vmware中安装 ubuntu 22.04 live-server
1、ubuntu 22.04 下载地址
2023年06月18日更新此篇文档
https://cn.ubuntu.com/download/server/thank-you?version=20.04.4&architecture=amd64 (官方)
https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/22.04/ (清华源 镜像)
http://mirrors.aliyun.com/ubuntu-releases/22.04/ (阿里源 镜像)
注意:是下载 ...
Debian 11 问题与解决
1 添加用户到sudo
2 软件更新
把国内源添加到/etc/apt/sources.list,国内源放在官方源前面,并注释DVD源。
# 中科大镜像站
deb https://mirrors.ustc.edu.cn/debian/ bullseye main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ bullseye main contrib non-free
deb https://mirrors.ustc.edu.cn/debia ...
Debian体系的软件安装
1.dpkg
dpkg 是为"Debian"操作系统专门开发的套件管理系统,用于软件的安装,更新和移除
能被dpkg命令安装的软件包一般以.deb为文件后缀
dpkg常见命令
dpkg -i #安装软件包
dpkg -r name #移除软件(保留配置)
dpkg -P name #移除软件(不保留配置)
dpkg -c *.deb #列出deb包的内容
dpkg -l | grep [关键字] # ...
ubuntu 22.04如何配置静态IP、网关、DNS
1、当前系统
lsb_release -a
ubuntu 22.04.
2、进入/etc/netplan/目录,列出该目录下的内容
cd /etc/netplan/
ls
3、利用vim编辑器打开xxx.yaml文件,进行编辑:
vim 01-network-manager-all.yaml
内容如下:(修改网卡名称、IP、网关后保存退出)
# Let NetworkManager manage ...
基于Ubuntu搭建Pwn调试环境
Pwn环境配置
本文演示使用干净的Vmware下安装的的 Ubuntu 18.04 LTS镜像 配置以下Pwn环境:
OS(系统)配置
VMware Tools
net-tools
open-vm-tools
更换软件源
vim
开启root账户权限
其它环境配置
git
gcc
python3-pip
python3
qemu
gdb-multiarch
Pwn工具
pwn-tools
pwndbg、peda、gef
ROPgadget
seccomp-tools
Lib ...
Debian 11 安装 Docker Engine
Debian 11 安装 Docker Engine
卸载旧版本(如果已安装)
sudo apt remove docker docker-engine docker.io containerd runc
安装方法
使用仓库安装
更新 apt 包索引
sudo apt update
安装允许 apt 通过 HPPTS 使用仓库的依赖包
sudo apt install ca-certificates curl gnupg lsb-release
添加 Docker 的官方 GPG ...
教程:Android手机安装Debian+Wine,打造完全开源的兼容Windows的GNU/Linux!
构建好的系统下载见这里:
https://www.cnblogs.com/tubentubentu/p/16721884.html
测试的Android版本: 10
首先下载安装Real VncViewer,Termux(F-droid有)。
去https://mirrors.bfsu.edu.cn/lxc-images/images/ 下载Debian armhf系统 名称为rootfs.tar.xz
打开termux 输入命令
pkg install proot nano
proot --link2sym ...
xRDP – Detected issues with Debian 11 – Oh No ! Something has gone wrong….
In our previous post, we have provide a quick step by step guide on how to install the new Debian release (Debian 11 codename Bullseye). Since we have been providing some scripts to ease the installation of xrdp on top of Debian distribution, our next step would have been to re-val ...