各位大老们,麻烦提供一个OSMind的安装教程
新人看不做不来。
在帮助中是这这么写的
数据库准备
没有安装过postgresql的可以使用下面步骤进行安装,已安装的可以使用已有的数据库
- 将 ITServiceTools_x.x.x.zip 安装包解压。unzip ITServiceTools_x.x.x.zip
- 获取对应架构的postgresql-15.2-xx.rpm包
- 执行rpm -ivh postgresql-15.2-xx.rpm命令
- 使用postgres用户初始化postgresql数据库su - postgressh /opt/postgresql/pg_ctl.sh initdb
- 在 postgresql 中创建用户和数据库。在 postgres 用户下执行:psql****create user 用户名 ;alter user 用户名 with password ’ 密码 ';create database 数据库名称 **;grant all privileges on database 数据库名称 to 用户名 **;\c 数据库名称 **postgres**grant all on schema public to 用户名;
- 修改 /var/lib/pgsql/data/postgresql.conf 配置文件,将 listen_addresses 设置为 *。
listen_addresses = ‘*’
但是。。。。
$ rpm -ivh postgresql-15.2-1.x86_64.rpm
错误:依赖检测失败:
libcrypto.so.1.1()(64bit) 被 postgresql-15.2-1.x86_64 需要
libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) 被 postgresql-15.2-1.x86_64 需要
libssl.so.1.1()(64bit) 被 postgresql-15.2-1.x86_64 需要
libssl.so.1.1(OPENSSL_1_1_0)(64bit) 被 postgresql-15.2-1.x86_64 需要
大哥们!!!你们提供“postgresql”为什么一起提供一下libcrypto、libssl
$ sudo yum install -y libcrypto libssl
Last metadata expiration check: 1:17:50 ago on 2024年07月08日 星期一 14时00分52秒.
No match for argument: libcrypto
No match for argument: libssl
Error: Unable to find a match: libcrypto libssl
大哥能不能出一个新手教程。
刚从Windows转过来,两眼一抹黑。