操作系统环境 Ubuntu 22.04
NodeJS 18
OpenJDK 17
PostgreSQL 15
Redis 6
sudo apt install nodejs sudo apt install openjdk-17-jdk sudo apt install postgresql-15 sudo apt install redis
参考文档:
NodeJS 安装:https://github.com/nodesource/distributions/blob/master/README.md
PostgreSQL 安装:https://www.postgresql.org/download/linux/ubuntu/
创建用户 gitone 以及数据库 gitone_development :
sudo -u postgres createuser --interactive --password gitone sudo -u postgres createdb gitone_development -O gitone
查询配置文件位置:
sudo -u postgres psql show hba_file;
修改配置:
host gitone_development gitone 127.0.0.1/32 trust
用户 gitone 可以免密通过 127.0.0.1 访问数据库 gitone_development
重启后免密访问数据库:
sudo systemctl restart postgresql.service psql -h 127.0.0.1 -U gitone -d gitone_development
wget "https://dlcdn.apache.org/activemq/activemq-artemis/2.32.0/apache-artemis-2.32.0-bin.tar.gz" export ARTEMIS_HOME=/srv/gitone/artemis mkdir -p ${ARTEMIS_HOME} tar -C ${ARTEMIS_HOME} --strip-components=1 -zxvf apache-artemis-2.32.0-bin.tar.gz ${ARTEMIS_HOME}/bin/artemis create /srv/gitone/broker /srv/gitone/broker/bin/artemis-service start
开发时使用的邮件服务 http://127.0.0.1:1080/
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。