openjdk ubuntu lts 22

Ubuntu22.04更换阿里源的方法

1、系统信息 root@ubuntu2204test01:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04 LTS Release: 22.04 Coden ......
方法 Ubuntu 22.04 22 04

Ubuntu软件包管理工具使用

## Ubuntu软件包管理工具使用 ### apt-get和apt命令介绍 `apt`等同于Centos7的`yum`命令 `apt-get`是第一代的包管理工具,最稳定 `apt`是改进的包管理工具,比`apt-get`要先进,官方推荐使用`apt`来管理软件 ### Ubuntu和CentOS ......
软件包 管理工具 工具 Ubuntu 软件

[转]ubuntu下git更改默认nano编辑器vim

ubuntu下使用git提交代码时,git commit时默认的编辑器是nano,这个编辑器实在是太恶心了,用惯了vim,所以如果修改默认编辑器,可以这样解决: 编辑.git/config,在core这块,加入editor = vim,嗯,这下舒服多了,走路也精神了 原文链接:https://www ......
编辑器 ubuntu nano git vim

ubuntu安装openssh-server

新装的ubuntu系统默认只安装了openssh-client,如果想通过远程连接工具连接,则必须安装openssh-server 1,配置可用的apt源,可通过scp拷贝至本地进行替换 cd /etc/apt/ scp root@1.1.1.1:/etc/apt/sources.list . 2, ......
openssh-server openssh ubuntu server

win10 迁移 LTS 子系统 到非系统盘

# 脚本 下载LxRunOffline: https://github.com/DDoSolitary/LxRunOffline/releases # 脚本命令 ``` .\LxRunOffline.exe list #查看安装的子系统 wsl --shutdown #中止所有运行的子系统 .\Lx ......
子系统 系统 win LTS 10

python基础day22 time和re模块

time模块(跟时间打交道的模块) 表示时间的三种方式 1. 时间戳:1970年1月1日到现在的秒数 2. 格式化的时间字符串:2023-01-01 11:11:11 3. 结构化时间:它是让计算机看的 导入time模块 impore time time.time() # 时间戳 time.slee ......
模块 基础 python time day

python基础22

time模块 表示时间的三种方式: 1.时间戳 2.格式化的时间字符串:2023-010-01 11:11:11 3.结构化时间:它一般不是让人看的,让计算机看的 使用时间模块,需要导入time模块 import time time.time()#时间戳 time.sleep()睡眠时间 res=t ......
基础 python

22) Null Object pattern

