deployment setting ubuntu server
Ubuntu22.04安装低版本MySQL5.7
# 服务器Ubuntu Server 22.04安装低版本MySQL5.7 最近在腾讯云买了个服务器准备部署我的Django项目,由于需要保证服务器和本地开发的环境相同,所以要在Ubuntu 22.04安装一个与本地Windows版本相同的MySQL5.7.36 ## 第一个问题 首次安装我尝试使用 ......
ubuntu不能外放声音/声卡没有声音
解决办法: `/etc/modprobe.d/alsa-base.conf`文件加一行: ``` options snd-hda-intel model=dell-headset-multi ``` 然后设置里就可以选内置音频了,之前没有。 参考资料:https://askubuntu.com/qu ......
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% ......
SQL Server 实例之间传输登录名和密码
## 简介 本文介绍如何在 Windows 上运行的 SQL Server 的不同实例之间传输登录名和密码, 适用于 SQL mirroring , SQL AG 中的本地logins的迁移或者同步。 也就说源服务器A可以是SQL mirroring , SQL AG的principal DB 或者 ......
ubuntu防火墙命令介绍
ubuntu在开启ufw防火墙前,为了避免与iptables现有规则冲突,建议先清空iptables的所有规则。相关命令如下: iptables -F更改iptables规则链默认操作命令如下: iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT ......
局域网内文件分享的简单方式:python - http.server
在局域网条件下,利用Python自带的HTTP服务功能提供文件共享服务是相对比较简单便捷的方式之一。 一、现实需求及前提条件 1. 文件的服务端(文件分享者)与接收端(文件接收者)在一个局域网,接收端可访问服务端的地址; 2. 服务端已放开HTTP协议的入口限制,接收端已放开HTTP的出口限制(默认 ......
解决电脑无法远程Ubuntu,不出界面
![](https://img2023.cnblogs.com/blog/3005444/202306/3005444-20230608120056059-1243156350.png) 我用的win11 远程 乌班图22.0 参考:https://service.oray.com/question ......
golang导入私有仓库报错:“server response: not found:xxx: invalid version: git ls-remote -q origin in xxx“
1.问题:go get导入私有仓库报错 ➜ go get "devops.gitlab.xxx.com/test/kafka-utils" go: devops.gitlab.xxx.com/test/kafka-utils@v0.0.1: verifying go.mod: devops.gitl ......
Outlook无法连接到Exchange Server(MAPI模式)
问题现象:组织中有一个邮箱账户无法连接至exchange(MAPI)模式,其他邮箱账户正常。尝试在outlook”发送/接收“菜单点击”更新文件夹“出现下图报错: 我做了一些尝试: 1. 使用Foxmail的exchange模式连接exchange server一切正常 2. 使用imap/pop配 ......
ubuntu 20.04 lxd 配置容器内使用GPU
1. 检查自己的显卡类型,同时在宿主机上安装显卡驱动 一般选择推荐的 proprietary,tested 2. 配置lxd的容器并添加GPU设备 3. 在容器中运行相同驱动版本 在nvidia官网上下载驱动 sh NVIDIA-Linux-x86_64-520.61.05.run --no-ker ......
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 ......
「Solution Set」06/07
## P6109 [Ynoi2009] rprmq1 矩形加,矩形求和。但是修改都在查询前面。 trick:如果是矩形加并且没有时间的区别,可以将以为当作时间。相当于在一段时间内将序列的一段区间加。 然后可以转化为在序列的一段先加上,过一会再减掉。 查询可以看作在一段时间上所有时刻的区间最大值。可以 ......
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 ......
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 ......
10_How deploy a Django application using Nginx & Gunicorn in Production
地址:https://www.codewithharry.com/blogpost/django-deploy-nginx-gunicorn/ How to host Django Application using gunicorn & nginx in Production In this po ......
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 ......
4_How to Host Multiple Websites on One Server
地址:https://www.codewithharry.com/blogpost/host-multiple-websites-ubuntu-vps/ How to Host Multiple Websites on Ubuntu VPS? An apache2 web server provid ......
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 ......
Solution Set - “潮汐守候终结放逐月圆”
[TOC] $$ \mathbb{Defining~\LaTeX~macros\dots} \newcommand{\chr}[1]{\underline{\texttt{#1}}} \newcommand{\lca}[0]{\operatorname{lca}} \newcommand{\gap} ......
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 ......