ubuntu 18.04 clang 18
ubuntu防火墙命令介绍
ubuntu在开启ufw防火墙前,为了避免与iptables现有规则冲突,建议先清空iptables的所有规则。相关命令如下: iptables -F更改iptables规则链默认操作命令如下: iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT ......
解决电脑无法远程Ubuntu,不出界面
![](https://img2023.cnblogs.com/blog/3005444/202306/3005444-20230608120056059-1243156350.png) 我用的win11 远程 乌班图22.0 参考:https://service.oray.com/question ......
ubuntu 20.04 lxd 配置容器内使用GPU
1. 检查自己的显卡类型,同时在宿主机上安装显卡驱动 一般选择推荐的 proprietary,tested 2. 配置lxd的容器并添加GPU设备 3. 在容器中运行相同驱动版本 在nvidia官网上下载驱动 sh NVIDIA-Linux-x86_64-520.61.05.run --no-ker ......
18.详解AQS家族的成员:Semaphore
> 关注:[王有志](https://flowus.cn/chang/share/fa5ee5c8-bbd8-4a82-a31e-c6be478f44bc),一个分享硬核Java技术的互金摸鱼侠。 欢迎你加入**Java人的提桶跑路群**:[共同富裕的Java人](https://flowus.cn ......
ubuntu18.04或20.04安装显卡驱动
Ubuntu安装显卡驱动(方法超简单) 方法:只需要一条指令即可安装成功 1 sudo ubuntu-drivers autoinstall 等待安装完成后,需要重启 ......
ubuntu 20 permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock:
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/con ......
【Linux】Ubuntu apt 安装故障 Could not get lock /var/lib/dpkg/lock-frontend
报错提示 E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var ......
算法学习day18二叉树part05-105、106、513、112、113
package LeetCode.Treepart05; import java.util.HashMap; import java.util.Map; public class ConstructBinaryTree_105 { Map<Integer, Integer> map; public ......
11_install Ubuntu Full GUI Desktop on an Ubuntu VPS
地址:https://www.codewithharry.com/blogpost/install-ubuntu-desktop-vps/ How to install Ubuntu Desktop with Full GUI on an Ubuntu VPS This post will expl ......
13_How to Deploy NodeJs app on Ubuntu in Production
地址:https://www.codewithharry.com/blogpost/deploy-nodejs-app-on-ubuntu/ How to deploy a Node.js application in production In this post, we will see how ......
12_How to deploy Flask apps on Ubuntu VPS Using gunicorn and Ngnix
地址:https://www.codewithharry.com/blogpost/flask-app-deploy-using-gunicorn-nginx/ How to deploy flask app on Ubuntu VPS using Nginx and gunicorn In thi ......
8_How to install LEMP stack on Ubuntu VPS_
地址:https://www.codewithharry.com/blogpost/lemp-stack-on-ubuntu-20/ How to install LEMP stack (Linux, Nginx, MySQL, PHP) on Ubuntu 20.04 In this tutori ......
5_How to install phpMyAdmin on Ubuntu_
地址:https://www.codewithharry.com/blogpost/install-phpmyadmin-ubuntu/ Installing phpMyAdmin and adding password authentication to MySQL on Ubuntu In th ......
3_Installing Linux, Apache, MySQL, PHP (LAMP) Stack on Ubuntu 20.04
地址:https://www.codewithharry.com/blogpost/lamp-stack-ubuntu-20-04/ Installing LAMP stack on Ubuntu 20.04 in 5 Minutes This post will explain how to in ......
Ubuntu和MIUI时间显示秒数字
Ubuntu(23.04)状态栏的时间显示秒,则需要执行以下命令 ``` mango@mango-ubuntu:~/Desktop$ gsettings set org.gnome.desktop.interface clock-show-seconds true ``` 小米手机(MIUI13)要 ......
Ubuntu开始菜单中的程序图标放置位置
可能放置在以下两个位置中的一个 ``` /usr/share/applications ~/.local/share/applications ``` .desktop文件的内容 ``` #!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Term ......
Ubuntu虚拟机 与 宿主机共享文件夹及拖拽文件
1、基础版, a、创建共享文件夹,在虚拟机设置下——》选项界面——》共享文件夹,选择总是启用,并且设置宿主机上的共享文件夹,Tips:记得在主机上设置共享文件夹的共享属性; b、设置VMwareTools 2、先进版:文件拖拽, a、删除原有的vmtools:sudo apt autoremove ......
解决Ubuntu 20.04升级后gnome-control-center设置程序无法打开问题
# 解决Ubuntu 20.04升级后gnome-control-center设置程序无法打开问题 Ubuntu 20.04 系统升级后,发现gnome设置程序无法正常打开了。 在终端运行命令查看错误信息,运行以下命令: ```bash sudo gnome-control-center ``` 从 ......
Ubuntu中的安装卸载及删除方法
说明:由于图形化界面方法(如Add/Remove... 和Synaptic Package Manageer)比较简单,所以这里主要总结在终端通过命令行方式进行的软件包安装、卸载和删除的方法。 一、Ubuntu中软件安装方法 1、APT方式 (1)普通安装:apt-get install softn ......
关于ubuntu
# 安装软件 ~~~shell sudo dpkg -i 文件名.deb ~~~ # 卸载软件 ubuntu 彻底卸载软件的常用步骤(以 google chrome 为例) 如果你想从Ubuntu中彻底卸载Google浏览器,你可以用命令行的方式来操作: ~~~shell sudo apt-get ......
解决使用yarn安装依赖出现“The engine "node" is incompatible with this module. Expected version "^14.18.0 || ^16.14.0 || >=18.0.0". Got "17.9.0"”的问题
# 1、问题描述 某天在使用`yarn`安装依赖的时候,突然出现如下错误导致安装依赖终止: **The engine "node" is incompatible with this module. Expected version "^14.18.0 || ^16.14.0 || >=18.0.0 ......
Ubuntu升级Cmake的正确方式
Ubuntu升级Cmake的正确方式 某些软件包编译时需要高版本的Cmake,因此需要升级Cmake。 不能使用 sudo apt-get remove cmake卸载低版本cmake后再重装高版本,这样做会导致之前编译和安装的很多库一起被卸载!!! 正确步骤是: 去https://cmake.or ......
Linux Ubuntu 部署笔记
1.Ubuntu上配置非root用户和防火墙 2.在Ubuntu VPS上上传文件和无密码登录 3_在Ubuntu上安装Linux、Apache、MySQL、PHP(LAMP)堆栈20.04 4_如何在一台服务器上托管多个网站 5_如何在Ubuntu上安装phpMyAdmin 6_如何在2分钟内在您 ......
WSL-Ubuntu使用xfce4桌面环境
安装WSL-Ubuntu,参考我的另外一篇手工在非系统盘安装WSL(Ubuntu) 安装软件MobaXterm 运行MobaXterm,创建一个新的Session: 安装桌面环境:(支持Gnome、KDE、xfce4、mate、LXDE、Fluxbox、IceVM、Openbox、Fvwm2、i3、 ......
Ubuntu开关图形界面
systemctl set-default multi-user.target #关闭图形界面 systemctl set-default graphical.target #打开图形界面 关闭:在图形界面下 终端输入 sudo service lightdm stop开启:在命令行输入:sudo ......
1_Setting Up an Ubuntu 20.04 server for deployment
原文:https://www.codewithharry.com/blogpost/setup-ubuntu-20-04-server/ Setting Up an Ubuntu 20.04 server for deployment When you first create a server f ......
ubuntu如何卸载软件
一、ubuntu卸载软件 要卸载Ubuntu系统中的软件,可以通过软件中心或终端命令行实现。 可以在Ubuntu的应用程序菜单中找到“Ubuntu软件中心”,搜索需要卸载的软件,然后点击卸载按钮即可。 使用终端命令行卸载软件时需要打开终端,输入以下命令: sudo apt-get remove 软件 ......
ubuntu glibc版本查看
strings /lib/x86_64-linux-gnu/libc.so.6 |grep GLIBC_ 注意,要升级glibc版本,只能升级ubuntu版本,其它方式都是坑,容易把系统搞崩,升级前最好做下备份 ......
ubuntu升级
如何运行升级安装 在终端中运行这些命令。(CTRL+ALT+T 在大多数 Ubuntu 内部版本中打开终端。) 确保当前版本完全为最新版本。 sudo apt-get update 安装 Update Manager 核心产品包。 sudo apt-get install update-manage ......