类别: 问题: 方案: 示例: public class NullObjectPatternDemo { public static void main(String[] args) { Animal animal; animal = getAnimal("cat"); animal.makeSou ......
pattern Object Null 22

ubuntu pip3安装卸载

1、普通用户下安装pip3,会安装到用户主目录下。可能会出现已经安装了最新的pip3,但是pip3 --version时显示的还是之前的版本,那是因为没有把安装路径加到PATH环境变量中。 https://blog.csdn.net/dbc_121/article/details/105458361 ......
ubuntu pip3 pip

【安全学习之路】Day22

![](https://img2023.cnblogs.com/blog/3073714/202306/3073714-20230609001911746-1493190313.png) ![](https://img2023.cnblogs.com/blog/3073714/202306/3073 ......
Day 22

8.22 字符串统计 toCharArray

### 统计字符串中"n","o"出现的次数 ``` class StringUtil { // 返回第一个内容为字母n的个数,第二个内容为字母o的个数 public static int[] count(String str){ int countData[] = new int[2]; char ......
字符串 toCharArray 字符 8.22 22

ubuntu 原始部署 和 宝塔部署 node

1. 选用Linux系统2.node 测试的包有express knex3. Linux 安装 nodejs 环境 https://github.com/nodesource/distributions4. Linux 系统权限(sudo) npm 安装 pm25. 用 pm2 启动后端服务 示例: ......
宝塔 ubuntu node

ubuntu20.4安装geant4和root

#下载需要的软件包和数据包下载roothttps://root.cern/install/all_releases 下载geant4 https://geant4.web.cern.ch/download/all #在家目录下面创建一个geant4的文件夹 #打开geant4文件夹,在里面创建一个f ......
ubuntu geant4 geant 20.4 root

ubuntu20.04安装minikube

一、安装docker(阿里云镜像安装) 1.卸载旧版本 sudo apt-get remove docker docker-engine docker-ce docker.io 2.添加阿里云GPG秘钥 curl -fsSL http://mirrors.aliyun.com/docker-ce/l ......
minikube ubuntu 20.04 20 04

zabbix--CentOS7 源码安装Zabbix6 LTS版本

环境说明# 这里使用为 CentOS 7.6 版本进行测试验证,Zabbix Server 采用源码包部署,数据库采用 MySQL8.0 版本,zabbix-web 使用 nginx+php 来实现。具体信息如下: 软件名版本安装方式 Zabbix Server 6.0.3 源码安装 Zabbix ......
源码 CentOS7 Zabbix6 版本 zabbix

Ubuntu22.04安装低版本MySQL5.7

# 服务器Ubuntu Server 22.04安装低版本MySQL5.7 最近在腾讯云买了个服务器准备部署我的Django项目,由于需要保证服务器和本地开发的环境相同,所以要在Ubuntu 22.04安装一个与本地Windows版本相同的MySQL5.7.36 ## 第一个问题 首次安装我尝试使用 ......
版本 Ubuntu MySQL5 22.04 MySQL

ubuntu不能外放声音/声卡没有声音

解决办法: `/etc/modprobe.d/alsa-base.conf`文件加一行: ``` options snd-hda-intel model=dell-headset-multi ``` 然后设置里就可以选内置音频了,之前没有。 参考资料:https://askubuntu.com/qu ......
声音 声卡 ubuntu

Ubuntu下制作deb包的方法详解

http://t.csdn.cn/ApH7u https://blog.csdn.net/gatieme/article/details/52829907#:~:text=Ubuntu%E4%B8%8B%E5%88%B6%E4%BD%9Cdeb%E5%8C%85%E7%9A%84%E6%96%B9% ......
方法 Ubuntu deb

ubuntu防火墙命令介绍

ubuntu在开启ufw防火墙前,为了避免与iptables现有规则冲突,建议先清空iptables的所有规则。相关命令如下: iptables -F更改iptables规则链默认操作命令如下: iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT ......
防火墙 命令 ubuntu

解决电脑无法远程Ubuntu,不出界面

![](https://img2023.cnblogs.com/blog/3005444/202306/3005444-20230608120056059-1243156350.png) 我用的win11 远程 乌班图22.0 参考:https://service.oray.com/question ......
Ubuntu 电脑

ubuntu 20.04 lxd 配置容器内使用GPU

1. 检查自己的显卡类型,同时在宿主机上安装显卡驱动 一般选择推荐的 proprietary,tested 2. 配置lxd的容器并添加GPU设备 3. 在容器中运行相同驱动版本 在nvidia官网上下载驱动 sh NVIDIA-Linux-x86_64-520.61.05.run --no-ker ......
容器 ubuntu 20.04 lxd GPU

[Kotlin Tutorials 22] 协程中的异常处理

# 协程中的异常处理 ![coroutine exception handling](https://img2023.cnblogs.com/blog/325852/202306/325852-20230608084235670-684439238.png) ## Parent-Child关系 如果 ......
Tutorials Kotlin 22

ubuntu18.04或20.04安装显卡驱动

Ubuntu安装显卡驱动(方法超简单) 方法:只需要一条指令即可安装成功 1 sudo ubuntu-drivers autoinstall 等待安装完成后,需要重启 ......
显卡驱动 显卡 ubuntu 18.04 20.04

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 ......
permission connect ubuntu denied Docker

【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 ......
lock lock-frontend frontend 故障 Ubuntu

算法学习day22二叉树part08-450、701、235

package LeetCode.Treepart08; public class DeleteNodeBST_450 { public TreeNode deleteNode(TreeNode root, int key) { root = delete(root,key); return roo ......
算法 part day 450 235

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 ......
Ubuntu install Desktop Full GUI

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 ......
Production Deploy NodeJs Ubuntu 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 ......
gunicorn deploy Ubuntu Flask Ngnix

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 ......
install Ubuntu stack LEMP VPS_