postgresql postgis ubuntu 18.04

PostgreSql 地理扩展

数据迁移 数据从mysql以前的经度,纬度;经度,纬度;经度,纬度;经度,纬度;的格式,改为现在的geometry格式,需要加geometry(polygon,4326)类型字段,并做如下转换。 UPDATE geo_pro_pool_fence SET geo_polygon = ST_GeomF ......
PostgreSql 地理

OpenEuler 安装PostgreSQL

1、使用 root 用户登录 openEuler 系统。 2、安装 PostgreSQL: dnf install postgresql-server postgresql-contrib -y 这将安装 PostgreSQL 的服务器和附加组件。 3、初始化 PostgreSQL: postgre ......
PostgreSQL OpenEuler

ubuntu 18.04.6 编译内核kernel提示 Can't find default configuration "arch/x86/configs/socfpga_deconfig"!

输入make socfpga_defconfig 的时候提示: ubuntu 18.04.6 编译内核kernel提示 Can't find default configuration "arch/x86/configs/socfpga_deconfig"! 解决办法: export ARCH=ar ......

修改Ubuntu的时区

方法一 timedatectl set-timezone Asia/Shanghai 方法二 # 根据提示完成操作 tzselect 复制文件到/etc目录下 cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 查看 ......
时区 Ubuntu

PostgreSQL 的一些函数的使用

// string_agg 是 PostgreSQL 数据库中的一个函数,用于将多个字符串值连接成一个字符串 // string_to_array 是 PostgreSQL 数据库中的一个函数,用于将字符串分割成数组 select *, (SELECT string_agg( CASE animal ......
PostgreSQL 函数

Ubuntu系统无法进入,黑屏且左上角光标一直闪烁

环境:Ubuntu20.04 问题背景:自行重新安装显卡驱动,安装完毕重启无法进入系统,电脑黑屏且左上角光标一直闪烁 问题分析:这类情况一般都是显卡驱动的问题,我这边应该是没有安装内核推荐的显卡驱动,导致内核版本和显卡驱动不兼容,进而导致无法进入可视化界面。(还有一种情况是,之前一直很正常,可能某天 ......
左上角 光标 Ubuntu 系统

ubuntu虚拟机 挂载共享目录

安装VMware tool sudo apt-get install open-vm-tools 查看是否已经挂载上来 vmware-hgfsclient 如果有共享文件夹的名字,说明共享成功,,下一步就是挂载到目录下就可以了 创建要挂载的文件夹 sudo make dir /mnt/hgfs 设置 ......
目录 ubuntu

gitlab:Restoring PostgreSQL database gitlabhq_production ... ERROR: must be owner of extension pg_trgm

Restoring PostgreSQL database gitlabhq_production ... ERROR: must be owner of extension pg_trgm ERROR: must be owner of extension btree_gist ERROR: mu ......

xshell链接ubuntu

1.安装openssh-server 2.虚拟机ifconfig查看ip 3.查看window的ip ipconfig 4.ubuntu网络设置 5.vmware-编辑-虚拟网络编辑器 6.xshell连接即可 ......
链接 xshell ubuntu

PA0:安装ubuntu物理机+其他操作

参考以下网页: 1) 制作启动U盘:使用Rufus制作Ubuntu启动盘 - 知乎 (zhihu.com) 使用官网下载的ubuntu22.04.3 iso 2) 在主机上安装ubuntu :windows11安装ubuntu22.04双系统教程(亲测) - 知乎 (zhihu.com) 我在已经安 ......
物理 ubuntu PA0 PA

PostgreSQL安装

下载安装 yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm yum install -y postgresql12- ......
PostgreSQL

在 macOS 通过 SSH 访问 Windows 的 WSL2 Ubuntu

配置 Windows 和 WSL2,使得能通过其他电脑远程 SSH 到 WSL2 Ubuntu。 一、Win10 安装 WSL2 Ubuntu 注意,是安装 WSL2,方法参考这个 WSL2 配置 C++ 开发环境 enable-virtual-machine-feature 步骤描述: 以管理员身 ......
Windows Ubuntu macOS WSL2 SSH

PostgreSQL数据库,使用自带命令工具备份、还原数据库

零、命令位置 postgres安装路径/bin 一、备份数据库 pg_dump -h 192.168.200.30 -U postgres postgis_sample> D:\postgis_sample.bak 二、还原数据库 psql -h 192.168.200.30 -U postgres ......
数据库 数据 PostgreSQL 备份 命令

WIN11 WSL2 Ubuntu22.04 局域网访问WSL2服务

WIN11 WSL2 Ubuntu22.04 局域网访问WSL2服务 https://blog.csdn.net/u011255605/article/details/131700529 WIN11 下管理员运行 Windows PowerShell执行 netsh interface portpr ......
WSL2 局域网 局域 WSL Ubuntu

Ubuntu搭建邮件服务器

转载:原文链接 前言 关于邮件服务器的工作原理我就不再赘述了。Postfix是优秀的MTA,而Dovecot则是优秀的MDA。前者负责发信、收信,提供smtp服务;后者负责邮件保存到邮箱,提供pop3和imap服务。 这里介绍使用Postfix+Dovecot模式的邮件服务系统,同时Postfix使 ......
邮件 服务器 Ubuntu

Ubuntu22.04安装手册

