脚本ubuntu update 23.10
ubuntu安装Qt
一、关键词 ubuntu安装QT 二:知识点 1、下载系统镜像的run包 2、https://download.qt.io/official_releases/online_installers/ 3、对run包加权限:sudo +x *.run 4、执行在线安装,sudo ./*.run 5、正常 ......
在 Linux 下执行 Jmeter 脚本
前言 Jmeter这款接口测试工具,已经在越来越多的公司被要求会使用了。 而且,现在应该部分小伙伴们都开始用起来了。 但是,你们知道除了在Windows用图形化界面的Jmeter执行脚本之外,还有其他可以执行的方法吗?? 今天就来告诉你们,如何在Linux服务器里执行Jmeter的jmx。 前提准备 ......
阿里云ubuntu 部署mosquitto服务器
阿里云ubuntu 部署mosquitto服务器 安装mosquitto sudo apt install mosquitto 添加用户名密码 touch /etc/mosquitto/pwdfile sudo chmod 0700 /etc/mosquitto/pwdfile sudo chown ......
ubuntu下apt添加第三方ppa源
前言 源是用来安装系统需要的软件的。分为官方源和第三方源。 比如: nginx ,官方在每个版本更新时会更新,但是nginx 更新比Ubunt 快,所以官方的源并不一定时最新的。 这时可以添加 nginx 官方源,来及时获取最新的源。 ubuntu 把第三方的源,统一叫ppa源,并有独立网站 一、网 ......
网页正常性监控脚本
#!/bin/bash # Script name: httpmonitor.sh # Author: wanghongwei # Date: 2023-11-30 # Version: 1.0 # Description: A script to monitor http request and ......
SFTP文件本地及远程创建,上传,下载,删除,获取脚本
关键参数: sftp_route:远程路径 local_route:本地路径(windows需要r解析) header:txt表头字段(列表方式) data:txt内容信息(列表嵌套列表方式) filename_success:是否创建success文件默认为false filename:文件名称( ......
Ubuntu安装odoo16
虽然odoo17已经在10月份发布了,但笔者并不愿意立时升级:一方面没有迫切的需要去升级,仿佛没有odoo17就没法后续的工作一样;另一方面,我倒是更希望在双数版本发布的时候再升级。为此继续使用odoo16,也记录下odoo16在ubuntu服务器上的安装过程。 下载odoo16源码 1.下载源码可 ......
ubuntu server 22 LTS 安装MySQL8(二进制源码方式)
原作来源:https://github.com/aminglinux/daily_shell/blob/main/29.sh 根据我自己情况稍作修改 mysql下载地址:https://downloads.mysql.com/archives/community/ 按照顺序执行逐行执行 注意执行过程 ......
Putty与VirtualBox中的Ubuntu的连接问题
只需在虚拟机的设置修改其中一个网卡的连接方式为Host-Only方式即可。 具体操作如图: 然后打开Ubuntu,查找对于网卡的ip地址,使用在终端中使用ifconfig命令: 打开Putty软件: open,输入你的账号和密码即可连接,第一次连接时会弹出一个窗口,点击接收即可。 ......
shell脚本5---信号处理
信号的类别 信号 值 描述 1 SIGHUP 挂起进程 2 SIGINT 终止进程 3 SIGQUIT 停止进程 9 SIGKILL 无条件终止进程 15 SIGTERM 优雅的终止进程 17 SIGSTOP 无条件停止进程,但不是终止进程 18 SIGTSTP 停止或暂停进程,但不是终止进程 19 ......
centos 实现开机运行脚本
Crafted by [Genie](https://marketplace.visualstudio.com/items?itemName=genieai.chatgpt-vscode) You centos 实现开机运行脚本 Genie 在CentOS系统中,如果您希望在开机时自动运行一个脚本, ......
油猴脚本屏蔽元素
// ==UserScript== // @name Block Zhihu Tag // @namespace your-namespace // @version 1.0 // @description Block a specific tag on Zhihu website // @matc ......
ubuntu使用strongswan搭建IpsecVPN
安装strongSwan 安装strongswan,安装成功后是使用自签证书,客户端连接前需要导入自签的ca证书到设备中。 # apt-get update && sudo apt-get upgrade # apt install strongswan strongswan-pki libchar ......
Linux ubuntu网络配置(学习笔记)
1.网卡名称修改 #修改配置文件为下面形式root@ubuntu1804:~#vi /etc/default/grubGRUB_CMDLINE_LINUX="net.ifnames=0"#或者sed修改root@ubuntu1804:~# sed -i.bak '/^GRUB_CMDLINE_LIN ......
ubuntu22 flask项目 pyinstaller打包后运行报错: jinja2.exceptions.TemplateNotFound: index.html 的一种解决方案
前言 有一个flask项目a.py, 目录结构如下: |- a.py |- templates | - index.html |- static |- images 运行 python3 a.py可以正常加载网页,使用 pyinstaller 在 ubuntu16上打包: pyinstaller - ......
基于Quartus prime Standard的terasic的de10_nano开发板的Ubuntu 16.04环境变量配置
注意,是配置root用户的 export ROOT=/home export QUARTUS_ROOTDIR=$ROOT/intelFPGA/18.1/quartus export INTELFPGAOCLSDKROOT=$ROOT/intelFPGA/18.1/hld export PATH=$P ......
Windows Server 2022 中文版、英文版下载 (updated Nov 2023)
Windows Server 2022 中文版、英文版下载 (updated Nov 2023) Windows Server 2022 正式版,2023 年 11 月更新 请访问原文链接:https://sysin.org/blog/windows-server-2022/,查看最新版。原创作品, ......
Windows 10, version 22H2 (updated Nov 2023) 中文版、英文版下载
Windows 10, version 22H2 (updated Nov 2023) 中文版、英文版下载 Windows 10 22H2 企业版 arm64 x64 请访问原文链接:https://sysin.org/blog/windows-10/,查看最新版。原创作品,转载请保留出处。 作者主 ......
Windows 10 on ARM, version 22H2 (updated Nov 2023) ARM64 AArch64 中文版、英文版下载
Windows 10 on ARM, version 22H2 (updated Nov 2023) ARM64 AArch64 中文版、英文版下载 基于 ARM 的 Windows 10 请访问原文链接:https://sysin.org/blog/windows-10-arm/,查看最新版。原创 ......
web: lamp - ubuntu2310
web: lamp - ubuntu2310 一、基础说明 1、lamp: L = linux, a = apache2, m = mariadb(mysql), p = php 二、安装包安装 1、安装命令: [wit@ubuntu:null]$ sudo apt install mariadb- ......
使用cursor编写python脚本
环境 python3.7 pycharm cursor 需要安装pandas库 python基本常用语法 注释 #后面写的是注释 # 单行注释 变量 python是一种弱类型的语言,一个变量得到类型可以变化 变量名区分大小写 # 创建数据 n1 = 1 # 整数 n2 = 1.2 # 浮点数 # 字 ......
只需根据接口文档,就能轻松开发 get 和 post 请求的脚本,你会做吗?
一般的接口文档描述的内容: 开发get请求的脚本,接口文档的描述如下: 在loadrunner里面创建一个空脚本: 在action空白处,点击insert—>step 输入web_custom_request,双击选择该函数,填入如下几个参数值: 生成的脚本如下: 运行编译,看有没有语法错误: 在日 ......
ubuntu安装docker
sudo apt update sudo apt install docker.io sudo systemctl start docker ......
docker离线一键安装脚本
下载安装文件 https://download.docker.com/linux/static/stable/x86_64/ https://github.com/docker/compose/releases 本例安装文件下载地址 https://download.docker.com/linux ......
python脚本中调用django环境
# 在脚本中调用djagno服务import osif __name__ == '__main__': #1 引入django配置文件 os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'day67.settings') # 2 让djagno启动 im ......
linux:systemd 禁用ctrl-alt-del:centos、rhel、fedora、ubuntu
systemctl status ctrl-alt-del.target ; systemctl mask ctrl-alt-del.target ; systemctl status ctrl-alt-del.target ; history -c systemctl status ctrl-al ......
Ubuntu 安装nfs 实现共享目录
多台服务器之间共享目录,实现每个服务器进入目录看到的内容都一样 1、服务器A 安装 nfs-kernel-server #apt install nfs-kernel-server 2、服务器A,编辑配置文件: /etc/exports /共享的目录 服务器B的IP(rw,sync,no_subtr ......
ubuntu重装英伟达显卡驱动
最近因为种种原因需要修改ubuntu 显卡驱动,但是按照网上种种教程操作后都是出现,经过多次尝试后发现是 内核问题,于是安装相关内容包解决 NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Ma ......
ubuntu20.04下搭建syzkaller环境 (避坑指南)
1、安装golang环境,最开始使用apt install golang,结果在编译syzkaller时,编译没法通过。在Makefile中最开始检测NCORES失败,直接退出。 根据Makefile的逻辑,其中的NCORES,应该是前面的go run tools/syz-make/make.go语 ......
带有 on duplicate key update 的批量插入 mybatisPlus
1 package com.autewifi.dataaods.common.data.datascope; 2 3 import com.baomidou.mybatisplus.annotation.IdType; 4 import com.baomidou.mybatisplus.core.e ......