当前位置: 首页 > wzjs >正文

南宁制作网站公司做外贸女装有哪些网站有哪些

南宁制作网站公司,做外贸女装有哪些网站有哪些,win7 iis 新建网站,网页制作模板左右结构一、简介 PostgreSQL是一种特性非常齐全的自由软件的对象-关系型数据库管理系统(ORDBMS),是以加州大学计算机系开发的POSTGRES,4.2版本为基础的对象关系型数据库管理系统。POSTGRES的许多领先概念只是在比较迟的时候才出现在商业…

一、简介

PostgreSQL是一种特性非常齐全的自由软件的对象-关系型数据库管理系统(ORDBMS),是以加州大学计算机系开发的POSTGRES,4.2版本为基础的对象关系型数据库管理系统。POSTGRES的许多领先概念只是在比较迟的时候才出现在商业网站数据库中。PostgreSQL支持大部分的SQL标准并且提供了很多其他现代特性,如复杂查询、外键、触发器、视图、事务完整性、多版本并发控制等。同样,PostgreSQL也可以用许多方法扩展,例如通过增加新的数据类型、函数、操作符、聚集函数、索引方法、过程语言等。另外,因为许可证的灵活,任何人都可以以任何目的免费使用、修改和分发PostgreSQL。

二、官网

  • 官网地址: https://www.postgresql.org/download/linux/redhat/
  • 安装工具: https://www.pgadmin.org/download/

 三、安装

选择版本: 

PostgreSQL: Linux downloads (Red Hat family)https://www.postgresql.org/download/linux/redhat/

3.1 安装依赖


# 获取所需依赖包
wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/l/libzstd-1.5.2-1.el7.x86_64.rpm
wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/l/llvm5.0-devel-5.0.1-7.el7.x86_64.rpm
wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/l/llvm5.0-5.0.1-7.el7.x86_64.rpm
wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/l/llvm5.0-libs-5.0.1-7.el7.x86_64.rpm
 
yum install -y ./libzstd-1.5.2-1.el7.x86_64.rpm 
yum install -y centos-release-scl-rh llvm5*
yum install -y epel-release

3.2 执行安装


# 安装版本库的RPM
sudo yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm

# 安装 PostgreSQL
sudo yum install -y postgresql15-server postgresql15-devel
报错:找不到源

[root@iZwz946ibli8ikuyqgtc58Z ~]# yum install rh-redis5-redis
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org?arch=x86_64&release=7&repo=sclo-rh error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"


 One of the configured repositories failed (Unknown),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.



     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=<repoid> ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable <repoid>
        or
            subscription-manager repos --disable=<repoid>

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: centos-sclo-rh/x86_64

--解决如下

进入/etc/yum.repos.d目录,删除目录下面所有的软件包,删除命令如下

sudo rm -rf *

sudo curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo

sudo wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo

sudo curl -o /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/repo/epel-7.repo

sudo wget -O /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/repo/epel-7.repo

yum clean all 
yum makecache
yum makecache fast
 

3.3 初始化

# 初始化DB
sudo /usr/pgsql-15/bin/postgresql-15-setup initdb

# 开机启动|启动|重启|状态|停止 命令
sudo systemctl enable postgresql-15
sudo systemctl start postgresql-15
sudo systemctl restart postgresql-15
sudo systemctl status postgresql-15
sudo systemctl stop postgresql-15


3.4 配置环境变量

#编辑
vim /etc/profile

#PGSQL_HOME
export PGSQL_HOME=/usr/pgsql-15
export PATH=$PATH:$PGSQL_HOME/bin

#生效配置
source /etc/profile

3.5 创建数据库

# 切换用户
su postgres

psql
# 执行创建
create database test_db -U postgres ;
# 设置密码(自由发挥):postgres
alter user postgres with password 'postgres';


3.6 配置远程


#编辑
vim /var/lib/pgsql/15/data/postgresql.conf
修改参数:
listen_addresses = '*'

# 编辑配置
vim /var/lib/pgsql/15/data/pg_hba.conf

# 添加内容
host    all             all              0.0.0.0/0              md5

#重启
sudo systemctl restart postgresql-15

3.7测试链接

# 格式
psql -h 主机IP -p 端口  -U 用户名 -W -d 数据库

# 示例
psql -h 127.0.0.1 -p 5432  -U postgres -d test_db;

pgadmin 安装

项目首页 - windows:Windows inside a Docker container. - GitCode


文章转载自:

http://GLEy6P15.twdwy.cn
http://g69QDXOe.twdwy.cn
http://ZS9aFU7Y.twdwy.cn
http://Fd4jNJhs.twdwy.cn
http://ky9Oq2QL.twdwy.cn
http://XfP466DQ.twdwy.cn
http://jpgWh8jM.twdwy.cn
http://Rv89RnXo.twdwy.cn
http://qAWtk7NZ.twdwy.cn
http://7mODm5j6.twdwy.cn
http://WO5RPjQT.twdwy.cn
http://tTbwhTuv.twdwy.cn
http://PQ0Hfr3Y.twdwy.cn
http://jREMtA3C.twdwy.cn
http://oS9qTLyC.twdwy.cn
http://ZUIETsBP.twdwy.cn
http://6UYiVTxX.twdwy.cn
http://PvZwZ206.twdwy.cn
http://vlqdSVuF.twdwy.cn
http://k1GFneZD.twdwy.cn
http://1a48jue3.twdwy.cn
http://FN5qWFrR.twdwy.cn
http://5lZfaqg0.twdwy.cn
http://cUfwWJow.twdwy.cn
http://O9spLegY.twdwy.cn
http://0FWtnT2w.twdwy.cn
http://XNFPDHs8.twdwy.cn
http://mVFoSFO5.twdwy.cn
http://AlwwSwXs.twdwy.cn
http://1aKjfaZR.twdwy.cn
http://www.dtcms.com/wzjs/746720.html

相关文章:

  • 免费的简历制作网站西安网站建设需要多少钱
  • 网站开发费用怎么入账wordpress演示数据包
  • 服装平台网站有哪些曲靖模板网站建设
  • 官方网站的网络营销功能分析网站建设保教
  • 贵州建设监理协会网站用C语言做网站登录界面
  • 阿里云nas做网站医院网站asp
  • 如何给网站做seo开平市网站建设
  • 做网站素材在哪里找平乡企业做网站
  • 建设部网站退休注册人员PHP做网站案例教程
  • 网站制作英文版网站推荐营销型网站建设
  • 免费个人网站杭州室内设计公司有哪些
  • 做游戏网站要通过什么审核举报的网站是国外的域名和空间
  • 网站建设的潜规则网站的图形拖拽验证码怎么做的
  • 5网站建设公司黄岩网站开发
  • steam网站代做wordpress企业网站制作视频教程
  • 安徽省工程建设信息网站代加工接订单网站
  • 海南做公司网站手机网络正常但打不开网页
  • 深圳网站开发建设网站制作多少钱资讯
  • 利趣网站开发商网页游戏平台系统
  • 企业网站的建立要做的准备网页改版
  • 二手车 网站开发肇庆网站上排名
  • 中天建设有限公司官方网站呼叫中心系统软件
  • 怎么提高网站打开速度线上推广渠道主要有哪些
  • 视频推广网站wordpress跨境平台
  • 江门网站建设硬件设备深圳建设工程质量协会网站
  • 网站建设中如何使用字体wordpress新文章类型
  • 一个网站的建设流程有哪些信息流优化师证书
  • 有什么有趣的网站wordpress在线教育
  • 建设企业官网模板网站建设百度优化
  • 大尺度做爰网站苏州网站推广哪家好