随着红帽控制的centos社区转型,ubuntu大火,本文以ubuntu最新的LTS版本22.04为基础,给出安装该操作系统和初步配置的步骤,让ubuntu开箱可用。 ......
手册 Ubuntu 22.04 22 04

ubuntu20.04 22.04 安装ROS2(ros-humble-desktop)主要遇到的问题

1. 20.04安装到一半安装不下去 最后一步安装的时候,显示无法定位到包 不知道什么毛病 2.然后重新装了Ubuntu 22.04.3 LTS的虚拟机按照ROS官方的步骤,主要遇到以下问题: 2.1 下载ROS密钥的被拒绝的问题,解决办法:在/etc/hosts加上github中的IP和域名,随便 ......

ubuntu修改IP地址为静态IP

01-切换到如下目录 02-查看网关信息 route -n 03-编辑.yaml文件 切换到目录/etc/netplan,编辑.yaml结尾的文件 sudo vim /etc/netplan/50-cloud-init.yaml 替换如下内容 # Let NetworkManager manage ......
静态 地址 ubuntu

Ubuntu 22.04.1 LTS 编译安装 mysql5.6

在Ubuntu 22.04下安装mysql5.6,试了很多方法都失败了,最后编译安装成功了。 1、看下有没有其它版本的mysql,有的话就卸载掉 #查询 dpkg -l | grep mysql #如果有则卸载 apt-get remove --purge <mysql程序名称> 2、安装依赖 ap ......
Ubuntu mysql5 mysql LTS 22

TDSQL(PostgreSQL版本) benchmark性能测试

一、准备软件包jdk: 地址:https://pan.baidu.com/s/1sbgLPROfd9e_valSfv0YAQ 提取码:4qpsbenchmark:地址:https://pan.baidu.com/s/1nAHER-BXpgG0LUnR8NbT7Q 提取码:xcbu 二、安装1、jdk ......
PostgreSQL benchmark 性能 版本 TDSQL

ubuntu20.04 设置应用开机启动

参考 https://shurufa.sogou.com/linux/guide sudo cp /usr/share/applications/fcitx.desktop /etc/xdg/autostart/ 仿照上面的方法,将对应的desktop文件拷贝到autostart下即可。 ......
ubuntu 20.04 20 04

ubuntu 开启端口命令相关

1.查看防火墙状态sudo ufw status,也可以看到开放的端口 2.关闭防火墙sudo ufw disable,打开防火墙sudo ufw enable,3.开放端口sudo ufw allow 端口号4.关闭端口sudo ufw deny 端口号5.重启防火墙sudo ufw reload ......
端口 命令 ubuntu

Postgresql添加范例数据库【转载】

Load the sample database using psql tool First, launch the psql tool. >psql Second, enter the account’s information to log in to the PostgreSQL databa ......
范例 Postgresql 数据库 数据

NVIDIA-Driver in Linux Ubuntu

NVIDIA-Driver in Linux Ubuntu Before all DKMS stands for Dynamic Kernel Module Support. It is a framework that allows third-party kernel modules, such ......
NVIDIA-Driver NVIDIA Driver Ubuntu Linux

NVIDIA-Driver in Linux Ubuntu

NVIDIA-Driver in Linux Ubuntu Before all DKMS stands for Dynamic Kernel Module Support. It is a framework that allows third-party kernel modules, such ......
NVIDIA-Driver NVIDIA Driver Ubuntu Linux

[postgresql] trace parsing steps of bison

setup In the section of C declarations within the file src/backend/parser/gram.y, include the following code, #define YYDEBUG 1 int base_yydebug = 1; ......
postgresql parsing bison trace steps

Postgresql数据库设置远程登陆

1. 修改PostgreSQL配置文件 编辑 postgresql.conf 文件,该文件通常位于 /etc/postgresql/<版本号>/main/ 目录下 sudo nano /etc/postgresql/12/main/postgresql.conf 找到 listen_addresse ......
Postgresql 数据库 数据

PostgreSQL从入门到精通 - 第40讲:数据库不完全恢复

PostgreSQL从小白到专家,是从入门逐渐能力提升的一个系列教程,内容包括对PG基础的认知、包括安装使用、包括角色权限、包括维护管理、、等内容,希望对热爱PG、学习PG的同学们有帮助,欢迎持续关注CUUG PG技术大讲堂。 第40讲:数据库不完全恢复 PostgreSQL第40讲:1月6日(周六 ......
PostgreSQL 数据库 数据

ubuntu依赖库迁移至另一台ubuntu电脑中

/usr 文件夹移植 在 ubuntu 系统中,使用命令 apt install 或 apt-get install 安装的依赖库,都会安装到目录 /usr 下,大部分动态库会安装到目录 /usr/lib/x86_64-linux-gnu 下,例如 opencv 、 pcl 等。 可以使用命令 rs ......
ubuntu 电脑

Ubuntu 22.04 部署 ceph quincy 集群和 K8S 1.24.1对接

环境 IP 主机名 172.16.16.77 test1 172.16.16.78 test2 172.16.16.79 test3 ceph版本:quincy 主机系统:ubuntu 22.04 安装集成软件 3台机器上都要执行 vi /etc/hosts # 最后添加 172.16.16.77 ......
集群 Ubuntu quincy 22.04 ceph
共2700篇  :2/90页 首页上一页2下一页尾页